Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Catalog images directory does not exist error


disciples

Recommended Posts

I have checked some of the other posts regarding this error, however, I still am unable to fix the issue. In my admin page under catalog I receive the following error:

 

Error: Catalog images directory does not exist: /hermes/bosweb/web160/b1604/d5.soldiers/public_html/stonestreetsoaps.com/catalog/images/

 

I have not made any changes to my site it just appeared one day. My site works fine with the exception of the admin. I cannot upload any new images.

 

I also receive another error when I go to the tools section in my admin:

Error: Backup directory does not exist. Please set this in configure.php.

 

below is may configure.php file:

 

Any help would be greatly appreciated.

 

<?php

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

define('HTTPS_SERVER', 'http://www.stonestreetsoaps.com/');

define('ENABLE_SSL', false);

define('HTTP_COOKIE_DOMAIN', 'www.stonestreetsoaps.com/');

define('HTTPS_COOKIE_DOMAIN', 'www.stonestreetsoaps.com/');

define('HTTP_COOKIE_PATH', '/catalog/');

define('HTTPS_COOKIE_PATH', '/catalog/');

define('DIR_WS_HTTP_CATALOG', '/catalog/');

define('DIR_WS_HTTPS_CATALOG', '/catalog/');

define('DIR_WS_IMAGES', '/');

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

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

define('DIR_FS_CATALOG', '/hermes/bosweb/web160/b1604/d5.soldiers/public_html/stonestreetsoaps.com/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

define('DB_SERVER', '******');

define('DB_SERVER_USERNAME', '******');

define('DB_SERVER_PASSWORD', '*******');

define('DB_DATABASE', '****');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

?>

 

Thanks

Link to comment
Share on other sites

catalog/includes configure.php - make sure you have "images" folder with 755 permision

 define('HTTP_SERVER', 'http://www.stonestreetsoaps.com');
 define('HTTPS_SERVER', 'http://www.stonestreetsoaps.com');

 define('HTTP_COOKIE_DOMAIN', 'www.stonestreetsoaps.com');
 define('HTTPS_COOKIE_DOMAIN', 'www.stonestreetsoaps.com');

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

 

catalog/admin/includes configure.php - make sure you have "backups" folder with 755 permission

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

Link to comment
Share on other sites

catalog/includes configure.php - make sure you have "images" folder with 755 permision

 define('HTTP_SERVER', 'http://www.stonestreetsoaps.com');
 define('HTTPS_SERVER', 'http://www.stonestreetsoaps.com');

 define('HTTP_COOKIE_DOMAIN', 'www.stonestreetsoaps.com');
 define('HTTPS_COOKIE_DOMAIN', 'www.stonestreetsoaps.com');

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

 

catalog/admin/includes configure.php - make sure you have "backups" folder with 755 permission

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

 

Thanks for the response,

 

I modified the code and checked the file permissions. Both folders are set at 755 and I am still getting both errors. Any other thoughts. Below is what I have for my configure file:

 

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

define('HTTPS_SERVER', 'http://www.stonestreetsoaps.com');

define('ENABLE_SSL', false);

define('HTTP_COOKIE_DOMAIN', 'www.stonestreetsoaps.com');

define('HTTPS_COOKIE_DOMAIN', 'www.stonestreetsoaps.com');

define('HTTP_COOKIE_PATH', '/catalog/');

define('HTTPS_COOKIE_PATH', '/catalog/');

define('DIR_WS_HTTP_CATALOG', '/catalog/');

define('DIR_WS_HTTPS_CATALOG', '/catalog/');

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

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

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

define('DIR_FS_CATALOG', '/hermes/bosweb/web160/b1604/d5.soldiers/public_html/stonestreetsoaps.com/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

Link to comment
Share on other sites

  • 4 months later...

..

I modified the code and checked the file permissions. Both folders are set at 755 and I am still getting both errors. Any other thoughts. Below is what I have for my configure file:

...

 

I see no definition in your config listing for DIR_FS_ADMIN - could that mean that you are attempting to use the wrong directory?

 

I am having the same problem with backup. It worked when I last used it about 6 months ago, but now fails. As it happens, I have changed host servers since that time, but I see no reason why it shouldn't still work as the relative dir locations are all same as before. Permissions are correct and the directory DOES exist - I can see it from FileZilla as well as the Admin FileManager - but the error persists and I can't use the internal OSC back up process. I get the same error for cache - it exists, permissions are set properly, but OSC still claims it doesn't exist.

Anyone got an idea why?

Steve

Link to comment
Share on other sites

The absolute path of your webspace "Document root", which is also part of "FS Catalog", may have changed since your move.

 

Using a good text editor, create a file called "info.php" and type these.

 

<?php
phpinfo();
?>

 

Upload the file to your catalog or root folder. Run the script by typing "www.your_domain.com/catalog/info.php"(if catalog folder exist) or "www.your_domain.com/info.php"(if it's a root install) in your browser url bar without quotes.

 

Look for the VALUE of DOCUMENT ROOT. Copy and paste to your configure.php files and also change your cache directory entry for the path.

 

Delete or rename configure.php file(s), if exists, in includes/ local and admin/includes/ local folders.

 

Regarding cache, check >>here.

Link to comment
Share on other sites

  • 1 month later...

hermes? On iPower? I just ran into this myself. Was about to pull hair after editing web090/b905 to web/b905, then I noticed that ... it's not hermes any more! RE-edited and life is good.

 

Thanks BryceJr!! I never would have even checked that because I have NOT changed hosts.

Link to comment
Share on other sites

  • 4 months later...

You document root is is a folder on your host's server and that is designated for web pages and and sub folders, its normally called public_html, but could be otherwise

 

$_SERVER is an array containing server information and $_SERVER["DOCUMENT_ROOT"] is a $_SERVER variable containing the document root folder path, i.e. /home/mysite/public_html/

 

so I assume you have

define('DIR_FS_DOCUMENT_ROOT', $_SERVER["DOCUMENT_ROOT"]);

 

which saves putting

 

define('DIR_FS_DOCUMENT_ROOT', '/home/mysite/public_html/');

 

but the two are interchangeable

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

Hello,

 

First of all thank you for your reply. I was reading the solution that Bryce Jr posted. So I run the info.php on my browser but I am not quite sure what I should write on my configure.php . The value should be written exactly as I see it next to the _SERVER["DOCUMENT_ROOT"] because it looks like this E:\home\mydomain.gr is this correct?

Link to comment
Share on other sites

its $_SERVER["DOCUMENT_ROOT"] not _SERVER["DOCUMENT_ROOT"] the latter being invalid

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...