Note:

This site is no longer used and is in read-only mode. Instead please go to our new Moodle Developer Resource site.

Talk:PHP error logs: Difference between revisions

From MoodleDocs
Created page with "First bullet point says to add a line to config.php and then "then reload the web page". What web page? It does not talk about a web page before this point? (Maybe I am being..."
 
No edit summary
Line 1: Line 1:
First bullet point says to add a line to config.php and then "then reload the web page".  What web page?  It does not talk about a web page before this point?  (Maybe I am being really stupid here, but this is not clear.)
First bullet point says to add a line to config.php and then "then reload the web page".  What web page?  It does not talk about a web page before this point?  (Maybe I am being really stupid here, but this is not clear.)
Apparently you can attempt to access *any* web page generated by php, is that right?
It might be worth mentioning the PHP ships with all error reporting off, and that the philosophy behind PHP is that in production you simply don't report errors that occur.  This strikes me as really strange (if you are running in production it seems like you would want any and all error very precisely reported .. but I am new to PHP programming.)

Revision as of 15:41, 6 August 2011

First bullet point says to add a line to config.php and then "then reload the web page". What web page? It does not talk about a web page before this point? (Maybe I am being really stupid here, but this is not clear.)

Apparently you can attempt to access *any* web page generated by php, is that right?

It might be worth mentioning the PHP ships with all error reporting off, and that the philosophy behind PHP is that in production you simply don't report errors that occur. This strikes me as really strange (if you are running in production it seems like you would want any and all error very precisely reported .. but I am new to PHP programming.)