Jump to content

Tracking


TheUnknown

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.