strange error message

General ShopSite user discussion

strange error message

Postby Liver Kid » Wed Aug 10, 2005 3:07 pm

I'm using Shop Site Manager 7.1

I've created a new page template and assign it to one of my pages. When I
click "Publish" I get this error message:

Generating Page [14:Deux Par Deux2]...
Adding Product [Deux Par Deux B904 S]...
pagetemplateoriginal.html [156]: Template Error: Product tag not allowed
Adding Product [Deux Par Deux G409 L]...
pagetemplateoriginal.html [156]: Template Error: Product tag not allowed
Adding Product [Deux Par Deux G819 S]...
pagetemplateoriginal.html [156]: Template Error: Product tag not allowed

What makes it strange is taht even though I get this error messages, the
changes I wanted to affect had indeed been made (I simply added a table with
a text navigation at the bottom).

If I revert back to the prior pagetemplate I was using, then publish, I get
no error messages. If I rename the one that works, then publish, I get the
same error message as displayed above. This implies that the error message
has nothing to do with any changes I've made to the template, but has
something to do with when the tempalte is applied to an existing page.

Any ideas on what is causing this error message and how to keep it from
happening?

Thanks
Liver Kid
 

Re: strange error message

Postby Jim » Wed Aug 10, 2005 3:22 pm

The problem indicated is that a product tag is being used on a page
template. the error is on line 156 of your template
pagetemplateoriginal.html. Check that line and see if you can find a
product tag or perhaps a tag that isn't properly closed.

Jim

Liver Kid wrote:
I'm using Shop Site Manager 7.1

I've created a new page template and assign it to one of my pages. When I
click "Publish" I get this error message:

Generating Page [14:Deux Par Deux2]...
Adding Product [Deux Par Deux B904 S]...
pagetemplateoriginal.html [156]: Template Error: Product tag not allowed
Adding Product [Deux Par Deux G409 L]...
pagetemplateoriginal.html [156]: Template Error: Product tag not allowed
Adding Product [Deux Par Deux G819 S]...
pagetemplateoriginal.html [156]: Template Error: Product tag not allowed

What makes it strange is taht even though I get this error messages, the
changes I wanted to affect had indeed been made (I simply added a table with
a text navigation at the bottom).

If I revert back to the prior pagetemplate I was using, then publish, I get
no error messages. If I rename the one that works, then publish, I get the
same error message as displayed above. This implies that the error message
has nothing to do with any changes I've made to the template, but has
something to do with when the tempalte is applied to an existing page.

Any ideas on what is causing this error message and how to keep it from
happening?

Thanks

Jim
 

Re: strange error message

Postby Liver Kid » Wed Aug 10, 2005 4:47 pm

Here are lines 155 through 157

<td>
[-- PRODUCT --][-- PRODUCT.ProductDescription --]
</td>

These are lines used in a template called pagetemplate.html and it works
perfect. If I take that exact same template and simply rename it
pagetemplateoriginal.html and assign it to a particular page, I get the
error message you see below. It's exactly the same template, only with a
different name.

I have another page template with the changes I referred to in my first
post. The changes take affect, but I get the same error message.

Thanks for your response.




"Jim" <jstavast@xmission.com> wrote in message
news:ddduk1$5n5$1@eval.shopsite.com...
The problem indicated is that a product tag is being used on a page
template. the error is on line 156 of your template
pagetemplateoriginal.html. Check that line and see if you can find a
product tag or perhaps a tag that isn't properly closed.

Jim

Liver Kid wrote:
I'm using Shop Site Manager 7.1

I've created a new page template and assign it to one of my pages. When
I
click "Publish" I get this error message:

Generating Page [14:Deux Par Deux2]...
Adding Product [Deux Par Deux B904 S]...
pagetemplateoriginal.html [156]: Template Error: Product tag not
allowed
Adding Product [Deux Par Deux G409 L]...
pagetemplateoriginal.html [156]: Template Error: Product tag not
allowed
Adding Product [Deux Par Deux G819 S]...
pagetemplateoriginal.html [156]: Template Error: Product tag not
allowed

What makes it strange is taht even though I get this error messages, the
changes I wanted to affect had indeed been made (I simply added a table
with
a text navigation at the bottom).

If I revert back to the prior pagetemplate I was using, then publish, I
get
no error messages. If I rename the one that works, then publish, I get
the
same error message as displayed above. This implies that the error
message
has nothing to do with any changes I've made to the template, but has
something to do with when the tempalte is applied to an existing page.

Any ideas on what is causing this error message and how to keep it from
happening?

Thanks

Liver Kid
 

Re: strange error message

Postby jim » Wed Aug 10, 2005 7:58 pm

I'm assuming that the code surrounding the lines 155 to 157 are
[-- Loop Products --]
....

<td>
[-- PRODUCT --][-- PRODUCT.ProductDescription --]
</td>

....
[-- End_loop products --]

This part [-- PRODUCT.ProductDescription --] is not allowed in a page
template. The page knows nothing about the product information it only
knows what product are assigned to it. So having that tag there would do
nothing (other than cause the error). Remove the tag
[-- PRODUCT.ProductDescription --] and it should work.

Jim



Liver Kid wrote:
Here are lines 155 through 157

td
[-- PRODUCT --][-- PRODUCT.ProductDescription --]
/td

These are lines used in a template called pagetemplate.html and it works
perfect. If I take that exact same template and simply rename it
pagetemplateoriginal.html and assign it to a particular page, I get the
error message you see below. It's exactly the same template, only with a
different name.

I have another page template with the changes I referred to in my first
post. The changes take affect, but I get the same error message.

Thanks for your response.




"Jim" <jstavast@xmission.com> wrote in message
news:ddduk1$5n5$1@eval.shopsite.com...
The problem indicated is that a product tag is being used on a page
template. the error is on line 156 of your template
pagetemplateoriginal.html. Check that line and see if you can find a
product tag or perhaps a tag that isn't properly closed.

Jim

Liver Kid wrote:
I'm using Shop Site Manager 7.1

I've created a new page template and assign it to one of my pages. When
I
click "Publish" I get this error message:

Generating Page [14:Deux Par Deux2]...
Adding Product [Deux Par Deux B904 S]...
pagetemplateoriginal.html [156]: Template Error: Product tag not
allowed
Adding Product [Deux Par Deux G409 L]...
pagetemplateoriginal.html [156]: Template Error: Product tag not
allowed
Adding Product [Deux Par Deux G819 S]...
pagetemplateoriginal.html [156]: Template Error: Product tag not
allowed
What makes it strange is taht even though I get this error messages, the
changes I wanted to affect had indeed been made (I simply added a table
with
a text navigation at the bottom).

If I revert back to the prior pagetemplate I was using, then publish, I
get
no error messages. If I rename the one that works, then publish, I get
the
same error message as displayed above. This implies that the error
message
has nothing to do with any changes I've made to the template, but has
something to do with when the tempalte is applied to an existing page.

Any ideas on what is causing this error message and how to keep it from
happening?

Thanks



jim
 


Return to User Forum

Who is online

Users browsing this forum: No registered users and 28 guests

cron