Guest Posted April 8, 2007 Posted April 8, 2007 I've just successfully installed osc to a website but ALL the images are showing as a little red x I've double checked the path to images in configuration.php but all appears correct. I'm clueless as to why this is happening. Can anyone help?
Monk Posted April 8, 2007 Posted April 8, 2007 I've just successfully installed osc to a website but ALL the images are showing as a little red x I've double checked the path to images in configuration.php but all appears correct. I'm clueless as to why this is happening. Can anyone help? whats the site address? And i am assuming you've uploaded the images to the correct folder?
Guest Posted April 9, 2007 Posted April 9, 2007 whats the site address? And i am assuming you've uploaded the images to the correct folder? http://the-comfort-zone.org.uk/bathroom/ is the web address. I even copied the images folder to public_html in case the path was supposed to be there. I just don't understand why no images are showing. I tried uploading a different template in case it altered the state of play but it didn't. I'm at my wit's end trying to figure this out! :blink:
Darky10 Posted April 9, 2007 Posted April 9, 2007 http://the-comfort-zone.org.uk/bathroom/ is the web address. I even copied the images folder to public_html in case the path was supposed to be there. I just don't understand why no images are showing. I tried uploading a different template in case it altered the state of play but it didn't. I'm at my wit's end trying to figure this out! :blink: Your admin is unsecured. You might get trashed if you don't secure it. Maybe its a permissions issue on the server. I had that when i uploaded to the server in the past. That was a permissions issue. OS commerce is nippy about where you put the images in the folders. I think if you put them inside another folder inside the images folder, the links will break.
Guest Posted April 9, 2007 Posted April 9, 2007 Your admin is unsecured. You might get trashed if you don't secure it. Maybe its a permissions issue on the server. I had that when i uploaded to the server in the past. That was a permissions issue. OS commerce is nippy about where you put the images in the folders. I think if you put them inside another folder inside the images folder, the links will break. I'll password protect admin right now. Thanks for pointing this out to me. I don't have the images inside another folder, they're just in the images folder. I copied the images folder to public_html in case that was the correct path. I'm really confused why the images don't show! :blink:
Guest Posted April 9, 2007 Posted April 9, 2007 I'll password protect admin right now. Thanks for pointing this out to me. I don't have the images inside another folder, they're just in the images folder. I copied the images folder to public_html in case that was the correct path. I'm really confused why the images don't show! :blink: You have not sucessfully installed Osc, the images are the default images. Did you install from your web address or ftp from your hard disk?
Guest Posted April 9, 2007 Posted April 9, 2007 You have not sucessfully installed Osc, the images are the default images. Did you install from your web address or ftp from your hard disk? I installed from the web. The install program told me I had successfully installed. How do I correct this? :'(
Guest Posted April 9, 2007 Posted April 9, 2007 I installed from the web. The install program told me I had successfully installed. How do I correct this? :'( So you unzipped the files on your hard drive, then ftped the files to your web address, the ran install.php? The images should mainly be in catalog\images on your web address. There are other locations, and the install program looks after the loactions if OSC is installed correctly.
Guest Posted April 9, 2007 Posted April 9, 2007 So you unzipped the files on your hard drive, then ftped the files to your web address, the ran install.php? The images should mainly be in catalog\images on your web address. There are other locations, and the install program looks after the loactions if OSC is installed correctly. Yes. I unzipped the files on my hard drive & used Coffee Cup to ftp them to my server then I went to the install file through my browser & followed the directions to be told that the install was complete but when I looked at the catalogue, all of the images were a red x. I then copied the images folder to public_html folder in case the path was wrong. Have you any suggestions as to how I can correct this? :huh:
kirikintha Posted April 9, 2007 Posted April 9, 2007 can you show us your configuration files? just the file information - keep your user name and password to yourself! Nothing unreal exists
Guest Posted April 9, 2007 Posted April 9, 2007 Yes. I unzipped the files on my hard drive & used Coffee Cup to ftp them to my server then I went to the install file through my browser & followed the directions to be told that the install was complete but when I looked at the catalogue, all of the images were a red x. I then copied the images folder to public_html folder in case the path was wrong. Have you any suggestions as to how I can correct this? :huh: You could try reinstalling.
Guest Posted April 9, 2007 Posted April 9, 2007 can you show us your configuration files? just the file information - keep your user name and password to yourself! <?php /* 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://www.the-comfort-zone.org.uk'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.the-comfort-zone.org.uk'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/bathroom/'); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', '/bathroom/'); define('DIR_WS_HTTPS_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', '/home/comfort/public_html/bathroom/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', '*****'); define('DB_SERVER_PASSWORD', '*****'); define('DB_DATABASE', '*****'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> Does this help?
kirikintha Posted April 9, 2007 Posted April 9, 2007 Hey you know I just looked at your site - I can see images - do you see them? try refreshing ctr-F5 - clear your cache on your browser - what browser are you looking in? I was using firefox - and I can see images - Your conf file looks fine - there is one in the admin section and that should look similar. Nothing unreal exists
Guest Posted April 9, 2007 Posted April 9, 2007 Hey you know I just looked at your site - I can see images - do you see them? try refreshing ctr-F5 - clear your cache on your browser - what browser are you looking in? I was using firefox - and I can see images - Your conf file looks fine - there is one in the admin section and that should look similar. I normally use the Avant browser. I've tried to open this page in IE but I get the same result. Any ideas how I might counteract this? I'm able to view other osc site in my avant.
kirikintha Posted April 9, 2007 Posted April 9, 2007 Ah I found the problem - this is the output you are getting to your web browser for the images http:///images/ReviewsBox/corner_right_left.gif see how there's one too many '/' after http:// my guess is your code has an extra '/' somewhere - in your admin/includes/configure.php: Nothing unreal exists
Guest Posted April 9, 2007 Posted April 9, 2007 I see all the images in the admin section. I just don't understand why I can't see the images in the catalogue. :blink:
Guest Posted April 9, 2007 Posted April 9, 2007 Ah I found the problem - this is the output you are getting to your web browser for the images http:///images/ReviewsBox/corner_right_left.gif see how there's one too many '/' after http:// my guess is your code has an extra '/' somewhere - in your admin/includes/configure.php: <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 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://www.the-comfort-zone.org.uk'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.the-comfort-zone.org.uk'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home/comfort/public_html/bathroom/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/bathroom/admin/'); // absolute path required define('DIR_FS_ADMIN', '/home/comfort/public_html/bathroom/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/bathroom/'); // absolute path required define('DIR_FS_CATALOG', '/home/comfort/public_html/bathroom/'); // 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/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', '*****'); define('DB_SERVER_PASSWORD', '*****'); define('DB_DATABASE', '*****'); define('USE_PCONNECT', 'false'); // use persisstent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> Above is the configure.php file from admin/includes It looks fine to me :blink: This is REALLY frustrating! Thanks for the assistance you're giving me.
kirikintha Posted April 9, 2007 Posted April 9, 2007 true - but everything works together I see your problem as either a config error, or you have modified the code yourself and made a typo or something - your problem is the fact that the browser is looking for http:/// NOT http:// if you find out where that problem lies (most likely in the configuration) - then it's solved - this is what one of my admin config file looks like ( I add a bit more than most to my file, so you may not have the exact same entries but this config file handles a lot more than the standard install): <?php/* 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', 'https://xxxx.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://xxxx.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_CATALOG_SERVER', 'https://xxxx.com/catalog'); //set to force https in admin area define('HTTPS_CATALOG_SERVER', 'https://xxxx.com/catalog'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home/xxxx/public_html/catalog/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', '/home/xxxx/public_html/catalog/'); // absolute pate required define('DIR_WS_CATALOG', '/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/home/xxxx/public_html/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/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'XXXXXXXXXXXXXXXXX'); define('DB_SERVER_PASSWORD', 'XXXXXXXXXXXXXXXX'); define('DB_DATABASE', 'XXXXXXXXXXXXXXXXXXXX); define('DB_MYSQLMODE', ''); // set only if you have incompatibility with mysql5 I changed my connection script to handle this define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> Also my configure file looks like this: <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 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://xxxx.com/'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://xxxxx.com/'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'http://xxxx.com/'); define('HTTPS_COOKIE_DOMAIN', 'https://xxxx.com/'); define('HTTP_COOKIE_PATH', 'http://xxxx.com/catalog/'); define('HTTPS_COOKIE_PATH', 'https://xxxx.com/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', 'catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // CLR 020605 defines needed for Product Option Type feature. define('PRODUCTS_OPTIONS_TYPE_SELECT', 0); define('PRODUCTS_OPTIONS_TYPE_TEXT', 1); define('PRODUCTS_OPTIONS_TYPE_RADIO', 2); define('PRODUCTS_OPTIONS_TYPE_CHECKBOX', 3); define('PRODUCTS_OPTIONS_TYPE_TEXTAREA', 4); define('TEXT_PREFIX', 'txt_'); define('PRODUCTS_OPTIONS_VALUE_TEXT_ID', 0); //Must match id for user defined "TEXT" value in db table TABLE_PRODUCTS_OPTIONS_VALUES // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'xxxxxxxxxxxxxxxxxxxxxxxx'); define('DB_SERVER_PASSWORD', 'xxxxxxxxxxxxxxxxxxxxxx'); define('DB_DATABASE', 'xxxxxxxxxxxxxxxxxxxxxxxxx'); define('DB_MYSQLMODE', ''); // set only if you have incompatibility with mysql5 I changed my connection script to handle this define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> Nothing unreal exists
kirikintha Posted April 9, 2007 Posted April 9, 2007 If it's not that - do you have the Search Engine Safe URL's turned on? Nothing unreal exists
Guest Posted April 9, 2007 Posted April 9, 2007 true - but everything works together I see your problem as either a config error, or you have modified the code yourself and made a typo or something - your problem is the fact that the browser is looking for http:/// NOT http:// if you find out where that problem lies (most likely in the configuration) - then it's solved - Both configure.php files from my site are shown above. None have the 3rd / If I knew where else to look for this or if there is a way to run through all the files on the server and search for http:/// mistake......... Any ideas?
kirikintha Posted April 9, 2007 Posted April 9, 2007 I had the same problem I swear it was due to a config error. Gosh darnit I am running out of things to look for. Nothing unreal exists
Guest Posted April 9, 2007 Posted April 9, 2007 If it's not that - do you have the Search Engine Safe URL's turned on? How do I do that? Sorry for being so thick. :blush:
kirikintha Posted April 9, 2007 Posted April 9, 2007 It's in the admin section under configuration - it'll on that main page if it's there - gosh - I am trying to think about where the problem could be. Nothing unreal exists
Guest Posted April 9, 2007 Posted April 9, 2007 It's in the admin section under configuration - it'll on that main page if it's there - gosh - I am trying to think about where the problem could be. Am I supposed to have them turned on or off? They were off but I just turned them on & there's no difference.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.