3
These were excellent suggestions but they didn't help. I cleared out the cache and templates_c directories but that didn't help. The path specified in mainfile.php is correct as it was generated from a clean install of XOOPS prior to me copying over the database from my old server and (I think - not sure) copying over the files. If I copied over the files I had enough sense to overwrite the mainfile.php with the clean-install version as the paths are correct for the new server. I know this is true because the clean install of XOOPS worked fine - it wasn't until I copied over the database/files that the bottom line of the following portion of mainfile.php stopped working:
if ( !defined("XOOPS_MAINFILE_INCLUDED") ) {
define("XOOPS_MAINFILE_INCLUDED",1);
echo ("mainfile.php-1 ");
// XOOPS Physical Path
// Physical path to your main XOOPS directory WITHOUT trailing slash
// Example: define('XOOPS_ROOT_PATH', '/home/u2/xxxxx/html');
define('XOOPS_ROOT_PATH', '/home/u2/xxxxx/html');
// XOOPS Virtual Path (URL)
// Virtual path to your main XOOPS directory WITHOUT trailing slash
// Example: define('XOOPS_URL', 'http://xxxxx.web.cedant.com');
define('XOOPS_URL', 'http://xxxxx.web.cedant.com');
echo ("mainfile.php-2 ");
define('XOOPS_CHECK_PATH', 0);
die ("2");
// Protect against external scripts execution if safe mode is not enabled
if ( XOOPS_CHECK_PATH && !ini_get('safe_mode') ) {
echo ("mainfile.php-3 ");
die ("3");
I know the problem is in the bottom line because if I take out the die ("2") debugging statement I no longer see the debugging messages. If I leave it in the see debugging messages up to and including the die ("2").
As you can see I even took out the @ in front of the ini_get in the hopes that I would get an error message but all I get is the blank screen.
Does anyone have any suggestions?
Thanks!
SuperGeek