• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Reason for white/empty/blank screen when loading a php page ?

Smolek

Diamond Member
I am trying to install a php script and when I try to pull it up via the web all I get is a blank/empty/white screen. I know this is vague, but I was wondering if there is there a common reason why this happens ?
 
Unfortunately your question is just too vague Smolek. The php script could not be outputting anything... it it weren't executing property, it would have errors. Is your webserver equipped for PHP?
 
Yes, php is enabled

Is there some type of code I could add somewhere to have it create an error report ?
 
Originally posted by: Smolek
Yes, php is enabled

Is there some type of code I could add somewhere to have it create an error report ?

Not in a simple way IRC.


Save this as test.php and see what you get.
 
The test file works fine

Maybe somethings wrong with the installer?

I'll try and do it manually. I've attached the code below, from what I gather this is what the installer tries to accomplish

1) Save host path, user, pass, db to conf.php
2) create [sitename] config in /inc/siteconf/ with 777 CHMOD
3) Fill DB with dump.sql

Iis this all it's asking to be done
 
your code will only work on two conditions:
1. if no $action is set:
if (! isset ($action)) - on top

2. if $action is set, and the value is "install"
if (isset ($action) && $action == "install")

It doesn't say anything about $action being defined with value != "install" ..

For it to spit output for any $action (defined or not), put an else statement.
So, the next time you open the url, it will at least echo something.

Although i figure it would at least display the input form if you just access it without any action ...

But hmmm... on a second thought, where will you get $action from?
Are you trying to get it from user's POST value (ie: when the user click on the submit button?)
In that case, you'd check for $_POST['action'] instead of $action, unless your server is set to treat $_REQUEST variables as regular variable (i don't remember the term for it, but i know it's not recommended)
 
open up the php.ini file and change the ERROR_REPORT to = E_ALL. This should throw some more errors and possibly help you see what the problem is. P.S. - restart your webserver after the changes are made

-firus
 
Back
Top