Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2010
    Posts
    1
    Plugin Contributions
    0

    Default No </body> nor </html>

    Hello Forum,
    I am trying to set up a shop 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

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

    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!!!!

  2. #2
    Join Date
    Dec 2009
    Location
    Pinner
    Posts
    230
    Plugin Contributions
    1

    Default 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

  3. #3
    Join Date
    Dec 2009
    Location
    Pinner
    Posts
    230
    Plugin Contributions
    1

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

    Found it, try this

    http://www.zen-cart.com/forum/announ....php?f=13&a=12

    it should help your debugging.

  4. #4
    Join Date
    May 2005
    Location
    Bath, Somerset
    Posts
    1,053
    Plugin Contributions
    3

    Default 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

 

 

Similar Threads

  1. Product Description won't switch from WYSIWYG to HTML nor can I edit descriptions
    By LRS in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 6 Oct 2011, 11:37 PM
  2. Text emails showing &eacute; html code in body
    By roystik in forum General Questions
    Replies: 1
    Last Post: 11 Feb 2010, 09:48 PM
  3. Newsletter Title and Date in email body (HTML Template))
    By webform in forum General Questions
    Replies: 0
    Last Post: 6 May 2008, 04:47 PM
  4. Adding HTML link inside email body
    By Jandor in forum General Questions
    Replies: 1
    Last Post: 4 Feb 2008, 03:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg