Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Blank Admin Page


citosoft

Recommended Posts

Posted

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

Posted

You have php5 running. Go to admin/includes/class/upload.php and on line 31 where you see $this change it to //$this

 

Vger

Posted

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...