Re: Not displaying erros



Tree*Rat wrote:
Ok I have posted this before and did not get the answer I was looking for so i will explain it again.

Whenever there is a syntax error, or parse error etc in php it does not display the error. ie

Warning: main(./includes/file.php):failed to open stream ....... blah blah blah

I dont get these errors at all ( even though they are there! ) all i get is either nothing or a server 500 error. What the problem? .ini issue?

please help

ta


Ensure the php.ini file in your development system has:

display_errors=on
error_reporting=E_ALL

(and ensure you are editing the correct php.ini file).


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================

.



Relevant Pages

  • Re: exec() has a syntax error, need an index.php page, cURL script
    ... No. once you exec to the servers OS, waht you send will depend on the ... the php is 'talking' to the browser at the client end. ... A missing file will not create a parse error. ... Fix your syntax error. ...
    (comp.lang.php)
  • Light at the end of the tunnel - and its NOT a train !
    ... I want to use, as someone here phrased it, "some canned PHP ... support on this server. ... Parse error: syntax error, unexpected T_STRING in ...
    (comp.lang.php)
  • Re: php error
    ... Parse error: syntax error, unexpected T_VARIABLE in ... // I am using apache webserver 2.0 and php version 4.0 thankyou very ...
    (comp.lang.php)
  • Re: Manipulating an object returned from function
    ... In PHP5, this correctly echos '6'. ... Parse error: syntax error, unexpected T_OBJECT_OPERATOR, expecting ',' ... PHP 4 doesn't support this syntax. ...
    (comp.lang.php)
  • Re: Not displaying erros
    ... Whenever there is a syntax error, or parse error etc in php it does not display the error. ...
    (comp.lang.php)