Jump to content

PHP Returns white page with no error


tedbalog

Recommended Posts

Confirm that you have confirmUserID function somewhere in one of your pages and that it is inclued.

 

It is, and taken care of - just a mix up of order.

 

I guess I'm going back to square one on this one. I'm just going to build a script outside of the page and see if I have the same symptoms.. Thanks for the input everyone.

Link to comment
Share on other sites

The whole white page thing makes no sense.  Make sure that you have error_reporting turned on and error_display turned on for all of your pages and then act to fix the error messages that get displayed.  Without knowing what the errors are, neither you nor we could ever guess what the problem is. If error_reporting is on and error_display is on and you still get a 'white page', it's because the script executed perfectly (according to any conditional logic you had) and there were no lines that generated output ... unless you're using the same colour for text as the background.

 

A page that craps out then works when you force a refresh is symptomatic of a whole different family of problems.

Link to comment
Share on other sites

If the generated html works in browser x then it'll work in any browser. It may not necessarily perform the way you expect but I can't believe browser x works and browser y produces a white page.

 

The concept of "doesn't work" is too vague to suggest any fixes.

 

If it works without your login script and produces a 'white page' with your login script then your login script is the problem.  And until you turn on error display and error reporting, you're never going to solve the problem.

Link to comment
Share on other sites

If the generated html works in browser x then it'll work in any browser. It may not necessarily perform the way you expect but I can't believe browser x works and browser y produces a white page.

 

The concept of "doesn't work" is too vague to suggest any fixes.

 

If it works without your login script and produces a 'white page' with your login script then your login script is the problem.  And until you turn on error display and error reporting, you're never going to solve the problem.

 

I DID turn error reporting on and believe the issue is my local computer. It works in IE7 and FF3. I tried another computer with IE6 and didn't recieve it but only once.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.