Jump to content

Archived

This topic is now archived and is closed to further replies.

paulrichards19

No errors with php?

Recommended Posts

hi,
I'm using plesk, and it appear i'm getting the blank screen when php throws a error. This obvously seems to be a problem out there but unable to solve, starting to think its something werid with plesk.

i set up my php.ini file with

display_errors = on
display_startup_errors = on
error_reporting(E_ALL);

but still appears not to work?

Anyone got any ideas? thanks

----------
Jabroo.com

Share this post


Link to post
Share on other sites
is there @ anywhere on the code
The @ sign hides the error

require("ApageThatAintThere.php");

Throws an error
@require("ApageThatAintThere.php");
Loads a blank screen

Also check for exits, die ect

Share this post


Link to post
Share on other sites
I dont think so, i'm actually moving this web site from one server to another, which it works on there.

I'm only doing it with something simple, i just did something to create a simple error i did.

<?php
echo 'hello world';'
?>

Should throw a error, but blank!

Share this post


Link to post
Share on other sites
When you changed the php.ini you did restart the server. It is important that you restart the server if you have changed any configuration files.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.