Deadude Posted June 13, 2005 Posted June 13, 2005 When i am in the admin catalog section i get this error Error: Catalog images directory does not exist: /oscommerce/images/ i have checke the configure.php file but cannot find anything wrong with it includes/configure.php <?php /* $Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://fishfortackle.com'); define('HTTPS_SERVER', 'https://fishfortackle.com'); define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'http://fishfortackle.com'); define('HTTPS_COOKIE_DOMAIN', 'https://fishfortackle.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/oscommerce/'); define('DIR_WS_HTTPS_CATALOG', '/oscommerce/'); define('DIR_WS_IMAGES', '/oscommerce/images/'); define('DIR_WS_ICONS', '/oscommerce/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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME'])); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); and my admin/include/configure.php <?php /* $Id: configure.php,v 1.14 2003/02/21 16:55:24 dgw_ Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2002 osCommerce Released under the GNU General Public License */ // define our webserver variables // FS = Filesystem (physical) // WS = Webserver (virtual) define('HTTP_SERVER', 'http://fishfortackle.com'); 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', '/oscommerce/admin/'); define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); define('DIR_WS_CATALOG', '/oscommerce/'); 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 . 'oscommerce/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 belive it is an error with one of these files but i am not sure i have browsed this forum and other forums but can still find no answer HELP!!"!!!!!!!!!!
wheeloftime Posted June 14, 2005 Posted June 14, 2005 In your admin/includes/configure.php you are missing entries for: define('HTTP_CATALOG_SERVER', ''); define('HTTPS_CATALOG_SERVER', ''); which should read: define('HTTP_CATALOG_SERVER', 'http://fishfortackle.com'); define('HTTPS_CATALOG_SERVER', 'https://fishfortackle.coml'); In your (catalog)/includes/configure.php you have: define('HTTP_COOKIE_DOMAIN', 'http://fishfortackle.com'); define('HTTPS_COOKIE_DOMAIN', 'https://fishfortackle.com'); which should both be without the http(s) part but a leading point define('HTTP_COOKIE_DOMAIN', '.fishfortackle.com'); define('HTTPS_COOKIE_DOMAIN', '.fishfortackle.com'); HTH
wheeloftime Posted June 14, 2005 Posted June 14, 2005 nope stilll no luck arggggggggggggggggggg <{POST_SNAPBACK}> No image name show up looking at the one you have with new items. What should it be ? Have you checked if the correct image name has been written in your database ? When I browse your images directory I see some names with spaces like http://www.fishfortackle.com/oscommerce/im...i%20Box%201.jpg. Try to rename it to a name without spaces but underscores or even better just like maxperconti20box.jpg and assign it again to your product. Names with spaces are not a good idea.
Deadude Posted June 14, 2005 Author Posted June 14, 2005 i have ttryed this but i believe one of the problems is the images arnt even trying to upload themselves also the images that are already there have been uploaded manually through and ftp client i have also tryed images with no spaces stil no luck
wheeloftime Posted June 14, 2005 Posted June 14, 2005 i have ttryed this but i believe one of the problems is the images arnt even trying to upload themselves also the images that are already there have been uploaded manually through and ftp client i have also tryed images with no spaces stil no luck <{POST_SNAPBACK}> Are you a bit familiar with phpMyAdmin which you should have through your host panel ? You should check there if the image name has been written to the product table of your database and if not enter it manually for one or two to see if it works after that. If it works after that you know the problem lies with the images not uploading and the names not being written to your database. Best check that first.
Deadude Posted June 14, 2005 Author Posted June 14, 2005 yes i am familar with phpmyadmin i have checked the tables and nothing is being inserted however for the catorgories it inserts the images into the db but then fails to upload them any solutions thanks (maybe getting closer to a solution now :))
wheeloftime Posted June 14, 2005 Posted June 14, 2005 yes i am familar with phpmyadmin i have checked the tables and nothing is being inserted however for the catorgories it inserts the images into the db but then fails to upload them any solutionsthanks (maybe getting closer to a solution now :)) <{POST_SNAPBACK}> If a picture is already in place within the images directory you will get an 'error' that no file is uploaded which however is not a real error but only meant to say a picture with that name already exists. For your products the behaviour is the same, the first time it should be uploaded by osC. What you can try is to delete your own product images from your web space, edit your products and assign the image again (give them a new name on your local disk before assigning them to the product again). Give them a short test name without spaces and use no capitals. See if the image does get uploaded properly and the correct name written to the database.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.