Subject: Frequently Asked: Empty white page
In case you should see nothing but an empty white page in your browser, this has most probably the cause that there was a fatal PHP error which caused the UNB script to terminate with no further output. (And since UNB 1.6, output is generated at a late stage only.) It is generally advisable for public, productive web servers to not display error messages since they can contain sensitive information that was not meant to be made public. So the user won't see the actual problem cause in the first place. But there's a log file for these cases: The web server error log. It is generated by the web server and should be located near the access log files. It contains any error that occured, caused by HTTP requests (like files not found) or application errors like those from PHP scripts. You should take a look at these files to find out important details about the actual error cause.
Should you have no access to these files due to restrictions of your administrator or web hoster, you can try to enable the display of error messages inside the web page. To do so, edit the file "forum.php" in the main UNB directory, find the first line with "$DEBUG" and change "-showerrors" to "+showerrors". If you can reproduce the error, you should now see the PHP error message right inside the otherwise still empty web page. Remember to switch that setting back for security reasons after solving the problem.
Should you have no access to these files due to restrictions of your administrator or web hoster, you can try to enable the display of error messages inside the web page. To do so, edit the file "forum.php" in the main UNB directory, find the first line with "$DEBUG" and change "-showerrors" to "+showerrors". If you can reproduce the error, you should now see the PHP error message right inside the otherwise still empty web page. Remember to switch that setting back for security reasons after solving the problem.
♪ ...nanananah, all in all we’re just brilliant thieves, nanananah... ♪♬

Yves
Show profile
Link to this post