Quote Originally Posted by jettrue View Post
Whenever that happens, that means there is a missing closing div somewhere. Not too long ago I replied to someone else that had the same issue. See if this helps:

http://www.zen-cart.com/forum/showpo...&postcount=137
The code on my tpl_time_out_default is the same as above, which is the stock template in the template_default folder. I get the same error when clicking on checkout in the header without any content in the cart and there aren't any missing<div> or </div> tags.

There isn't a checkout link in the classic template without going through the shopping cart so I can't compare, but is there a way to write a function like "if shopping cart contents=0 then checkout link redirects to homepage(or some other page), if shopping cart contents= >0 then link goes to checkout"? It seems as if having a link to checkout with nothing in the cart breaks the template. Perhaps a function could be written to only show the checkout link in the header if there are items in the cart?

Matt