I've been using the CSS menu for some time now w/ ZenCart v. 1.3.7. I added selected few ezpages under different headings and it worked fine. Recently I experienced quite slow product pages loading in Firefox, (IE is fine). When trying to analize the problem with Web Developer validation tool showed me about 136 errors/warnings and most of them seems to be related to my added EZ pages links under the CSS menu headings. Analized page is;
http://www.all4coffee.com/index.php?...products_id=66
Here is a sample of the val;idation report page from Web Developer:
Validation Output: 139 Errors
for page
http://www.all4coffee.com/index.php?...products_id=66
Characters highlited in RED were shown as missing and the tool suggested to add them. The problem is that I have no idea where the code is generated...
then the reports goes on like so regarding other EZ pages links added to the CSS menu.1. Warning Line 106, Column 48: cannot generate system identifier for general entity "i d".
<li><a href="index.php?main_page=page& i d=12&chapter=0">Sign Up Bonus</a></li>
2. Error Line 106, Column 48: general entity "id" not defined and no default entity.
<li><a href="index.php?main_page=page& i d=12&chapter=0">Sign Up Bonus</a></li>
3. Warning Line 106, Column 50: reference not terminated by REFC delimiter.
<li><a href="index.php?main_page=page&id = 12&chapter=0">Sign Up Bonus</a></li>
4. Warning Line 106, Column 50: reference to external entity in attribute value.
<li><a href="index.php?main_page=page&id=12&chapter = 0">Sign Up Bonus</a></li>
5. Error Line 106, Column 50: reference to entity "id" for which no system identifier could be generated.
<li><a href="index.php?main_page=page&id=12 & chapter=0">Sign Up Bonus</a></li>
6. Info Line 106, Column 47: entity was defined here.
…<li><a href="index.php?main_page=page&id=12 & chapter=0">Sign Up Bonus</a></li>
7. Warning Line 106, Column 54: cannot generate system identifier for general entity "chapter". (c)
<li><a href="index.php?main_page=page & id=12&chapter=0">Sign Up Bonus</a></li>
8. Error Line 106, Column 54: general entity "chapter" not defined and no default entity.
<li><a href="index.php?main_page=page&id=12 & chapter=0">Sign Up Bonus</a></li>
I looked at my tpl_drop_menu.php which lists my edits to the CSS menu. Here is a relevant to the Web Developer's repost section of this file w/higlighted in red EZ Page link added:
Any guidance or help would be appreciated...<li class="submenu"><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a>
<ul class="level2">
<?php if ($_SESSION['customer_id']) { ?>
<li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a></li>
<li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a></li>
<!--<li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT_NEWSLETTERS, '', 'SSL'); ?>"><?php echo HEADER_TITLE_NEWSLETTERS; ?></a></li>-->
<?php } else { ?>
<li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a></li>
<li><a href="<?php echo zen_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CREATE_ACCOUNT; ?></a></li>
<li><a href="index.php?main_page=page&id=12&chapter=0"><?php echo HEADER_TITLE_SIGNUP_BONUS; ?></a></li>
<?php } ?>
</ul>
</li>


Reply With Quote


