I have a magento 1.9 website that I took a backup of the database and all files and uploaded them to a new server. However now when I go to the website it gives me a 500 error.
I reset all the file/folder permissions and also the directory ownership is the same as it is on the origional production website Var/Log is writing no log files. So where else can I look to find the error?
-
Where would I find the apache server logs I looked in /var/log/apache2 and that directory is empty ?Jayreis– Jayreis2017年09月01日 13:59:49 +00:00Commented Sep 1, 2017 at 13:59
-
Apache error log path is may be different by server provider, So you can check with server support for that.Bhavin iFlair– Bhavin iFlair2017年09月01日 14:18:00 +00:00Commented Sep 1, 2017 at 14:18
-
have you checked if you have any file under var/report?sissy– sissy2017年09月01日 15:54:02 +00:00Commented Sep 1, 2017 at 15:54
2 Answers 2
500 server error only you can see inside your server's Apache or Nginx error log not from the magento var/log.
This can be caused by the permissions setting on the index.php file. The restore sets it to 666 and Cpanel considers that a security risk. Change the setting to 644.