Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

images problem


hollydoll

Recommended Posts

Posted

I messed up a few files a few days ago, someone kindly sorted them out but im still getting:

Error: Catalog images directory does not exist: DIR_FS_CATALOG_IMAGES

This comes up when I try to load a picture to a new product.

Posted

I messed up a few files a few days ago, someone kindly sorted them out but im still getting:

Error: Catalog images directory does not exist: DIR_FS_CATALOG_IMAGES

This comes up when I try to load a picture to a new product.

In your shop, your admin, or both? Copy the appropriate configure.php file here, minus the passwords. You are missing a define for the images directory. (Or it is spelled wrong, or something.)

Community Bootstrap Edition, Edge

 

Avoid the most asked question. See How to Secure My Site and How do I...?

Posted

In your shop, your admin, or both? Copy the appropriate configure.php file here, minus the passwords. You are missing a define for the images directory. (Or it is spelled wrong, or something.)

Admin. I have a configure.php and a configureo.php in admin and in my shop from where they had to be redone. this is the configureo.php

 

<?php

define('HTTP_SERVER', 'http://website.co.uk');

define('HTTP_shop_SERVER', 'http://website.co.uk');

define('HTTPS_shop_SERVER', 'https://website.co.uk');

define('ENABLE_SSL_shop', true);

define('DIR_FS_DOCUMENT_ROOT', '/home/user/public_html/shop/');

define('DIR_WS_ADMIN', '/shop/adminuser/');

define('DIR_FS_ADMIN', '/home/user/public_html/shop/adminuser/');

define('DIR_WS_catalog', '/shop/');

define('DIR_FS_catalog', '/home/user/public_html/shop/');

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/');

 

define('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', 'usershop');

define('DB_SERVER_PASSWORD', 'password');

define('DB_DATABASE', 'usershop');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

?>

Posted

define('DIR_WS_catalog_IMAGES', DIR_WS_catalog . 'images/');

 

Does not look right.

 

Mine reads

 

define('DIR_WS_IMAGES', 'images/');

 

Also I think these defines are CASE sensitive? you have _catalog in several places _CATALOG in mine.

 

configure.php is the correct one. Never heard of configureo.php.

 

Wayne...

Posted

Suspect that is an original config file before corrections made to it.

 

Look in /admin/includes/configure.php and replace the 4 ocurances of _catalog_ with _CATALOG_

 

Cheers

 

G

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Posted

Actually it is 6 but just replace them all.

 

G

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Archived

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

×
×
  • Create New...