PHP Error Log

Status
Not open for further replies.

hughbellars19

New Member
Messages
4
Reaction score
0
Points
1
Hi,

I am trying to debug a php file on my website, but the php error_log file is not generating so i'm having a hard time doing that! How can I get it back, as I was able to use it barely 2 weeks ago, but it no longer generates.

Thanks
 

AngusThermopyle

Active Member
Messages
319
Reaction score
52
Points
28
You could try adding the line
ini_set("log_errors", 1);

at the top of your script. It seems to turn on error logging on xo2 . After you get everything working, you might think about turning logging off.
 
Status
Not open for further replies.
Top