madyson3 Posted May 31, 2004 Posted May 31, 2004 Let me start off with, that my site was fine and happy this morning. I didn't add any contributions today (though I considered it), but in the middle of navigating my site, the graphics all disappeared. Not only that, but they are fine in the admin panel, just not the public area. I checked the properties for one of the graphics and it did not have the full url. It only had: http:///images/HOD_Star.jpg instead of http://houseofdedon.com/catalog/images/HOD_Star.jpg. The thing is it just happened while I was naviagating it. Not adding anything. I added some contributions last night with no problem and everything was going fine. I have now taken the whole site offline and restored a backup from 2 weeks ago. Still the same problem! What is going on??? Is it my hosting service? Did a hacker upload something? I'm really quite distressed over this. Please somebody help. See you on the dark side, Kristy I'm just a girl living in captivity Your rules of thumb makes me worrisome
AlanR Posted May 31, 2004 Posted May 31, 2004 You've got the base href="" problem. Your hosting company has screwed things up somehow. This is the second or third time I've seen this in the last week or so. Maybe you guys all have the same host. For now do this with your catalog/incudes/configure.php file. define('HTTP_SERVER', 'http://www.houseofdedon.com/'); define('HTTPS_SERVER', 'http://www.houseofdedon.com/'); define('ENABLE_SSL', false); define('HTTP_COOKIE_DOMAIN', 'www.houseofdedon.com'); define('HTTPS_COOKIE_DOMAIN', 'www.houseofdedon.com'); Yes, it's not the way it should be but try it. Your host is identifying the link as an ssl one when it is not one. You'll be all better for now. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)
madyson3 Posted May 31, 2004 Author Posted May 31, 2004 Thank you so much! I was in a panic. I actually had to change the configure.php a little bit more, but I figured it out. I needed: define('HTTP_SERVER', 'http://www.houseofdedon.com/catalog/'); define('HTTPS_SERVER', 'http://www.houseofdedon.com/catalog/'); will this screw anything else up? Again thank you so much. You are my hero. See you on the dark side, Kristy I'm just a girl living in captivity Your rules of thumb makes me worrisome
AlanR Posted May 31, 2004 Posted May 31, 2004 Thank you so much! I was in a panic. I actually had to change the configure.php a little bit more, but I figured it out. I needed: define('HTTP_SERVER', 'http://www.houseofdedon.com/catalog/'); define('HTTPS_SERVER', 'http://www.houseofdedon.com/catalog/'); will this screw anything else up? Again thank you so much. You are my hero. That's not right. You must have the paths wrong. It should be like this. define('HTTP_SERVER', 'http://www.houseofdedon.com'); // eg, http://localhost define('HTTPS_SERVER', 'http://www.houseofdedon.com'); // eg, https://localhost define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.houseofdedon.com'); define('HTTPS_COOKIE_DOMAIN', 'www.houseofdedon.com'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/catalog/'); It will work the way you have it because you don't have any special needs but it's non standard. Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)
AlanR Posted May 31, 2004 Posted May 31, 2004 Nope, you screwed up by adding /catalog/ to the urls. http://www.houseofdedon.com/catalog//catalog/i When you look at the html source you should see: <base href="http://www.houseofdedon.com"> not <base href="http://www.houseofdedon.com/catalog/"> because all of the relative paths are based on this Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)
Paycheck Posted May 31, 2004 Posted May 31, 2004 Nope, you screwed up by adding /catalog/ to the urls. http://www.houseofdedon.com/catalog//catalog/i When you look at the html source you should see: <base href="http://www.houseofdedon.com"> not <base href="http://www.houseofdedon.com/catalog/"> because all of the relative paths are based on this I saw the same thing: http://www.houseofdedon.com/catalog//catal...b095581066edca6 You have a trainling slash at the end of your URL references. and in your config file you have added an extra /catalog to your relative link somewhere. it is throwing it in in your link ref of the OSCid JM Always remember, we need patience, guidance and most of all understanding. My Contributions
madyson3 Posted May 31, 2004 Author Posted May 31, 2004 Thanks guys! I think that fixed it now with the cookie and catalog path you mentioned. You guys rock! See you on the dark side, Kristy I'm just a girl living in captivity Your rules of thumb makes me worrisome
madyson3 Posted May 31, 2004 Author Posted May 31, 2004 Just so everyone one knows, my hosting company - jkahosting - claims they have done nothing. And yet my website was working fine before, hmmmm. Sounds suspicious. Maybe I need a new hosting company if they don't even no when they have changed something like that. Anyhow, your solutions all worked (so no of course the hosting company claims nothing is wrong with the website.) Thank to everyone for your quick help. I really appreciate it. See you on the dark side, Kristy I'm just a girl living in captivity Your rules of thumb makes me worrisome
madyson3 Posted May 31, 2004 Author Posted May 31, 2004 Oh yea and one more thing. To show that this IS an SSL problem I have proof! My splash scrren of my admin panel always siad in the left hand bottom corner that I was not protected by SSL. Now it says: You are protected by a unknown secure SSL connection. Just thought it would help others if they are wondering if they have the same problem. See you on the dark side, Kristy I'm just a girl living in captivity Your rules of thumb makes me worrisome
Paycheck Posted May 31, 2004 Posted May 31, 2004 Great to here. It always feels good to conquer and destroy the issue, eh? I too had the same issues with my hosting company and only after repeated assaults on there intelligence did they finally figure out that when they migrated my sites from a hosting account to my new reseller account that the ssl path had changed. Makes you wonder who you are paying for hosting? Anyway good luck to ya. JM Always remember, we need patience, guidance and most of all understanding. My Contributions
Recommended Posts
Archived
This topic is now archived and is closed to further replies.