Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

ERROR: Can't find 'images' folder


Simon-QAS

Recommended Posts

Hi there,

 

 

I've got a serious problem with my OsC:

 

We moved with our shop to a new root-server, in case of this I downloaded all the files from the old server, made a phpmyadmin dump, created on the new server a fresh OsC, restored the old db and uploaded the shop files - because it's a totally customized shop. Well, I edited all the .php files to tell the db name and psw and so on, but now I got this problem: I go to the Admin panel and click "catalog" (not sure if the names are similar, I have a german osC) where I can put new products in. In the top row is this error (translated from german into english) "Error: The folder 'images' in the catalog folder isn't available: /qas/shop/images/" Even if I edit the configure.php and tell him the whole path (/var/www/web1/html/qas/shop/images/) it don't wanna accept it and give me the same error message, just with the new path.

 

The folder has CHMOD 777, give over SSH.

 

Here is once again the admin/includes configure.php code:

 

define('HTTP_SERVER', 'http://www.quantumautosport.com/'); // eg, http://localhost - should not be empty for productive servers

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

define('HTTPS_CATALOG_SERVER', '');

define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', $HTTP_SERVER_VARS['/var/www/web1/html/qas/shop/']); // where the pages are located on the server

define('DIR_WS_ADMIN', 'qas/shop/admin/'); // absolute path required

define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); // absolute pate required

define('DIR_WS_CATALOG', '/qas/shop/'); // absolute path required

define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); // 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/');

 

 

 

I've no idea...

Link to comment
Share on other sites

It looks to me that your image folder is gas_images as this link

http://www.quantumautosport.com/qas/shop/q...idia_dealer.gif

 

So therefore just correct your path I think that should do it, and check your image folder name is as above, but your images are showing so I don't really think the same problem is in your includes/configure.php folder.

why not check how you set that up and apply the same defines in admin/includes/configure.php also I notice you have not set ssl to true is this because you don't have one yet?

 

Kind Regards,

Michelle

 

Hi there,

I've got a serious problem with my OsC:

 

We moved with our shop to a new root-server, in case of this I downloaded all the files from the old server, made a phpmyadmin dump, created on the new server a fresh OsC, restored the old db and uploaded the shop files - because it's a totally customized shop. Well, I edited all the .php files to tell the db name and psw and so on, but now I got this problem: I go to the Admin panel and click "catalog" (not sure if the names are similar, I have a german osC) where I can put new products in. In the top row is this error (translated from german into english) "Error: The folder 'images' in the catalog folder isn't available: /qas/shop/images/" Even if I edit the configure.php and tell him the whole path (/var/www/web1/html/qas/shop/images/) it don't wanna accept it and give me the same error message, just with the new path.

 

The folder has CHMOD 777, give over SSH.

 

Here is once again the admin/includes configure.php code:

 

define('HTTP_SERVER', 'http://www.quantumautosport.com/'); // eg, http://localhost - should not be empty for productive servers

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

should this be http://www.quantumautosport.com/qas/shop/

define('HTTPS_CATALOG_SERVER', '');

define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', $HTTP_SERVER_VARS['/var/www/web1/html/qas/shop/']); // where the pages are located on the server

define('DIR_WS_ADMIN', 'qas/shop/admin/'); // absolute path required

define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); // absolute pate required

define('DIR_WS_CATALOG', '/qas/shop/'); // absolute path required

define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); // absolute path required

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

should this be - define('DIR_WS_IMAGES', 'gas_images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

should this be - define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'gas_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/');

I've no idea...

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...