Log in

View Full Version : i got 2 questions



Demonicman
10-05-2007, 06:15 PM
why is php not giving errors anymore? it just shows up as a blank screen... is this normal?

boogyman
10-05-2007, 07:17 PM
an error will be reported... it just may not display on your screen. I would talk to your host and ask them if they have changed the settings, but the interpreter will always log errors and warnings.

Demonicman
10-05-2007, 07:26 PM
like if i spelled something wrong and put <?php mysql_connect(select frm hello) or die ("Cant connect"); ?>

it wont even put the die... it just shows a white blank screen

djr33
10-05-2007, 09:28 PM
You may change the error reporting in your php.ini settings, or in the script with error_reporting(E_ALL); at the top of your script(s).
You may also occasionally get no output if an error is wrong enough, in that it may completely confuse the script to where it doesn't reach outputting an error.

Twey
10-05-2007, 09:34 PM
The errors may be logged in a log file.

Demonicman
10-05-2007, 10:13 PM
ok thanks :D