Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

directory path pb in configuration.php


BauSJ

Recommended Posts

Still here with my install pb.

First I installed OSC correctly and it worked fine for a while.

After hazardous move of ADMIN & INSTALL folders to the root of the site it generated a big pb in the directory paths.

 

I reinstalled everything, but can't get it working now

 

It sounds like accessing CATALOG or ADMIN, the first page shows up, but the links or the required modules are searched from a wrong ROOT path

 

here is a piece of one of the configure.PHP: ANY advice ?

 

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

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

define('HTTPS_CATALOG_SERVER', '');

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

define('DIR_FS_DOCUMENT_ROOT', 'c:/documents and settings/administrator/my documents/mes documents/websites/music/catalog/'); // where the pages are located on the server

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

define('DIR_FS_ADMIN', 'c:/documents and settings/administrator/my documents/mes documents/websites/music/catalog/admin/'); // absolute pate required

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

define('DIR_FS_CATALOG', 'c:/documents and settings/administrator/my documents/mes documents/websites/music/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/');

 

 

Jean-Michel

Link to comment
Share on other sites

 define('HTTP_SERVER', 'http://www.yourdomainname.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://www.yoursecuredomainname.com'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL',true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'www.yourdomain.com');
 define('HTTPS_COOKIE_DOMAIN', 'www.yourdomain.com')

Link to comment
Share on other sites

finally got the solution this morning ! It is working again and now I can go further.

 

:D :D :D

 

for the other newcomers:

 

I got trouble with the data entered during the INSTALL procedure, then the CONFIGURATION.PHP 's were wrong

 

a piece of the site path "mysite/catalog" was missing while the front page was tring to load any links.

 

So review carefully what you enter in INSTALL and check it if necessary in the CONFIGURE.PHP files

 

thanks to the to mmcloud, who sent me an email

Jean-Michel :D

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...