Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Images are not appearing in admin or on page


inknowv8

Recommended Posts

Posted

I get the following error when I login to the admin and go to the products page.

 

Error: Catalog images directory does not exist: /catalog/images/

 

The file exists and the permissions are set at 777. I can't see any images or upload new images. The older images are still appearing but any new images do not appear.

Posted
I get the following error when I login to the admin and go to the products page.

 

Error: Catalog images directory does not exist: /catalog/images/

 

The file exists and the permissions are set at 777. I can't see any images or upload new images. The older images are still appearing but any new images do not appear.

 

Sounds like there's an error in your configure.php, Can you post the first few lines of admin/includes/configure.php here so we can check like this:

 

 

define('HTTP_SERVER', 'http://www.secret-desire.co.uk'); // eg, http://localhost - should not be empty for productive servers
 define('HTTP_CATALOG_SERVER', 'http://www.secret-desire.co.uk');
 define('HTTPS_CATALOG_SERVER', '');
 define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module
 define('DIR_FS_DOCUMENT_ROOT', '/home/secret/public_html/'); // where the pages are located on the server
 define('DIR_WS_ADMIN', '/admin/'); // absolute path required
 define('DIR_FS_ADMIN', '/home/secret/public_html/admin/'); // absolute pate required  [u]I love the spelling mistake, Pate on toast , yum yum[/u]
 define('DIR_WS_CATALOG', '/'); // absolute path required
 define('DIR_FS_CATALOG', '/home/secret/public_html/'); // absolute path required
 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/');

Posted
Sounds like there's an error in your configure.php, Can you post the first few lines of admin/includes/configure.php here so we can check like this:

  define('HTTP_SERVER', ''); // eg, [url="http://localhost"]http://localhost[/url] or - [url="https://localhost"]https://localhost[/url] should not be NULL for productive servers
 define('HTTP_CATALOG_SERVER', '');
 define('HTTPS_CATALOG_SERVER', '');
 define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module
 define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)
 define('DIR_WS_ADMIN', '/admin/');
 define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);
 define('DIR_WS_CATALOG', '/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_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 our database connection
 define('DB_SERVER', '');
 define('DB_SERVER_USERNAME', 'mysql');
 define('DB_SERVER_PASSWORD', '');
 define('DB_DATABASE', 'osCommerce');
 define('USE_PCONNECT', 'false');
 define('STORE_SESSIONS', '');
?>

Posted

If anyone can provide me some help with my image issue I would appreciate it. I need this taken care of as soon as possible so your feedback is appreciated.

 

The error is; Error: Catalog images directory does not exist: /catalog/images/

 

The file does exist but for some reason the system is not seeing it. Any information would be a big help. The site is www.theufolibrary.com/catalog. For some reason the current images that are viewable on the site are in a file called images/imagecache. I don't see the file images/imagecache anywhere on my site.

Posted
If anyone can provide me some help with my image issue I would appreciate it. I need this taken care of as soon as possible so your feedback is appreciated.

 

The error is; Error: Catalog images directory does not exist: /catalog/images/

 

The file does exist but for some reason the system is not seeing it. Any information would be a big help. The site is www.theufolibrary.com/catalog. For some reason the current images that are viewable on the site are in a file called images/imagecache. I don't see the file images/imagecache anywhere on my site.

The first two lines are empty, ie no information.

Posted
The first two lines are empty, ie no information.

 

 

I fixed that information but in the admin the following error is still occurring.

 

Error: Catalog images directory does not exist: /catalog/images/

 

Please help soon I need this done tonight...thanks for your help

Posted
I fixed that information but in the admin the following error is still occurring.

 

Error: Catalog images directory does not exist: /catalog/images/

 

Please help soon I need this done tonight...thanks for your help

I don't understand how your parent directory can be http://www.ufocoverup.com/ I get this when I go to http://www.theufolibrary.com/catalog/ and click on parent directory from the folder list.

Posted
Hi,

Not sure if this will help, but give it a try

 

Try getting rid of the $DOCUMENT_ROOT entries and using absolute like mine.

Good suggestion, $DOCUMENT_ROOT works for some and not others.

Archived

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

×
×
  • Create New...