famous58 Posted September 21, 2005 Posted September 21, 2005 Hello all, tried a search on this but didn't find anything helpful. I've had a cart up for a client for over a year (http://www.carolkaye.com/catalog/). She contacted me last night becuase her cart was not displaying correctly. Remember that this cart has been up for over a year with no problems. Now the images are not showing. I'm using STS so I went in and hard coded the template images and now those show up, but none of the catalog images are showing. Also, my category jump box no longer works, which leads me to beleive it's something bigger than miscoded images. All of this stuff was working a few days ago when I was adding a new product (just one new product, zero config changes). And it worked after the product was uploaded. If you right click on the images the paths show as http:///catalog/images/[imagename] What could cause this all of a sudden? I've even tried putting in the whole paths into the config file with no luck (i.e. DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'http://carolkaye.com/catalog/images/) If someone has had this problem before or knows why this is happening I would love to hear why. All of the images are on the server where they should be. Again, this happened basically overnight, no changes to the box, no changes to the site or config files and changing those files doesn't seem to do a thing.
famous58 Posted September 21, 2005 Author Posted September 21, 2005 UPDATE: I was able to get things working by hard coding the paths into the config file (after removing the define('HTTP_SERVER', ''); line. But that still leaves me worried. Why would something so drastic occur without provication? I have installed about 20 carts using STS and have never encountered something like this, especially with such a change to the config file. And this was the first cart I installed, does this mean all my other carts will slowly disengrate?
famous58 Posted September 21, 2005 Author Posted September 21, 2005 Another Update: After checking 4 other stores on the same box I discovered that the only store that wasn't having the same problem had an SSL cert installed. I then rechecked the config files and noticed that all 3 stores that weren't working did not have HTTPS_SERVER defined. I entered the domain name into the HTTPS_SERVER variable and voila, it works (even though these sites don't have SSLs). So now my question is why are the config files looking to HTTPS_SERVER instead of HTTP_SERVER and why did they start looking at HTTPS_SERVER overnight? Is this a box issue? We are running cPanel 9.9.9-S15 and RedHat Enterprise 3 i686. We've got the problem fixed for now but it just doesn't seem right....
trevb54 Posted September 22, 2005 Posted September 22, 2005 Another Update: After checking 4 other stores on the same box I discovered that the only store that wasn't having the same problem had an SSL cert installed. I then rechecked the config files and noticed that all 3 stores that weren't working did not have HTTPS_SERVER defined. I entered the domain name into the HTTPS_SERVER variable and voila, it works (even though these sites don't have SSLs). So now my question is why are the config files looking to HTTPS_SERVER instead of HTTP_SERVER and why did they start looking at HTTPS_SERVER overnight? Is this a box issue? We are running cPanel 9.9.9-S15 and RedHat Enterprise 3 i686. We've got the problem fixed for now but it just doesn't seem right.... <{POST_SNAPBACK}> It's probably the server. Have a look at this link. It was given to me. If you want to investigate the reason for the server's doing this see: http://www.oscommerce.com/forums/index.php?sho...ndpost&p=672623
famous58 Posted September 22, 2005 Author Posted September 22, 2005 It's probably the server.Have a look at this link. It was given to me. If you want to investigate the reason for the server's doing this see: http://www.oscommerce.com/forums/index.php?sho...ndpost&p=672623 <{POST_SNAPBACK}> That link takes me to the main forum page, not a post.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.