Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin Images not showing


Guest

Recommended Posts

Posted

Problem: In Admin, none of the category or product images are displaying. The Admin interface images all display, just not the images for categories or products. All images in the Catalog display fine.

 

I think it has to do with an incorrect FS or WS designation in my admin/includes/configure.php file, but I've tried every combination I can think of to get the catalog images to display in the Admin area - but no success.

 

1. Physical file structure [FS] to my domain is: //home/www/MYSITE/

2. Catalog is here [FS]: //home/www/MYSITE/store/catalog/

2. Admin is here [FS]: //home/www/MYSITE/store/catalog/admin

 

Here are the define[] designations in my admin/includes/configure.php:

  define('HTTP_SERVER', 'http://MYSITE.COM/store/catalog/'); 
 define('HTTP_CATALOG_SERVER', 'http://MYSITE.COM/store/catalog/');
 define('DIR_FS_DOCUMENT_ROOT', '//home/www/MYSITE.COM/store/catalog/'); 
 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_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

 

I know this should be an easy one, but none of the variations I've tried for the FS or WS defines will fix it.

 

Thanks in advance for any help.

Posted

you are using a strange configuration for paths

try this

define('HTTP_SERVER', 'http://MYSITE.COM');
define('HTTP_CATALOG_SERVER', 'http://MYSITE.COM');
define('DIR_FS_DOCUMENT_ROOT', '//home/www/MYSITE.COM/store/catalog');
define('DIR_WS_ADMIN', '/store/catalog/admin/');
define('DIR_FS_ADMIN', '//home/www/MYSITE.COM/store/catalog/admin/');
define('DIR_WS_CATALOG', '/store/catalog/');
define('DIR_FS_CATALOG', '//home/www/MYSITE.COM/store/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_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

 

this is provided that the root path is //home and not /home

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Posted

Whew! That did it. - Thanks a million.

 

I've used osC for about 3 years but I've always installed it manually. This install was done by a 3rd party installer script on a hosting account and it was a mess to clean up.

 

THANKS AGAIN! :thumbsup:

Archived

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

×
×
  • Create New...