Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

not finding the image directory!


s4rk1

Recommended Posts

Ok getting this error message all of a sudden.

 

Error: Catalog images directory does not exist: /var/www/html/catalog/images/

 

I have had a good read up and have checked the following.

 

The Directory is there and images are showing if I browse the catalog.

 

The Images folder has permissions set to 777.

 

As far as I can tell the includes/configure.php is pointing at the right places.

 

Here is a copy of the configure.php though if anyone can spot anything I'm missing I'd be very grateful.

 

Oh url is www.cricketbatsonline.co.uk/catalog/

 

<?php
 define('HTTP_SERVER', 'http://www.cricketbatsonline.co.uk');
 define('HTTP_CATALOG_SERVER', 'http://www.cricketbatsonline.co.uk');
 define('HTTPS_CATALOG_SERVER', 'http://www.cricketbatsonline.co.uk');
 define('ENABLE_SSL_CATALOG', 'false');
 define('DIR_FS_DOCUMENT_ROOT', '/var/www/html/catalog/');
 define('DIR_WS_ADMIN', '/catalog/admin/');
 define('DIR_FS_ADMIN', '/var/www/html/catalog/admin/');
 define('DIR_WS_CATALOG', '/catalog/');
 define('DIR_FS_CATALOG', '/var/www/html/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('DB_SERVER', '*********');
 define('DB_SERVER_USERNAME', '**************');
 define('DB_SERVER_PASSWORD', '*************');
 define('DB_DATABASE', 'cricketbatsonline_co_uk_database');
 define('USE_PCONNECT', 'false');
 define('STORE_SESSIONS', 'mysql');
?>

 

Thanks, any help greatly appreciated. :)

Link to comment
Share on other sites

Ok getting this error message all of a sudden.

 

Error: Catalog images directory does not exist: /var/www/html/catalog/images/

 

I have had a good read up and have checked the following.

 

The Directory is there and images are showing if I browse the catalog.

 

The Images folder has permissions set to 777.

 

As far as I can tell the includes/configure.php is pointing at the right places.

 

Here is a copy of the configure.php though if anyone can spot anything I'm missing I'd be very grateful.

 

Oh url is www.cricketbatsonline.co.uk/catalog/

 

<?php
 define('HTTP_SERVER', 'http://www.cricketbatsonline.co.uk');
 define('HTTP_CATALOG_SERVER', 'http://www.cricketbatsonline.co.uk');
 define('HTTPS_CATALOG_SERVER', 'http://www.cricketbatsonline.co.uk');
 define('ENABLE_SSL_CATALOG', 'false');
 define('DIR_FS_DOCUMENT_ROOT', '/var/www/html/catalog/');
 define('DIR_WS_ADMIN', '/catalog/admin/');
 define('DIR_FS_ADMIN', '/var/www/html/catalog/admin/');
 define('DIR_WS_CATALOG', '/catalog/');
 define('DIR_FS_CATALOG', '/var/www/html/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('DB_SERVER', '*********');
 define('DB_SERVER_USERNAME', '**************');
 define('DB_SERVER_PASSWORD', '*************');
 define('DB_DATABASE', 'cricketbatsonline_co_uk_database');
 define('USE_PCONNECT', 'false');
 define('STORE_SESSIONS', 'mysql');
?>

 

Thanks, any help greatly appreciated. :)

 

 

 

Not sure if this helps, but I have images permissions set to 755 and this works for me

You also have a very long path of : /var/www/html/catalog/images/

are you using cpanel ?

 

Try the permissions at 755 and see if this works for you, if not just reset them to 777

Link to comment
Share on other sites

Hiya, they were originally 755, I have tried both now with no success.

 

Using SmartFTP to upload, the admin control panel to add products and images.

 

Hope that helps.

:)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...