For some reason I can not find error logging for working, I'm getting a white screen of death and I Hopefully an error will be able to put some light on the log position!
My index.php is
error_reporting (E_ALL);
I have also ensured that there are proper permissions in the system / log directory,
if the page fails to load, error is also found. ? If this does not have a huge amount of code for me, I have to search through syntax errors, how php errors can be removed but no help will be available!
In addition, it is my configuration
`| ---------------------------------------------------- ------------------------ | Error logging threshold -------------------------------------------------- ------------------------ | | If you have enabled error logging, you can set an error threshold. Determine whether the logs are the limit options are: | You can enable error logging by setting thresholds at zero. The | Threshold determines what happens. The limit options are: | | 0 = Disables logging, error logging is OFF. 1 = error message (including PHP errors). 2 = debug message | 3 = Informational message. 4 = All messages. | For a live site you will usually only be able to log in error (1). Your log files will be filled very fast. * / $ Config ['log_threshold'] = 1; / * | ----------------------------------------------- --- ------------------------ | Error logging directory path | --------------------------------------------- ----- ------------------------ | | Unless you want to set any other than the default, leave it using the full server path with the system / log / folder trailing slash. | * / $ Config ['log_path'] = ''; `
The one in my system / log is an index.html which has a 403 error in it.
If the page parsing fails to load due to an error, it will never execute
error_reporting (E_ALL); So that you never know the script to output the error. Edit your php.ini file to make sure that you have:
error_reporting = E_ALL error _log = "/ path / to / some / apache / writable / file"
Comments
Post a Comment