Menu

#166 suggestion for seeing errors in the tutorials

closed-fixed
5
2009-02-04
2009-01-12
No

more things i notice as i go through the tutorials at: http://www.simpletest.org/en/gain_control_tutorial.html

i think it would be handy to mention at the beginning of the tutorial that one can add two lines in the script that can be toggled on and off and will help a newby find their way whilst following the guide:

for when things just seem to be going all wrong:
----
<?php
ini_set('display_errors', 1);
error_reporting(E_ALL);
----

//when things are back to normal
----
//ini_set('display_errors', 1);
//error_reporting(E_ALL);
----

I know that tip is not really the responsibility of the Simpletest to give out.
But i found usage of the error reporting settings invaluable whilst going through the tutorial.

Discussion

  • Perrick Penet

    Perrick Penet - 2009-02-04
    • assigned_to: nobody --> pp11
    • status: open --> closed-fixed
     
  • Perrick Penet

    Perrick Penet - 2009-02-04

    Fixed as well. Yours, Perrick

     

Log in to post a comment.