Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

images doesn't show at admin


shahin

Recommended Posts

Hi,

 

Recently I have moved my shop to a new host.

 

After that I have re-configured two configure files .

 

1. Catalog/includes/configure.php

2. Catalog/admin/includes/configure.php

 

The images of my shop is fine. But if I go to my shop admin interface, I can't see any product image.

 

For example , my domain name is books.com

 

The shared ssl I am using is sslrelay.com

 

So, the url of my images supposed to be

 

https://sslrelay.com/books.com/catalog/images/24320.jpg

 

 

But if I go to my admin interface and right click of any image ( only image box is shown) , The url I can see is

 

https://sslrelay.com/catalog/images/24320.jpg

 

 

So when I have configured the configure files, I might have done any mistake. That's why,the url of my image (admin area) is wrong.

 

I have put the code of catalog/admin/includes/configure.php is as follows,

 

Could any one please check the code and tell me what mistake I have done!!

 

 

define('HTTP_SERVER', 'https://sslrelay.com/books.com'); // eg, http://localhost or - https://localhost

define('HTTP_CATALOG_SERVER', 'http://books.com');

define('HTTPS_CATALOG_SERVER', 'https://sslrelay.com/books.com);

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

 

define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT ); // where your pages are located on the server.

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

define('DIR_FS_ADMIN', $DOCUMENT_ROOT . '/catalog/admin/');

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

define('DIR_FS_CATALOG', $DOCUMENT_ROOT . '/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/');

 

 

 

Thanks in advance!!

Regards

Shahin

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...