Hi Guys,
I'm in process of modifying a site (still can't share the URL I'm afraid, but the info here will hopefully help someone help me?).
It was all going really well and I'm at the finishing touches stage.
My usual process of development when tweaking things in code/css/admin is to make a change and refresh the page to see what happened.
The site I'm working on suddenly developed a major problem in that the only code now being generated at page render is the HEAD section. I get everything down to the closing HEAD tag, and thats it - no BODY tag and nothing from there onwards... blank page.
I was shocked when this happened - I thought some external force had affected it, but it must have been something I've done as I know that nothing else was beng done on the site by anyone at the time. No database upgrades, no site files updates - nothing changed in the database (other than adding a couple of new categories and images I'm told). I could understand this potentially breaking something further down the render stream, but not chopping things off before the BODY tag?
So, I'm after some advice as to which files I should check that are going to affect this portion of the render stream. I'm getting a better undestanding of the system as a whole, but there's so many files that it can be a little overwhelming sometimes.
I've found the file that actually outputs the BODY tag (php), but couldn't see anything wrong in there last night, although it was getting very late... but there's no override for this file in the site so if it does have a fault in there now (maybe I edited it accidentally?) then it will be in this file.
Bearing in mind that I haven't modified this file (to my knowledge), I'm stumped as to what went wrong.
I recall being in the admin system at the time, looking int modifying the home page of the site (centre panel contents) - added some text to the relevant define_main_page.php file (via admin) saved it, checked it, saw what it affected and where, removed the text again... somewhere after I did this, it went pear shaped. Admin still works fine.
Currently, I'm looking at taking a copy of all my modified files (for safe keeping) - re-uploading the original zen cart site to make sure that works, then uploading my changed files/overrides one at a time until it breaks again.
In the meantime (as I can't get to do this until late this evening - approx 10 hours from now) - I was hoping that maybe someone else has done something similar and might knwo what it is that I've done, and how to fix it
Sorry for the really long post - there's a lot of detail needed for solving these sorts of issues and I've probably only scratched the surface!
Cheers,
Rob






- I searched the forums for quite a while but found nothing suitable... 


