pjwag26
By:
pjwag26

Wordpress Admin page gives 500 error

March 29, 2017 133 views
WordPress Ubuntu 16.04

I set up a wordpress droplet and migrated an existing wordpress e-commerce site to it.

Currently accessing the site with IP address until I am ready to migrate my domain to it.

I created a self-signed SSL certificate to access the portions of the site that force SSL (admin page, checkout, my account etc.)

Got everything working properly except for the admin page. The other HTTPS pages load fine and I can even log into my admin account on the my account page within Wordpress, but when I click a link to the admin dashboard or navigate to /wp-admin/ it causes a 500 error.

I have changed all the settings in wordpress and wp-config to point to the IP rather than the domain and have checked permissions of the wp-admin folder as well as directory settings of the virtual hosts, everything appears to be fine.

Any suggestions?

1 Answer

Can you visit the wp-admin page and then go and run this command and post the error log here, since 500 means something internally went wrong in Apache, but the error log contains the details.
You can replace your domain with domain.com if you feel like it - and IP address with 1.2.3.4

tail -50 /var/log/apache/error.log

In case you're using Nginx instead of Apache, run this:

tail -50 /var/log/nginx/error.log
  • Thanks a lot for your suggestion. I don't know why I didn't think to check the error log myself, I foolishly kind of just assumed there was an issue with the SSL for some reason.

    Turns out there was an incomplete PHP file in one of the plugins installed that must've had it's transfer interrupted during the migration. I grabbed the full version off the current site and re-uploaded it and it resolved the issue.

Have another answer? Share your knowledge.