By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,462 Members | 799 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,462 IT Pros & Developers. It's quick & easy.

Parse Errors, On Screen Messages

P: n/a
I am having problems getting my browser to show the parse errors that
I have. They worked before I swtiched global variabls to off (to
maintain some security), and now I can not get anything but a white
screen when my script is defunct.
-If it helps, I am on WinXP (Home Ed), Apache 2.0.47, PHP 4.3.4-

Please advise soon!
Phry
Jul 17 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
no*****@norwaymi.com (Phrylock) wrote:
I am having problems getting my browser to show the parse errors that
I have. They worked before I swtiched global variabls to off (to
maintain some security), and now I can not get anything but a white
screen when my script is defunct.
-If it helps, I am on WinXP (Home Ed), Apache 2.0.47, PHP 4.3.4-


Check the manual on error handling:
http://uk.php.net/manual/en/ref.errorfunc.php

JOn
Jul 17 '05 #2

P: n/a
rewrite your script, because you set global to off, the script wont work. At
least it mean the script PHP wasn't well-written, so for your website
security and performance, rewrite your script.

Savut

"Jon Kraft" <jo*@jonux.co.uk> wrote in message
news:Xn*************************@130.133.1.4...
no*****@norwaymi.com (Phrylock) wrote:
I am having problems getting my browser to show the parse errors that
I have. They worked before I swtiched global variabls to off (to
maintain some security), and now I can not get anything but a white
screen when my script is defunct.
-If it helps, I am on WinXP (Home Ed), Apache 2.0.47, PHP 4.3.4-


Check the manual on error handling:
http://uk.php.net/manual/en/ref.errorfunc.php

JOn

Jul 17 '05 #3

P: n/a
Try setting this at the top of your script:
error_reporting (E_ALL);
this should report all errors, warnings and notices. If something with
your globals doesn't work anymore, just try to initialize an error, like
using a non-existing function:
nonexistingfunction($a);

If you still don't get an error message....?

DrTebi
On Mon, 01 Dec 2003 14:38:31 -0500, Savut wrote:
rewrite your script, because you set global to off, the script wont work. At
least it mean the script PHP wasn't well-written, so for your website
security and performance, rewrite your script.

Savut

"Jon Kraft" <jo*@jonux.co.uk> wrote in message
news:Xn*************************@130.133.1.4...
no*****@norwaymi.com (Phrylock) wrote:
> I am having problems getting my browser to show the parse errors that
> I have. They worked before I swtiched global variabls to off (to
> maintain some security), and now I can not get anything but a white
> screen when my script is defunct.
> -If it helps, I am on WinXP (Home Ed), Apache 2.0.47, PHP 4.3.4-


Check the manual on error handling:
http://uk.php.net/manual/en/ref.errorfunc.php

JOn


Jul 17 '05 #4

P: n/a
on php.ini file, change display_errors to On

Savut

"Jon Kraft" <jo*@jonux.co.uk> wrote in message
news:Xn*************************@130.133.1.4...
no*****@norwaymi.com (Phrylock) wrote:
I am having problems getting my browser to show the parse errors that
I have. They worked before I swtiched global variabls to off (to
maintain some security), and now I can not get anything but a white
screen when my script is defunct.
-If it helps, I am on WinXP (Home Ed), Apache 2.0.47, PHP 4.3.4-


Check the manual on error handling:
http://uk.php.net/manual/en/ref.errorfunc.php

JOn

Jul 17 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.