Re: Naked Comment does not trigger Error Message



thelma@xxxxxxx wrote:
I tried to post this earlier, and I think I failed; sorry about the
double posting if I'm wrong...


Connect to server and select database all in one step=====
require('Code/metaconnectstring.php'); ||
\/ offending comment

When I use my home php/Apache local network I get the very nice error
message below: [php 4.2.7]

Parse error: parse error in /Users/xxx/Sites/theprogram.php on line 47


But on the network where the thing is supposed to run [php 5.2.?]
the same error produced nothing but a blank screen even though I had
error reporting set to E_ALL and error display on. [I have seen enough
other error messages and 'Notices' there to know that error reporting is on]
Is there yet another parameter that I need to set?

thanks, --thelma



Ensure they are set in the php.ini file or .htaccess, and not in the script itself with ini_set(), etc. Chances are the php.ini file does NOT have these set - which is good for a production system.

What does phpinfo() show?

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

.



Relevant Pages

  • Re: Information about notices
    ... "Eamon Reyn" wrote in message ... > PHP, JavaScript MySQL, Apache, REST and a couple of other technologies. ... > of this info if someone knows some good web links about this sort of stuff ... I keep error reporting set to E_ALL while developing and shut ...
    (alt.php)
  • Re: error reporting
    ... That depends on what you mean by turning off error reporting. ... display_errors to 0 means simply that PHP won't display error message. ...
    (comp.lang.php)
  • Re: Phpnuke module.php vulnerability and php error_reporting issue
    ... This is a known vulnerability for quite some time now. ... there are many Cross site scripting issue on Phpnuke modules ... > and other web application using PHP. ... > This crafted url cause the module.php script to make an PHP error reporting ...
    (Bugtraq)
  • Re: [PHP] Will not report errors what can I do
    ... I have all kinds of error reporting ... and true can usually be used interchangeably in most programming languages ... But it's clearer for the programmer to use true and false ... Application and Templating Framework for PHP ...
    (php.general)
  • Re: createimagefromstring / createimagefromjpeg
    ... doesn't mean you can use createimage(). ... That can take significantly more memory. ... The first thing you should do is enable all error reporting and display errors. ... Is there any way to overcome the inherent 2 GB limit in PHP? ...
    (comp.lang.php)