Jump to content

error reporting


rarebit

Recommended Posts

Hi,

I uploaded some content to my host yesterday and discovered many little errors / warnings. This was strange because I use:

error_reporting(E_ALL);

so I did some reading on php.net and ended up doing the following to php.ini:

display_errors = On

display_startup_errors = On

 

Whilst doing something to day I discovered that my captcha image wasn't displaying, so from a terminal I ran the file through the php interpreter. It threw out loads of include errors, yet these files haven't changed for quite a while. Knowing i'd made those changes yesterday I went back and changed this one back:

display_startup_errors = Off

 

Now it works fine in the browser, but still throws the errors from the command line (not restarted machine though?). However running other files through the interpreter I get no errors. The only difference I can see is that these go up '../'?

 

Do you know why?

 

Link to comment
https://forums.phpfreaks.com/topic/108099-error-reporting/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.