I had custom "page" and "product" templates the whole time actually... They
were working until today while I was making some changes, although the
changes I made were not very drastic. I do not get any error messages when
publishing. I did notice that on the search page (which is not a custom
template) I get an error as follows:
-----
The server encountered an internal error and was unable to complete your
request.
Error message:
Premature end of script headers: productsearch.cgi
-----
Every time I publish my home page, view the published page, and view its
source, it ends in the middle of an image tag, although it ends in a
different place each time...
e.g.:
<IMG SRC="media/images/add-to-cart.gif" BOR
<IMG SRC="media/images/add-to-c
<IMG SRC="media/images/ad
<IMG SRC="media/images/add-to-cart.gi
....and so on.
When I publish, the progress bar doesn't get very far. This is the same for
both publishing from a single page change, and for regenerating the entire
site.
On the pages with the weird string on the bottom, those pages completely
render the way they're supposed to, but have the weird string after all
desired HTML code. I noticed that as I added more code (such as adding [--
Page.Text3 --] for example) to the template, the weird string's content
lengthened a bit each time.
The produced HTML seems to vary between publishes, even when no changes have
been made to the templates or data. It is as if the server gets to a point
and goes, "I can't go any farther." As if the disk is full and it can't
write anymore. I don't own the server it's on so I can't check to see if
that is the case. I'll be giving the host a call in the morning though.
What appears to be happening now when I try to regenerate the site is that
the home page attempts to regenerate, gets partial way, and then nothing
else regenerates.
Before, it also appeared that my INCLUDES were being placed in random
places, so I got rid of the includes and coded them into the page templates,
which seemed to solve that one particular problem.
Thanks,
Matt
"jim" <jstavast@xmission.com> wrote in message
news:dkukbi$i51$1@eval.shopsite.com...
Sounds like template issues. Was it publishing before you changed to your
custom templates? Did the problem only happen after you changed to your
custom templates or have you seen it using ShopSite's templates too? If
you change back to ShopSite templates does the store publish?
Are there any error message that display on the publish screen below the
progress bar?
Jim
Matthew J. Drollinger wrote:
I'm new to ShopSite, yet I believe it is not my code that is causing what
is happening here.
I have made some custom templates. Today, when I published pages, some
of the pages (on the live site) only end up getting about half the page's
HTML code. On pages that did fully process, there's a string of text on
the bottom (that loads after the closing </HTML> tag, that looks like:
ààðÐHH8!ˆ%ð&*`-.À2˜3°6¸90<è?0BxF
Even when two pages use the same template, they act differently.
Sometimes extra INCLUDE files are appended to the end of pages as well.
It seems random as to which include it chooses to append.
When I publish, the progress bar doesn't get past about 1 or 2% of the
way.
Is this a server issue?
Thanks,
Matt