Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can't add images in admin screen


holydragon

Recommended Posts

After initial installation I see the following error in the admin view when viewing the add product screen. Consequently, I can not add product images. I tried created the referenced directory; however, then the product does not appear in the catalog.

 

Error: Catalog images directory does not exist: /hsphere/local/home/clickmog/purecore.comimages/

 

The sample database has installed fine and I can view those components. Here is a copy of the admin/includes/configure.php file

 

define('HTTP_SERVER', 'http://purecore.com');

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

define('HTTPS_CATALOG_SERVER', 'http://purecore.com');

define('ENABLE_SSL_CATALOG', 'false');

define('DIR_FS_DOCUMENT_ROOT', '/hsphere/local/home/clickmog/purecore.com/');

define('DIR_WS_ADMIN', '/admin/'); define('DIR_FS_ADMIN', '/hsphere/local/home/clickmog/purecore.com/admin/'); // define('DIR_WS_CATALOG', '/');

define('DIR_FS_CATALOG', '/hsphere/local/home/clickmog/purecore.com'); 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/');

 

Any help would be greatly appreciated.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...