CodeCutter Posted December 9, 2004 Posted December 9, 2004 I made small change to \includes\header.php Just changed name of an image file. <img src="images/logo.gif" width="125" height="72"> was changed to <img src="images/logo_tm.gif" width="75" height="75"> Now the site does not show anything. What might have gone wrong? I checked with hosting company and they say web server is up and running. (They are right. I can access admin section.) I tried replacing the file with backup, but site does not show up. How do I debug and fix this? -- Reality is an illusion caused due to lack of alcohol. -- We are never too old to learn something new.
TCwho Posted December 9, 2004 Posted December 9, 2004 can you put the site up for us to see came down??? what kind of error code???? not enough information Drop_Shadow How Did You Hear About Us Email HTML Order Link ---- GMT -5:00
CodeCutter Posted December 9, 2004 Author Posted December 9, 2004 Try to see http://www.organio.com The site won't show up. Now see http://www.organio.org/info_shopping_cart.php This page shows up. -- Reality is an illusion caused due to lack of alcohol. -- We are never too old to learn something new.
Rob123 Posted December 10, 2004 Posted December 10, 2004 Try restoring index.php The reason why I am suggesting this is because http://www.organio.org/shipping.php works fine. HTH, Robert
♥Vger Posted December 10, 2004 Posted December 10, 2004 You need to restore your header.php file (this was the one you were working on?). I can't get any of the pages on your site, and my guess is that it's because the header file is messed up. Delete the messed up one before uploading the default version. Vger
CodeCutter Posted December 11, 2004 Author Posted December 11, 2004 This is so confusing. My website (www.organio.com) works well when viewed in IE, but does not show ANYTHING when viewed in Firefox. What do I do? Thanks. -- Reality is an illusion caused due to lack of alcohol. -- We are never too old to learn something new.
Guest Posted December 11, 2004 Posted December 11, 2004 This is so confusing. My website (www.organio.com) works well when viewed in IE, but does not show ANYTHING when viewed in Firefox. What do I do? Thanks. <{POST_SNAPBACK}> you got bigger problems. it currently doesnt work in any browsers, IE or Firefox. If you do a view source when you hit your site it's blank (in firefox). in IE it redirects you to another site. you probably see it ok in IE because its locally cached. Good Luck.
CodeCutter Posted December 11, 2004 Author Posted December 11, 2004 All of you, Thanks for all your help. The problem is resolved. First, I restored just 2 files index.php and header.php It did not work. Then I had to restore ALL the files from the backup. Funny thing is that the site would STILL would not come up, however admin section was working okay. Then I thought, maybe the php code is okay, but it is not getting any data from the database. So I restored mySQL database. and BINGO. The site shows up now. Lessons learned: (not for experts, newbies like me :) 1. ALWAYS have a backup for site + database. 2. Analyze step-by-step. 3. It is not necessarily PHP code that is bad, it may be the database. I still do not understand how changes to header.php files screwed up the database. Any expert opinions? But I won't worry about that much right now. I will post on another forum for request to analyze my website. Once again, thanks all of you. -- Reality is an illusion caused due to lack of alcohol. -- We are never too old to learn something new.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.