I have an old website running well on APACHE. I migrated it to NGINX on ubuntu 16.04, by transferring files and database. However I am getting http Error 500. Website : fbclixs.com
Please tell me if I am missing something.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!
I normally troubleshoot 500 errors by: checking .htaccess file, then checking RAM allocation on server, deactivating all plugins then turning them on 1 by 1, and then as a last resort I wipe and do a vanilla install of Wordpress to see if a basic setup works. Normally it’s .htaccess or RAM allocation, though.
Thanks for the reply…I looked into the above file but didn’t find any error logs related to this website(fbclixs.com)…However, there are some error logs for other unrelated website(talkingsparrow.com) :
2017/02/23 11:12:53 [error] 31220#31220: *57434 FastCGI sent in stderr: "PHP message: PHP Notice: Use of undefined constant CURLOPT_RETURNTRANSFER - assumed ‘CURLOPT_RETURNTRANSFER’ in /var/www/talkingsparrow.com/html/wp-content/plugins/hueman-addons/assets/front/js/sharrre.php on line 38
Why this website is not logging any error, I couldn’t figure out.
Unless you changed the location, then have a look in /var/log/nginx/error.log which will give you way more information on the problem. Just post the latest lines here if you don’t know what to do.