Re: Blank page of hell..what to look for

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Terion Miller wrote:
> Is there a certain thing that should be suspected and looked at first when
> getting the php blank page of hell....
> I have errors on and nothing is being output anywhere to lead me in the
> right direction, I have a VariableReveal script (one of you provide and
> THANK YOU IT HAS BEEN A LIFESAVER) But it is doing nothing today, yesterday
> the page worked today I get the blank page with not a clue in sight....
> ARGH...
> Terion
> 

More then likely it is a parse error within the page.  And no matter what error reporting you have turned on "within" the script will effect the outcome.

You have two choices.  Turn on error reporting from apache using the httpd.conf file, in your php.ini file, or with a .htaccess file.

This is the only way to get around parse errors without having error reporting turned on globally.

The other way is to cut/paste your code into sections.

Cut out a large chunk of it, see if it works, if it does, paste it back in and remove a smaller chunk,  rinse/repeat until your find the error of your
ways... :)

Better yet, use a IDE the does code highlighting.  This would point you to the problem rather quickly.

-- 
Jim Lucas

   "Some men are born to greatness, some achieve greatness,
       and some have greatness thrust upon them."

Twelfth Night, Act II, Scene V
    by William Shakespeare

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux