1
A learning Xoopster here...
We were investigating a blank screen problem. Sometimes the site would show fine, other times it would be "blank." Our host's servers "failed over" and the location of our XOOPS root was inherently different on the two (or more) servers they use. As a result of the different machines handling our XOOPS site, the load balanced environment caused blank screens for our site.
My question:
In mainfile.php an absolute path is set for XOOPS_ROOT_PATH. Would it be possible to use the PHP function getcwd() (
http://us3.php.net/getcwd ) instead?
Alternatives to the getcwd() could combine $_SERVER['SCRIPT_NAME'] with $_SERVER['SCRIPT_FILENAME'] or a combination of both.
Just curious, and may give it a try to see what happens. has anyone tried it with success?
Thanks for any help!
C