>
>How can I debug a blank PHP page? I've turned on all logging in my
>php.ini, bu the page just turns blank.
Your question doesn't make sense. Are you saying "my PHP page sends
nothing to the browser?" Is there anything in the web server error log?
What happens if you run the script from a command line?
--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.
Message-ID: <IOqdnX4qrKs6UP HbnZ2dnUVZ_ufin Z2d@comcast.com from Jerry
Stuckle contained the following:
>How can I debug a blank PHP page? I've turned on all logging in my
>php.ini, bu the page just turns blank.
>>
>Thanks,
>>
>--TJ
>>
>
>Do you have display_errors set to on, also? If so, and you have errors,
>you should see them in your browser.
>
>Did you try looking at the page source to see what you have?
Assuming all the above, you are just left with the Mk 1 brain. Look for
sections where the script outputs code. Add some outputs to ensure the
script is at least doing something.
Most of the times when you get absolutely nothing, it's something really
simple IME.
--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
On Jun 10, 9:04 pm, "techjoh...@gma il.com" <techjoh...@gma il.com>
wrote:
How can I debug a blank PHP page? I've turned on all logging in my
php.ini, bu the page just turns blank.
>
Thanks,
>
--TJ
Well if it is blank, the first bug is the script is probably working
but not outputting anything that the browser can display.
Have you tried to do "View source" to see if there is anything at all?
Plug in some dummy text to put put, and see if it shows up as
expected, if not, go earlier into your code and try again. If not,
maybe you have a error in your web/php installation. Or maybe you
are calling up the wrong page entirely!
Comment