Forums / General Questions / No </body> nor </html>

No </body> nor </html>

Locked

Views: 594

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
17 Jan 2010, 7:31 PM
#1
franca avatar

franca

New Zenner

Join Date:
Jan 2010
Posts:
1
Plugin Contributions:
0

No </body> nor </html>

Hello Forum,
I am trying to set up a shop https://www.classic-car-parts.nl. We have installed the latest Zen Cart , the latest image handler 2, lightbox and google analytics, we have made several changes in the stylesheet and the admin and somewhere along the line, the homepage no longer ends properly.

The last bit on the homepage is <!-- eof: featured products -->

So no <!--bof-navigation display -->
No google script and no proper page ending :dontgetit

The product pages and the EZ-pages work as they should. :blink:

Where should I be looking to solve this?
I have tried to search the forum, but am uncertain what keywords I should use to look for an answer...
Many thanks in advance!!!!

17 Jan 2010, 8:00 PM
#2
mattymatt avatar

mattymatt

Zen Follower

Join Date:
Dec 2009
Location:
Pinner
Posts:
234
Plugin Contributions:
1

Re: No </body> nor </html>

No </body> means that something has crashed in index.php before reaching the end of the page. You need to check the page load order which would be after

<!-- eof: featured products -->

on a default ZC install the next thing loaded appears to be

<!--// bof: information //--> <!--// bof: moreinformation //-->

and it goes on rather a lot, best probably to rule out the files you are sure you modifed by putting

<?php echo "HELLO".__FILE__ ?>

in each file which will display it's filename and HELLO if it loads, there's also some options about "display XXX" on the home page, so something could have gone wrong with a configuration option. It does appear to be tpl_main_page specific. DrByte has an error loggin facilty. I think what you need to search for is "blank page" seriously as there are some instructions on how to turn on error reporting.

Matt

securemyzen.co.uk

17 Jan 2010, 8:05 PM
#4
absolute avatar

absolute

Totally Zenned

Join Date:
May 2005
Location:
Bath, Somerset
Posts:
1,054
Plugin Contributions:
2

Re: No </body> nor </html>

Take a look at teh error reporting tool here. Install that, and it'll show you where your code is failing.

Absolute

Back, after a 4 year absence! Did you miss me?
Absolute Web Solutions Ltd
Interested in our work? Take a look at one of our sites - The Tech Store

17 Jan 2010, 8:05 PM
#5
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,678
Plugin Contributions:
0

Re: No </body> nor </html>

The <body> tags are in your tpl_main_page and the </html> is in the root index.php

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.