Jump to content


Photo

No errors with php?


  • Please log in to reply
5 replies to this topic

#1 paulrichards19

paulrichards19
  • Members
  • Pip
  • Newbie
  • 7 posts

Posted 05 September 2006 - 10:56 PM

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
--------------
Jabroo.com 17K+ free fonts

#2 onlyican

onlyican
  • Members
  • PipPipPip
  • Advanced Member
  • 921 posts
  • LocationHants - UK

Posted 05 September 2006 - 11:05 PM

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
Tell me the problem, I will try tell you the solution

#3 paulrichards19

paulrichards19
  • Members
  • Pip
  • Newbie
  • 7 posts

Posted 06 September 2006 - 07:54 AM

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!
--------------
Jabroo.com 17K+ free fonts

#4 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 06 September 2006 - 10:08 AM

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.

#5 paulrichards19

paulrichards19
  • Members
  • Pip
  • Newbie
  • 7 posts

Posted 06 September 2006 - 04:51 PM

ok, i'll try that there is a button on plesk to restart the server, i'll give that a go.
--------------
Jabroo.com 17K+ free fonts

#6 paulrichards19

paulrichards19
  • Members
  • Pip
  • Newbie
  • 7 posts

Posted 07 September 2006 - 09:28 AM

i restarted the server and appears to make no difference!
--------------
Jabroo.com 17K+ free fonts




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users