Jump to content

Recommended Posts

Anyone have any suggestions on tracking down what is causing one of my pages not to display anything but a white page

 

Whats the best way to track down whats causing a nasty white page?

 

the page will act like it wants to load and it will sometimes, but most of the time a white page is displayed...

 

Link to comment
https://forums.phpfreaks.com/topic/84686-tracking/
Share on other sites

When the data that is submitted to a page changes with different browsers, it is due to the HTML markup being invalid, where one browser rendered the page ignoring the html errors, and the data got submitted, and the other bowser failed to render the page because of the html errors, and no data got submitted.

 

Your php code also needs to validate every piece of data it receives to make sure it contains something, and output a meaningful validation error message like - "no data submitted for ...." and then stop execution rather than blindly continuing to attempt to operate on empty data. Doing so would have prevented the code from even executing a foreach() loop that did not contain an array.

Link to comment
https://forums.phpfreaks.com/topic/84686-tracking/#findComment-431942
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.