sjtanner Posted February 24, 2008 Posted February 24, 2008 :angry: I'm a newbie, please have patience with me. I have several IMAGES folders. I have put the same .jpg file in all of them because I can't figure out which one it's looking for. When I browse for my .jpg file it goes to my hard drive when I choose my picture there it doesn't work. When I manually type in the path /images/s&p-scarlet.JPG it doesn't like that either. At the top in a pink bar it has: Error: Catalog images directory does not exist: /catalog/images/ I do have an IMAGES directory within my CATALOG directory. Below is my Admin/Includes configure.php file Please HELP I'm very frustrated!!! // define our webserver variables // FS = Filesystem (physical) // WS = Webserver (virtual) define('HTTP_SERVER', 'http://www.baehrsden.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTPS_SERVER', 'http://www.baehrsden.com'); // eg, https://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', ''); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', ''); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', ''); define('DIR_WS_HTTPS_CATALOG', ''); 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/');
allaboutwicker Posted February 25, 2008 Posted February 25, 2008 Hi, I am not one of the oscommerce gurus so am not sure if I am pointing you in the right direction and it has been a while since I first installed. Anyway, I compared your code to mine and found that I had my website in here: define('HTTP_CATALOG_SERVER', ''); define('HTTPS_CATALOG_SERVER', ''); as in you would have: define('HTTP_CATALOG_SERVER', 'http://www.baehrsden.com'); define('HTTPS_CATALOG_SERVER', 'http://www.baehrsden.com'); Not sure if that is the cause and I was wondering if you also checked your catalog/includes/configure.php file other then the admin one? One other thing I just thought of is I believe you need to make sure all the image folders have the correct permissions. Have you done all of the post installation instructions found here?: http://www.oscommerce.info/kb/osCommerce/I...nd_Upgrades/224 Hope this helps! Post back if not.
allaboutwicker Posted February 25, 2008 Posted February 25, 2008 Hi, I just peeked one last time and noticed when I clicked on any page it goes to this: http://www.baehrsden.comindex.php/ Notice there is no " / " between .com and index.php as it should look like this: http://www.baehrsden.com/index.php/ In my catalog/includes/configure.php I have part of it with just "/ " in there as follows: define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); Maybe that will do it. There is certainly something amiss here! If I am on the wrong trail, maybe one of those smarter oscommerce people will chime in. I will check in tomorrow, but gotta go to bed now. Best Regards and let me know how you make out!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.