Page 1 of 1
Quick and Easy Template Error codes
Posted:
Wed Jun 09, 2010 12:24 pm
by gailmarcarelli
I am using the Quick and Easy Template and each time I publish a page I get the following errors:
Dragonfly2 [183]: Template Error: LOOP has illegal options GLOBAL_Cross_Sell
Dragonfly2 [184]: Template Error: Shopping Cart tag illegal for this type of template
Dragonfly2 [185]: Template Error: END_LOOP tag does not have a matching LOOP tag
I would greatly appreciate anyone's help in resolving these.
Posted:
Wed Jun 09, 2010 12:44 pm
by BFChris
Did you modify the template?
Posted:
Wed Jun 09, 2010 12:58 pm
by gailmarcarelli
Not that I am aware of.
Here is the code. Thanks so much for your help.
[-- DEFINE LINK_TO_PAGE --]
<a href="[-- OUTPUT_DIRECTORY_URL --]/[-- PAGE.FileName --]">
[-- IF PAGE.LinkGraphic --][-- PAGE.LinkGraphic --]<br>[-- END_IF --]
[-- IF PAGE.LinkName --][-- PAGE.LinkName --][-- ELSE --][-- PAGE.Name --][-- END_IF --]</a>
[-- IF PAGE.LinkText --]<br>[-- PAGE.LinkText --][-- END_IF --]
[-- END_DEFINE LINK_TO_PAGE --]
[-- DEFINE PAGE --]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!--the layout and text stylesheets-->
<link href="css/text_n_colors.css" media="all" rel="stylesheet" />
<link href="css/2_col.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="main_wrapper">
<div id="nav">
<div id="nav_inner">
<img src="images_pres/DragonflyWebMockUp_02.gif" width="150" height="283" alt="Dragonfly Kitefsurfing Logo" />
<p> </p>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="dragonflyShipping.html">Shipping Costs</a></li>
<li><a href="dragonflyTrack.html">Track Orders</a></li>
<li><a href="dragonflyReturns.html">Returns</a></li>
<li><a href="dragonflyContact.html">Contact Us</a></li>
</ul>
<h3>Partners</h3>
<ul>
<li><a href="#">Pique Creative Group</a></li>
<li><a href="#">Island Getaways</a></li>
</ul><!-- end nav_inner -->
</div></div><!-- end nav -->
<div id="header">
<div id="header_inner">
<img src="images_pres/DragonflyWebMockUp_03.gif" width="675" height="76" alt="Dragonfly Kiteboaring" /><!-- end header_inner --></div>
<!-- end header --></div>
<div id="dropmenu">
<div id="dropmenu_inner">
<ul>
<li><a href="#">Apparel</a>
<ul>
<li><a href="dragonflyTshirts.html"> T-Shirts</a></li>
<li><a href="dragonflyPolo.html">Polo Shirts</a></li>
<li><a href="dragonflyLadiesT.html">Ladies T-Shirts</a></li>
<li><a href="dragonflyRashguards.html">Rashguards</a></li>
<li><a href="dragonflyBoardShorts.html">Board Shorts</a></li>
<li><a href="dragonflyHats.html">Hats</a></li>
</ul>
</li>
<li><a href="dragonflyBeachBags.html">Beach Bags</a></li>
<li><a href="dragonflyTowels.html">Towels</a></li>
<li><a href="dragonflyLicensePlates.html">License Plates</a></li>
<li><a href="dragonflyStickers.html">Stickers</a></li></ul>
[-- IF ANALYTICS_MULTI_DOMAIN --]
<form id="searchForm" action="[-- SHOPPING_CART_URL BASE --]/productsearch.cgi?storeid=[-- STORE.ID --]" method="post" onSubmit="javascript:__utmLinkPost(this)">
[-- ELSE --]
<form id="searchForm" action="[-- SHOPPING_CART_URL BASE --]/productsearch.cgi?storeid=[-- STORE.ID --]" method="post">
<nobr>
[-- END_IF --]
<input type=hidden name="storeid" value="[-- STORE.ID --]">
<nobr>
[-- STORE.Search --]
<input type="text" name="search_field" value="Type here" class="search" size="15" />
<input type="image" value="[-- STORE.Go --]" src="images_pres/goButton.gif" align="top" />
</nobr>
</form>
</div></div>
<div id="content">
<div id="content_inner">
<div style="background-color:#FFF">
<table width="100%">
[-- IF PAGE.DisplayPageHeader --]
<tr>
<td class="header">[-- HEADER --]</td>
</tr>
[-- END_IF --]
[-- IF PAGE.DisplayName --]
[-- IF PAGE.Name --]
<tr>
<td class="PageName"><h1>[-- PAGE.Name --]</h1></td>
</tr>
[-- END_IF --]
[-- END_IF --]
[-- VAR.PageGraphic "" --]
[-- IF PAGE.DisplayGraphic --]
[-- IF PAGE.Graphic --]
[-- VAR.PageGraphic PAGE.Graphic --]
<tr>
<td class="PageName"><img [-- PAGE.Graphic REMOVE_HTML --] align="middle"></td>
</tr>
[-- END_IF --]
[-- END_IF --]
[-- IF PAGE.Text1 --]
<tr>
<td>[-- PAGE.Text1 --]</td>
</tr>
[-- END_IF --]
[-- INCLUDE Page-Layout PROCESS --]
[-- IF PAGE.NumLinks 0 --]
# skip this section
[-- ELSE --]
<tr>
<td>
<table class="Products" width="100%" align="center" border="[-- VAR.border --]" cellpadding="3">
[-- LOOP LINKS PAGE.Columns --]
<td valign="top" align="[-- VAR.align --]">[-- LINK --]</td>
[-- END_LOOP LINKS --]
</table>
</td>
</tr>
[-- END_IF --]
[-- IF PAGE.Text2 --]
<tr>
<td>[-- PAGE.Text2 --]</td>
</tr>
[-- END_IF --]
[-- IF PAGE.NumProducts 0 --]
# skip this section
[-- ELSE --]
<tr>
<td>
<table class="Products" width="100%" align="center" border="[-- VAR.border --]" cellpadding="3">
[-- LOOP PRODUCTS PAGE.Columns --]
<td valign="top" align="[-- VAR.align --]">[-- PRODUCT --]</td>
[-- END_LOOP PRODUCTS --]
</table>
</td>
</tr>
[-- END_IF --]
<!-- Multi-Page Links -->
[-- IF PAGE.ProductsPerPage "0" --]
# do nothing
[-- ELSE --]
<tr>
<td><div class="footer">[-- PREVNEXT --]</div></td>
</tr>
[-- END_IF --]
[-- IF ShopSiteSecurityImage --]
<tr>
<td><div class="footer">[-- ShopSiteSecurityImage --]</div></td>
</tr>
[-- END_IF --]
[-- IF PAGE.DisplayPageFooter --]
[-- IF FOOTER "" --]
# do nothing
[-- ELSE --]
<tr>
<td class="footer">[-- FOOTER --]</td>
</tr>
[-- END_IF --]
[-- END_IF --]
[-- IF PAGE.Text3 --]
<tr>
<td>[-- PAGE.Text3 --]</td>
</tr>
[-- END_IF --]
</table>
[-- IF Page.GlobalCrossSell --]
<table class="gcs_table">
<caption>[-- STORE.GlobalCrossSellHeader --]</caption>
[-- LOOP GLOBAL_Cross_Sell 3 --]
<td class="gcs_table_content">[-- GLOBAL_CROSS_SELL --]</td>
[-- END_LOOP Global_Cross_Sell --]
</table>
[-- END_IF --]
</div>
</div>
<!-- end content_inner -->
</div>
<!-- end content -->
<div id="footer">
<div id="footer_inner">
<p>© 2010 Dragonfly Kitesurfing, Pique Creative Group</p>
</div><!-- end footer_inner -->
</div><!-- end footer -->
</div><!--end main wrapper-->
</body>
</html>
[-- END_DEFINE PAGE --]
Re: Quick and Easy Template Error codes
Posted:
Wed Oct 06, 2010 12:17 pm
by linknewtech
Did you ever get this fixed? I am having the same exact problem!
store.html [158]: Template Error: LOOP has illegal options GLOBAL_Cross_Sell
store.html [159]: Template Error: Shopping Cart tag illegal for this type of template
store.html [160]: Template Error: END_LOOP tag does not have a matching LOOP tag
is what i get using a custom template. which is below
[-- DEFINE LINK_TO_PAGE --]
<a href="[-- OUTPUT_DIRECTORY_URL --]/[-- PAGE.FileName --]">
[-- IF PAGE.LinkGraphic --][-- PAGE.LinkGraphic --]<br>[-- END_IF --]
[-- IF PAGE.LinkName --][-- PAGE.LinkName --][-- ELSE --][-- PAGE.Name --][-- END_IF --]</a>
[-- IF PAGE.LinkText --]<br>[-- PAGE.LinkText --][-- END_IF --]
[-- END_DEFINE LINK_TO_PAGE --]
[-- DEFINE PAGE --]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="Qwik Draw state of the art, automotive service equipment, which means the elimination of spillage of hazardous automotive fluids on the shop floor and avoiding costly fines.">
<meta name="keywords" content="Coolant Change, coolant flush, flush">
<title>Untitled Document</title>
<!--[if IE 5]>
<style type="text/css">
/* place css box model fixes for IE 5* in this conditional comment */
.twoColFixLtHdr #sidebar1 { width: 230px; }
</style>
<![endif]-->
<!--[if IE]>
<style type="text/css">
/* place css fixes for all versions of IE in this conditional comment */
.twoColFixLtHdr #sidebar1 { padding-top: 30px; }
.twoColFixLtHdr #mainContent { zoom: 1; }
/* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
</style>
<![endif]-->
<link href="store.css" rel="stylesheet" type="text/css"><style type="text/css">
<!--
-->
</style></head>
<body class="twoColFixLtHdr">
<div id="shadow">
<div id="container">
<div class="extraheader"></div>
<div id="header">
<div id="storebtns" class="fltlft"><a href="home.html">Home</a></div>
<div id="storebtns" class="fltlft"><a href="aboutus.html">About Us</a></div>
<div id="storebtns" class="fltlft"><a href="lntproducts.html">LinkNewTech</a></div>
<div id="storebtns" class="fltlft"><a href="qdproducts.html">QwikDraw</a></div>
<div id="storebtns" class="fltlft"><a href="pxproducts.html">Power Xtreme</a></div>
<div id="storebtns" class="fltlft"><a href="contactus.html">Contact us</a></div>
<div id="storebtns" class="fltlft"><a href="links.html">Links</a></div>
</div>
<div id="mainContent">
<table width="100%">
[-- IF PAGE.DisplayPageHeader --]
<tr>
<td class="header">[-- HEADER --]</td>
</tr>
[-- END_IF --]
[-- IF PAGE.DisplayName --]
[-- IF PAGE.Name --]
<tr>
<td class="PageName"><h1>[-- PAGE.Name --]</h1></td>
</tr>
[-- END_IF --]
[-- END_IF --]
[-- VAR.PageGraphic "" --]
[-- IF PAGE.DisplayGraphic --]
[-- IF PAGE.Graphic --]
[-- VAR.PageGraphic PAGE.Graphic --]
<tr>
<td class="PageName"><img [-- PAGE.Graphic REMOVE_HTML --] align="middle"></td>
</tr>
[-- END_IF --]
[-- END_IF --]
[-- IF PAGE.Text1 --]
<tr>
<td>[-- PAGE.Text1 --]</td>
</tr>
[-- END_IF --]
[-- INCLUDE Page-Layout PROCESS --]
[-- IF PAGE.NumLinks 0 --]
# skip this section
[-- ELSE --]
<tr>
<td>
<table class="Products" width="100%" align="center" border="[-- VAR.border --]" cellpadding="3">
[-- LOOP LINKS PAGE.Columns --]
<td valign="top" align="[-- VAR.align --]">[-- LINK --]</td>
[-- END_LOOP LINKS --]
</table>
</td>
</tr>
[-- END_IF --]
[-- IF PAGE.Text2 --]
<tr>
<td>[-- PAGE.Text2 --]</td>
</tr>
[-- END_IF --]
[-- IF PAGE.NumProducts 0 --]
# skip this section
[-- ELSE --]
<tr>
<td>
<table class="Products" width="100%" align="center" border="[-- VAR.border --]" cellpadding="3">
[-- LOOP PRODUCTS PAGE.Columns --]
<td valign="top" align="[-- VAR.align --]">[-- PRODUCT --]</td>
[-- END_LOOP PRODUCTS --]
</table>
</td>
</tr>
[-- END_IF --]
<!-- Multi-Page Links -->
[-- IF PAGE.ProductsPerPage "0" --]
# do nothing
[-- ELSE --]
<tr>
<td><div class="footer">[-- PREVNEXT --]</div></td>
</tr>
[-- END_IF --]
[-- IF ShopSiteSecurityImage --]
<tr>
<td><div class="footer">[-- ShopSiteSecurityImage --]</div></td>
</tr>
[-- END_IF --]
[-- IF PAGE.DisplayPageFooter --]
[-- IF FOOTER "" --]
# do nothing
[-- ELSE --]
<tr>
<td class="footer">[-- FOOTER --]</td>
</tr>
[-- END_IF --]
[-- END_IF --]
[-- IF PAGE.Text3 --]
<tr>
<td>[-- PAGE.Text3 --]</td>
</tr>
[-- END_IF --]
</table>
[-- IF Page.GlobalCrossSell --]
<table class="gcs_table">
<caption>[-- STORE.GlobalCrossSellHeader --]</caption>
[-- LOOP GLOBAL_Cross_Sell 3 --]
<td class="gcs_table_content">[-- GLOBAL_CROSS_SELL --]</td>
[-- END_LOOP Global_Cross_Sell --]
</table>
[-- END_IF --]
</div>
<div id="footer">
<table width="100%" border="0" cellpadding="0" cellspacing="0" id="footertb">
<tr>
<th width="10%" height="31" scope="col"><a href="http://www.facebook.com/pages/LINK-NEW-TECH-INC-QWIK-DRAW-POWER-XTREME/126992820672994?ref=search" target="_blank"><img src="media/cartelements/Facebookicon.png" width="31" height="31" alt="Qwikdraws Facebook" /> </a> <a href="http://www.youtube.com/user/linknewtech" target="_blank"><img src="media/cartelements/Youtubeicon.png" width="31" height="31" alt="Qwik Draw Youtube" /></a></th>
<th width="11%" scope="col"><p>P: (210) 945-3900</p></th>
<th width="13%" align="center" scope="col"><p>F: (210) 945-3903</p></th>
<th width="46%" scope="col"><p><a href="http:www.linknewtech.com">LinkNewTech</a>™ : <a href="http://www.qwikdraw.com">QwikDraw</a>™ : <a href="http://www.powerextreme.com">Power Extreme</a>™ : CopyRight © 2010</p></th>
<th width="20%" scope="col"><p>Designed by <a href="http://www.linknewtech.com">LinkNewTech</a></p></th>
</tr>
</table>
</div>
</div>
</div>
</body>
</html>
[-- END_DEFINE PAGE --]
Any help would be greatly appreciated.
Thanks.
Re: Quick and Easy Template Error codes
Posted:
Wed Oct 06, 2010 12:39 pm
by BFChris
I think the problem is that the GLOBAL_Cross_Sell tag can only be used in the cart, not in a page/product template, depending on your product version. GLOBAL Cross Sells on store pages were not possible until v10 SP1.
Re: Quick and Easy Template Error codes
Posted:
Wed Oct 06, 2010 12:58 pm
by linknewtech
I see, I looked at my store at it's version "ShopSite® Pro 10 r7.2" .. no sp1 or 2. I'm been telling Ipower my host, to upgrade me to Version SP2, at first only because I like the BackOffice Gui Color Scheme alot better, but now I see that 10 r7.2 is missing vital features like the one you just pointed out and also you can't upload any css publish files. Ipower has reset my store like 5 times but it's still R7.2, i'm not sure what there gonna have to do to get me sp2 but i need it.
Thanks for your help, your answer greatly appreciated.
Re: Quick and Easy Template Error codes
Posted:
Wed Apr 27, 2011 12:00 pm
by satamusic
a year later, they have not upgraded to 10.2.
04/27/2011 2:14 PM EDT Ticket Created
04/27/2011 2:14 PM EDT Updated Ticket: Work in Progress
04/27/2011 2:37 PM EDT IPOWER contacted Jose M. (Resolved)
Comment:
Hello Cesar,
Currently you are using ShopSite® Pro 10 r7.4 version. Currently we are providing shopsite version 10 to our customers. And regarding the future upgrdae , we can't give exact time frame.
If you have any further questions, please update the Support Console.
Sincerely,
Damaris Garza
Technical Specialist
04/27/2011 2:52 PM EDT Jose M. contacted IPOWER
Customer Quote:
http://shopsite.com/news_10_2_released.html says here current users (ipower) can upgrade for free.
ShopSite lists you as a partner in this press release.
Do they know you refuse to offer the latest version?
Why have you not upgraded?
Should I start looking atr one of the other partners they list? (NTT/Verio, IPOWER, PowWeb, FatCow, LexiConn, pair Networks, and YourHost.com)
Sincerely,
-Cesar
Re: Quick and Easy Template Error codes
Posted:
Sat Nov 05, 2011 8:31 am
by barbiebedia
did you modify this?
the 4.line is incorrect for me