Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

catalog is blank in admin


kellin

Recommended Posts

Used the search to look for similar problems, didn't find any..

 

My client has a couple different physical servers running OSC on it. One works perfectly fine, the other has this problem where after signing in clicking on the catalog, you get a blank screen. Unfortunately Im working off site and the client hasnt given me the login for the admin pages, but I found a post that hopefully enables error reporting, but Im hoping someone might be able to help me. Anyway, the settings on both sites are appropriately identical, yet one doesnt work. Here's the configuration.php file in the admin directory for the broken one --

 

[edit: Im sure some of these lines are wrong, but Im at a loss...]

 

define('HTTP_SERVER', 'http://www.bgvod.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', 'http://www.bgvod.com');

define('HTTPS_CATALOG_SERVER', '');

define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', '/var/www/html/bgvod.com/httpdocs/catalog/'); // where the pages are located on the server

define('DIR_WS_ADMIN', '/var/www/html/bgvod.com/httpdocs/catalog/admin/'); // absolute path required

define('DIR_FS_ADMIN', '/var/www/html/bgvod.com/httpdocs/catalog/admin/'); // absolute pate required

define('DIR_WS_CATALOG', '/var/www/html/bgvod.com/httpdocs/catalog/'); // absolute path required

define('DIR_FS_CATALOG', '/var/www/html/bgvod.com/httpdocs/catalog/'); // absolute path required

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 our database connection

define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'root');

define('DB_SERVER_PASSWORD', 'bgvodT2341');

define('DB_DATABASE', 'bgvod_com');

define('USE_PCONNECT', 'false'); // use persisstent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

?>

Link to comment
Share on other sites

Right, so below are the correct settings to get the admin pages working again, the above settings were wrong (I didnt learn this until later). I also have proper access to work on the site. The categories.php file is still not loading. Its in the correct place, but Im getting an apparent parsing problem? IE gives me a "DNS error", while mozilla wants me to download the blank php file. A friend of mine who is considerably more well versed in php than I am (I can kinda read it, but good luck debugging), seems to think it could be a problem with where the cache files are being stored for osc on the server. This was moved from another server, so there could easily be some things that are not correctly set up. If someone could be so kind as to assist me, that'd be great.

 

define('HTTP_SERVER', 'http://www.bgvod.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', 'http://www.bgvod.com');

define('HTTPS_CATALOG_SERVER', '');

define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', '/var/www/html/bgvod.com/httpdocs/catalog/'); // where the pages are located on the server

define('DIR_WS_ADMIN', '/admin/'); // absolute path required

define('DIR_FS_ADMIN', '/var/www/html/bgvod.com/httpdocs/catalog/admin/'); // absolute pate required

define('DIR_WS_CATALOG', '/'); // absolute path required

define('DIR_FS_CATALOG', '/var/www/html/bgvod.com/httpdocs/catalog/'); // absolute path required

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 our database connection

define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'root');

define('DB_SERVER_PASSWORD', 'bgvodT2341');

define('DB_DATABASE', 'bgvod_com');

define('USE_PCONNECT', 'false'); // use persisstent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

?>

Link to comment
Share on other sites

there, now that I fixed my embarrassingly stupid error -- and hopefully avoided any serious damage -- can someone help me with this?

 

I'm having exactly the same issue and very interested in learning the solution. Although, this error is only on my desktop, it works fine on my laptop (XP) or on my another laptop which has Vista on it. I have to press F5 several times to get the page loaded.

 

Laszlo

Link to comment
Share on other sites

apparently nobody else can help us with this. Guess I need to find a php coder to debug this.

 

I'm having exactly the same issue and very interested in learning the solution. Although, this error is only on my desktop, it works fine on my laptop (XP) or on my another laptop which has Vista on it. I have to press F5 several times to get the page loaded.

 

Laszlo

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...