Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Newbie confusion,

I have a main generic store and a specific customer store. Multi-stores contribution is running well, I run the admin from www.url.com/order/admin (generic store front's admin). Multi-stores is designed to share the admin. All administration works fine EXCEPT product images do not go into correct directory (order/nhrmc/images) but they go into (order/images). Therefore those product images appear broken when in the customer specific site (nhrmc). If I however use the seperate admin in /order/nhrmc/admin the images get placed correctly. I don't want to use two seperate admins if there is an issue with that process. I think I have a mistake somewhere in my configuration.php file below.

 

My configuration file in order/nhrmc/includes is as follows:

************************************************

 

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

define('HTTPS_SERVER', 'https://www.url.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.url.com');

define('HTTPS_COOKIE_DOMAIN', 'www.url.com');

define('HTTP_COOKIE_PATH', '/order/nhrmc/');

define('HTTPS_COOKIE_PATH', '/order/nhrmc/');

define('DIR_WS_HTTP_CATALOG', 'order/nhrmc/');

define('DIR_WS_HTTPS_CATALOG', 'order/nhrmc/');

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', '/Library/WebServer/Documents/order/nhrmc/');

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

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

 

********************************************************

 

Any ideas?

Thank you. :rolleyes:

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...