Answer the question
In order to leave comments, you need to log in
How to debug a 500 error if there is no root access on the server?
The site is located on a regular hosting (sprinthost). apache, php.
During the transition I get an error 500. How can I see the server logs to determine the reason?
I included the following parameters in .htaccess:
error_reporting E_ALL
php_value display_errors On
php_value display_startup_errors On
php_value error_log /home/username/domains/sitename/logs/error.log
But nothing is written to the error.log file, the problem is not displayed on the screen. What would you do in my place?
Answer the question
In order to leave comments, you need to log in
shared hosting always gives access to the logs, sometimes it is done in the control panel and you need to download them manually, sometimes there is access via ftp and the logs are not in the var log
, they are usually in your home directory in the log folder or something else
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question