Sitemap generating parse error

I am running Zenphoto 1.4 with Zenpage active and the ZPfocus theme.
I have recently activated the google sitemap plugin however when I checked the results in Google it said it was seeing a Html page.
When I run the page manually www.jameskilby.net/sitemap.php my server shows the error
"This page contains the following errors:

error on line 1080 at column 23: xmlParseEntityRef: no name
Below is a rendering of the page up to the first error."

Then shows the top part of the XML page.
I dont have another server\build to test against and I cant work out what is causing the parse issue. Any help would be appreciated

Comments

  • acrylian Administrator, Developer
    The sitemap is no longer called this way. it is now called by `?sitemap`. The root sitemap.php file is no obsolete.

    Please read also: http://www.zenphoto.org/2011/01/zenphoto-1-4/
  • Thanks for the very swift response.
    I have also tried with this method ie
    www.jameskilby.net?sitemap

    I still get
    This page contains the following errors:

    error on line 1080 at column 23: xmlParseEntityRef: no name
    Below is a rendering of the page up to the first error.
  • acrylian Administrator, Developer
    Please look at the cached file that should be within `cache-html/sitemap`. Please attach it to a ticket so we can take a look. Also try to disable the sitemap cache on the plugin options.
  • I have had a look in the cache-html/sitemap and there is no file there. Would it only end up there after its generated?

    I have also turned off static html cache
  • I hope that turining off the Static cache fixes it for you. If not you will have to find some way to capture the output. We need to look and see what is generated otherwise we are flying blind.
  • Check your php log. I believe I was getting a similar error and reported a ticket which has since been fixed with the nightly. I reported the php error though, so you might want to see if your error log shows the same as I reported here:

    http://www.zenphoto.org/trac/ticket/1775
  • acrylian Administrator, Developer
    Just to note that that static html cache plugin has nothing to do with the sitemap. That has its own cache option.
  • Note also that there is an alternative to using the nightly build for those who wish less risk of new features: http://www.zenphoto.org/trac/ticket/1776

    Significant fixes to the base 1.4 release are placed here, so check if you are having a problem.
Sign In or Register to comment.