Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Path Config issue.


Guest

Recommended Posts

Posted

Hello,

 

I have a store installation that is doing some really weird things. The configuration.php file settings for:

 

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

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

define('DIR_FS_ADMIN', '/home/.../store/admin/'); // absolute pate required (the... is just to hide site info in this email. an actual "absolute path" is there.

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

 

What the store is doing for its nav is this:

 

http://www.rammro.net/store/admin/://www.r...D=1&osCAdminID= (long number here)

 

The problem is in the duplicated DIR_WS_Admin root. This is also happening in the main catalog. If I change the configuration, some php script changes it back. Any ideas?

 

You can email me directly at: [email protected]

 

Thanks for any help.

 

Paul

Posted

In your configure.php check the following lien to this

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

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

define('HTTPS_SERVER', 'https://www.rammro.net'); // eg, https://localhost - should not be empty for productive servers

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

define('HTTP_COOKIE_DOMAIN', 'www.rammro.net');

define('HTTPS_COOKIE_DOMAIN', 'www.rammro.net');

define('HTTP_COOKIE_PATH', '/store/');

define('HTTPS_COOKIE_PATH', '/store/');

define('DIR_WS_HTTP_CATALOG', '/store/');

define('DIR_WS_HTTPS_CATALOG', '/store/');

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', '/home/rammro/rammro.net/store/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

My Contributions

 

Henry Smith

Archived

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

×
×
  • Create New...