Actually I'm in the process of re-uploading the source, its because of the php directives in the .htaccess file that causes that, when it finishes uploading I will remove it, and it will be back to the white page. Thank you very much though!
This is a discussion on Blank White Catalog Page After Installing within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; Actually I'm in the process of re-uploading the source, its because of the php directives in the .htaccess file that ...
Actually I'm in the process of re-uploading the source, its because of the php directives in the .htaccess file that causes that, when it finishes uploading I will remove it, and it will be back to the white page. Thank you very much though!
And thirty seconds later it is down again ... but it did work ... here is a screenshot!
Regards,
pgmarshall
_______________________________
Ok, so uploading the source again worked! Thanks guys for the fast responses and stuff, btw, this is the 2nd re-upload I've done...lol. Fun Fun!
Just a bad FTP upload. That should always be the first thing you check, kind of like checking to see if the toaster is plugged in![]()
Michael Sasek
osCMax Developer
osCmax installation service - Have our professionals install osCmax on your server - same day service!
osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0
Stay Up To Date with everything osCMax:
Free osCMax Newsletters - Security notices, New Releases, osCMax News
osCMax on Twitter - Up to the minute info as it happens. Know it first.
osCmax Documentation
Lol. I know, smack in the face, trust me, I uploaded it twice, before this third time. Now, after this third time, I'm getting this, when going to the admin panel....
This webpage has a redirect loop.
http://test.aosmithpromo.com/admin/login.php of course.
That certainly DOES help tracking down a white screen! Trying to enable PHP error logging I found a solution on-line about using .htaccess :
# suppress php errors
php_flag display_startup_errors off
php_flag display_errors off
php_flag html_errors off
# enable PHP error logging
php_flag log_errors on
php_value error_log /home/path/public_html/domain/PHP_errors.log
# prevent access to PHP error log
<Files PHP_errors.log>
Order allow,deny
Deny from all
Satisfy All
</Files>
originally from How to Enable PHP Error Logging via htaccess ? Perishable Press
This allowed me to store PHP error logs in a directory that is only available to root - I didn't put it as he suggested /public_html/domain - as I like things out of the way for security.
However I still did not get anything more than gross error messages and only if I broke admin/index.php (it was fine). So finding your note about allowing that setting, (and //ing the default) popped the error right where I could find it easily. I had a problem where I had edited a file and left an extra "<" in admin/includes/functions/html_ouput.php and this gave me the dreaded white screen.
So the problem can be in either admin or catalog, in either case the above should work to help you find the error and set it right.
Now on to the next problem...
Thanks!
I'm a big fan of checking errors on error logs but I did have a recent issue that was very similar. I re-uploaded all my files again, checked my folder permissions and error log - absolutely nothing but a white screen.
But then I took a crack shot at hiding
$navigation->add_current_page();
located on application_top.php, line 369. I then reloaded my site and everything worked!
Then I took uncommented it, uploaded the file again, and everything still worked!
Crazy times -![]()
Last edited by blackhawk; 06-14-2010 at 02:58 PM.
Hi Guys,
I need URGENT HElP !!!
I am using vs2.5. Have been using on a live site for 3 months.
Then due to perfromanc, moved site to a new vertual server, which has its own issues. One being, that I had to even try a new install due to a blank page.
The admin works fine, just teh catalog is blank.
I have enabled PHP errors, and captured to a file:
[24-Nov-2010 22:51:34] PHP Notice: Constant DIR_WS_CATALOG already defined in /var/www/vhosts/eversale.com/httpdocs/catalog2_1/includes/application_top.php on line 83
[24-Nov-2010 22:51:34] PHP Warning: session_save_path(): SAFE MODE Restriction in effect. The script whose uid is 10001 is not allowed to access owned by uid 0 in /var/www/vhosts/eversale.com/httpdocs/catalog2_1/includes/functions/sessions.php on line 151
[24-Nov-2010 22:51:34] PHP Notice: Use of undefined constant DIR_FS_DOWNLOAD - assumed 'DIR_FS_DOWNLOAD' in /var/www/vhosts/eversale.com/httpdocs/catalog2_1/includes/languages/english/core.php on line 409
[24-Nov-2010 22:51:34] PHP Fatal error: Call to undefined function filter_var() in /var/www/vhosts/eversale.com/httpdocs/catalog2_1/includes/modules/ultimate_seo_urls5/classes/usu.php on line 48
Any ideas ?
su to root and then CHOWN all your files to the correct user. You have files owned by root on the account (user 0) that cannot be accessed by your account user (10001).
Also make sure your session directory is set within your account directory tree.
Michael Sasek
osCMax Developer
osCmax installation service - Have our professionals install osCmax on your server - same day service!
osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0
Stay Up To Date with everything osCMax:
Free osCMax Newsletters - Security notices, New Releases, osCMax News
osCMax on Twitter - Up to the minute info as it happens. Know it first.
osCmax Documentation
ok, i fexed the php.ini to change the session dir.
I got soemone to change the UID on all my httpdocs folder.
so now i do not get those 2 errors, and now i am lost as to what the issues is. see error file below.
1 point. During install, the latest script tries to rename the admin folder. it spews a message saying it does not have enough priveleges to rename the folder. will that cause an issue ? the config file in catalog/includes does have the wrong folder for admin, so i fix it bakc to correct /admin/, but stil no fix.
error file:
[25-Nov-2010 09:02:33] PHP Notice: Use of undefined constant DIR_WS_HTTP_CATALOG - assumed 'DIR_WS_HTTP_CATALOG' in /var/www/vhosts/eversale.com/httpdocs/catalog2_1/includes/application_top.php on line 83
[25-Nov-2010 09:02:33] PHP Notice: Constant DIR_WS_CATALOG already defined in /var/www/vhosts/eversale.com/httpdocs/catalog2_1/includes/application_top.php on line 83
[25-Nov-2010 09:02:33] PHP Notice: Use of undefined constant HTTP_COOKIE_DOMAIN - assumed 'HTTP_COOKIE_DOMAIN' in /var/www/vhosts/eversale.com/httpdocs/catalog2_1/includes/application_top.php on line 129
[25-Nov-2010 09:02:33] PHP Notice: Use of undefined constant HTTP_COOKIE_PATH - assumed 'HTTP_COOKIE_PATH' in /var/www/vhosts/eversale.com/httpdocs/catalog2_1/includes/application_top.php on line 130
[25-Nov-2010 09:02:33] PHP Notice: Use of undefined constant DIR_FS_DOWNLOAD - assumed 'DIR_FS_DOWNLOAD' in /var/www/vhosts/eversale.com/httpdocs/catalog2_1/includes/languages/english/core.php on line 409
[25-Nov-2010 09:02:33] PHP Fatal error: Call to undefined function filter_var() in /var/www/vhosts/eversale.com/httpdocs/catalog2_1/includes/modules/ultimate_seo_urls5/classes/usu.php on line 48
also my config file (without passwords etc):
define('HTTP_SERVER', 'http://www.eversale.com');
define('HTTP_CATALOG_SERVER', 'http://www.eversale.com');
define('HTTPS_CATALOG_SERVER', 'http://www.eversale.com');
define('ENABLE_SSL_CATALOG', 'false');
define('DIR_FS_DOCUMENT_ROOT', '/var/www/vhosts/eversale.com/httpdocs/catalog2_1/');
define('DIR_WS_ADMIN', '/catalog2_1/admin/');
define('DIR_FS_ADMIN', '/var/www/vhosts/eversale.com/httpdocs/catalog2_1/admin/');
define('DIR_WS_CATALOG', '/catalog2_1/');
define('DIR_FS_CATALOG', '/var/www/vhosts/eversale.com/httpdocs/catalog2_1/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');
define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');
define('DIR_FCKEDITOR', DIR_FS_CATALOG . 'FCKeditor/');
define('DIR_WS_FCKEDITOR', DIR_WS_CATALOG . 'FCKeditor/');
// define our database connection
define('DB_SERVER', 'localhost');
define('USE_PCONNECT', 'false');
define('STORE_SESSIONS', 'mysql');
HELP !!!!!!
Bookmarks