Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

osc administration working, but catalog site goes to fresh installation always


vinaip

Recommended Posts

Posted

I have installed OSC on my Windows XP PC, and edited the configure.php file. I am runnint it under locashost/catalog.

 

I am able to login to the administration site, and see the settings, products etc., But when I try to go to the shop site, it always brings me to the "http://localhost/catalog/install/index.php" and welcome screen, asking me to configure the shop again. I have already done the configuration several times, booted by PC, but to no avail - It always goes to configure a Fresh installation.. Please suggest what could be wrong.

 

PHP Settings

PHP Version 5.2.3

register_globals Off

magic_quotes Off

file_uploads On

session.auto_start Off

session.use_trans_sid Off

 

PHP Extensions

MySQL OK

GD OK

cURL shows a RED CROSS

OpenSSL shows a RED CROSS

 

 

CONFIGURE.PHP

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

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

define('HTTPS_CATALOG_SERVER', 'http://localhost/catalog/');

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

define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)

define('DIR_WS_ADMIN', 'admin/');

define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);

define('DIR_WS_CATALOG', '../');

define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);

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/');

 

Please advice what could be wrong. Thanks a lot.

 

Regards,

Vinai

Posted
I have installed OSC on my Windows XP PC, and edited the configure.php file. I am runnint it under locashost/catalog.

 

I am able to login to the administration site, and see the settings, products etc., But when I try to go to the shop site, it always brings me to the "http://localhost/catalog/install/index.php" and welcome screen, asking me to configure the shop again. I have already done the configuration several times, booted by PC, but to no avail - It always goes to configure a Fresh installation.. Please suggest what could be wrong.

 

PHP Settings

PHP Version 5.2.3

register_globals Off

magic_quotes Off

file_uploads On

session.auto_start Off

session.use_trans_sid Off

 

PHP Extensions

MySQL OK

GD OK

cURL shows a RED CROSS

OpenSSL shows a RED CROSS

CONFIGURE.PHP

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

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

define('HTTPS_CATALOG_SERVER', 'http://localhost/catalog/');

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

define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)

define('DIR_WS_ADMIN', 'admin/');

define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);

define('DIR_WS_CATALOG', '../');

define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);

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/');

 

Please advice what could be wrong. Thanks a lot.

 

Regards,

Vinai

What happens if you change the install directory to another name?

 

http://localhost/catalog/ is what you are putting into your browser.

 

My own prefernce is to install into a directory that reflects my domain name like http://localhost/my_domain.local/catalog/ just for when I am getting ready to ftp to the web.

Archived

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

×
×
  • Create New...