Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin configure troubles - No Return Page


noopi2

Recommended Posts

Sorry for the long post to follow and thanks for the bandwidth and the (seemingly - at this point) excellent product.

Stats: WinXPPro, IIS 5, MySQL, PHP4 - all purring

I am having difficulty entering the Admin console with the error "no return page" coming up. Have exhausted my options from my limited computer skill set (and hitting the forum threads) and I therefore have included the admin configure.php file with the hope that someone can assist:

 

define('HTTP_SERVER', 'http://localhost/'); // eg, http://localhost - should not be NULL for productive servers

define('HTTPS_SERVER', 'https://localhost/'); // eg, https://localhost - should not be NULL for productive servers

define('HTTP_CATALOG_SERVER', 'http://localhost/');

define('HTTPS_CATALOG_SERVER', 'https://localhost/');

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

define('DIR_FS_DOCUMENT_ROOT', 'Inetpub/wwwroot/'); // where the pages are located on the server

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

define('DIR_FS_ADMIN', 'Inetpub/wwwroot/catalog/admin/'); // absolute pate required

define('DIR_WS_CATALOG', 'Inetpub/wwwroot/catalog/'); // absolute path required

define('DIR_FS_CATALOG', 'Inetpub/wwwroot/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 NULL for productive servers

define('DB_SERVER_USERNAME', '');

define('DB_SERVER_PASSWORD', '');

define('DB_DATABASE', 'catalog');

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

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

 

I have tried minimising and maximising the paths (the middle ground is above) but have found that the minimum has worked best for me as with my catalogue config file (below):

 

define('HTTP_SERVER', 'http://localhost/'); // eg, http://localhost - should not be NULL for productive servers

define('HTTPS_SERVER', 'https://localhost/'); // eg, https://localhost -

define('ENABLE_SSL', 'true'); // secure webserver for checkout procedure?

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

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/'); // If "URL fopen wrappers" are enabled in PHP (which they are in the default configuration), this can be a URL instead of a local pathname

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', DIR_WS_CATALOG . 'pub/');

define('DIR_FS_DOCUMENT_ROOT', 'wwwroot/');

define('DIR_FS_CATALOG', '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', 'localhost'); // eg, localhost - should not be NULL for productive servers

define('DB_SERVER_USERNAME', '');

define('DB_SERVER_PASSWORD', '');

define('DB_DATABASE', 'catalog');

define('USE_PCONNECT', 'true'); // use persistent connections?

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

 

I am also having difficulty (the dreadded pink bar) in my catalog saying "Warning: The downloadable products directory does not exist: catalog/download/. Downloadable products will not work until this directory is valid." However, I am hoping to extrapolate from a "fixed" admin config file to work out my catalogue problems (at least these ones ;-)

 

TIA in advance for the assistance.

 

Grant

:shock: (Almost; just requires large bags under its eyes)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...