citosoft Posted December 6, 2004 Posted December 6, 2004 I just installed osCommerce 2.2 Milestone 2 in a W2K PC with apache2triad1.4.0. The Cart is working fine, but the Admin page is completely blank (even the source is empty). It looks like its loading something, but then its blank. I already searched the forum, but I couldnt find a solution to this (even it seems to happen to others too). This is my configure.php: define('HTTP_SERVER', 'http://citonet.de'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'citonet.de'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', ''); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); 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_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', 'C:/apache2triad/htdocs/citonet.de/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', '192.168.201.9'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'xxx'); define('DB_SERVER_PASSWORD', 'yyy'); define('DB_DATABASE', 'zzz'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> What is wrong? Chris
♥Vger Posted December 6, 2004 Posted December 6, 2004 You have php5 running. Go to admin/includes/class/upload.php and on line 31 where you see $this change it to //$this Vger
rabbisteve Posted December 13, 2004 Posted December 13, 2004 hi, I have the same problem that the admin pages are blank. Before I installed Oscommerce I had downgraded from from php5 to php4 . I had done this because the localized version of phpnuke did not work with 5. I am useing Linux and apache2 I have commented the line as advised above. However, it did not help me. I even restarted apache. I changed line 31 in /home/steve/www/catalog/admin/includes/classes/upload.php to: // $this = null; I am really psyched to get Oscommerce running. Enjoy, Steve
♥Vger Posted December 13, 2004 Posted December 13, 2004 I think you'll find it's an Apache 2 issue. You'll need to go and trawl through the progress reports section here http://www.oscommerce.com/community/reports There was something mentioned about 'experimental support for Apache 2' but I can't track it down again - and that may be outdated. Vger
♥Vger Posted December 13, 2004 Posted December 13, 2004 Sorry, that link is way out of date - April 3rd 2002. Vger
Recommended Posts
Archived
This topic is now archived and is closed to further replies.