PHP Settings Not Working (Again)

Status
Not open for further replies.

semx10h2

New Member
Messages
3
Reaction score
0
Points
1
allow_url_fopen On
display_errors Off
error_reporting ~E_ALL
file_uploads On
include_path .:/opt/alt/php55/usr/share/pear:/opt/alt/php55/usr/share/php
log_errors On
mail.force_extra_parameters no value
open_basedir no value
session.save_path /tmp
short_open_tag On

So, error reporting is set to report ALL errors, and logging is on. But NO errors are being logged. If I change it to just display errors, it doesn't work. Change PHP version (5.5 to 5.4) it doesn't work. Reset everything, and then change it back to the above, doesn't work.

Had a problem with this a bit ago and doing the above corrected it. Now nothing. And I know there are errors on one page I'm working on (blank white page shows). But I cannot fix it.
 

Dead-i

x10Hosting Support Ninja
Community Support
Messages
6,084
Reaction score
368
Points
83
Hi,

Please could I have a link to the page that should be returning an error?

Thank you,
 

Dead-i

x10Hosting Support Ninja
Community Support
Messages
6,084
Reaction score
368
Points
83
Hi semx10h2,

In your PHP configuration, you had error_reporting set to "~E_ALL" rather than "E_ALL". I changed the setting for you, and I can now see errors in your error_log file. ;)

Thank you,
 

semx10h2

New Member
Messages
3
Reaction score
0
Points
1
I thought it'd always been set to "~E_ALL", ah well, learned something new. Thanks.
 

essellar

Community Advocate
Community Support
Messages
3,295
Reaction score
227
Points
63
~E_ALL turns off everything (the tilde means bitwise NOT); you want E_ALL without the tilde.
 
Status
Not open for further replies.
Top