Guest Posted May 30, 2006 Posted May 30, 2006 Hi Everyone, Please help after I installed Oscommerce, I click on Catalog and my home page came up, however all the images are broken? I read under installation troubleshooting it might be my stylesheet. However my stylesheet is setup correctly! When I right click on the image and look at the properties this is what it reads http:///images/oscommerce.gif Did I do something wrong in the installation process? Or is this a simple setting issue? If you need to take a look, you will find my store here: http://www.adonispicturestore.com/catalog/index.php Thanks in advance! Richard
kgt Posted May 30, 2006 Posted May 30, 2006 You need to edit includes/configure.php and make sure HTTP_SERVER is set to http://www.adonispicturestore.com Contributions Discount Coupon Codes Donations
Guest Posted May 30, 2006 Posted May 30, 2006 Thanks, Unfortunitly, it was set properly and still did not work. However, you did help me! Once I was in the configure.php file I changed this define('DIR_WS_IMAGES', images/'); to define('DIR_WS_IMAGES', 'http://www.adonispicturestore.com/catalog/images/'); And now images are showing up! Thanks again you rock! - Richard You need to edit includes/configure.php and make sure HTTP_SERVER is set to http://www.adonispicturestore.com
kgt Posted May 30, 2006 Posted May 30, 2006 Thanks, Unfortunitly, it was set properly and still did not work. However, you did help me! Once I was in the configure.php file I changed this define('DIR_WS_IMAGES', images/'); to define('DIR_WS_IMAGES', 'http://www.adonispicturestore.com/catalog/images/'); And now images are showing up! Thanks again you rock! - Richard You don't want to do that. It'll break your secure pages. Contributions Discount Coupon Codes Donations
Guest Posted May 30, 2006 Posted May 30, 2006 After playing with it some more, I still have missing graphics! On the product_info.php pages the review buttun in broken, Add to Cart button is broken. If you click on the review link the back button is missing there too. -Richard Thanks, Unfortunitly, it was set properly and still did not work. However, you did help me! Once I was in the configure.php file I changed this define('DIR_WS_IMAGES', images/'); to define('DIR_WS_IMAGES', 'http://www.adonispicturestore.com/catalog/images/'); And now images are showing up! Thanks again you rock! - Richard
kgt Posted May 30, 2006 Posted May 30, 2006 After playing with it some more, I still have missing graphics! On the product_info.php pages the review buttun in broken, Add to Cart button is broken. If you click on the review link the back button is missing there too. -Richard It's because HTTPS_SERVER is not set correctly. Links to images exist in 2 or more places: images/ includes/languages/english/images/buttons/ include/languages/language2/images/buttons/ The buttons in the languages dir are for buttons that have text on them - different buttons for different languages. The links to images should be relative so that you won't break your site over https. The HTTP_SERVER constant is used to define the base href tag. If you look at the HTML source for your site, you'll see the base href tag is empty. This is what is causing the problem. Contributions Discount Coupon Codes Donations
manfredlichti Posted May 31, 2006 Posted May 31, 2006 It's because HTTPS_SERVER is not set correctly. Links to images exist in 2 or more places: images/ includes/languages/english/images/buttons/ include/languages/language2/images/buttons/ The buttons in the languages dir are for buttons that have text on them - different buttons for different languages. The links to images should be relative so that you won't break your site over https. The HTTP_SERVER constant is used to define the base href tag. If you look at the HTML source for your site, you'll see the base href tag is empty. This is what is causing the problem. Hello.. I am also having the same problem with the images being broken links.. I have added those lines to my configure.php file in catalog/includes and still the links are broken... I have added the https:..... server name also..
kgt Posted May 31, 2006 Posted May 31, 2006 Hello.. I am also having the same problem with the images being broken links.. I have added those lines to my configure.php file in catalog/includes and still the links are broken... I have added the https:..... server name also.. Post the contents of configure.php (be sure to remove database information at the bottom). Contributions Discount Coupon Codes Donations
Recommended Posts
Archived
This topic is now archived and is closed to further replies.