ZenphotoCMS Forum
Sitemap generating parse error - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html)
+--- Thread: Sitemap generating parse error (/thread-8043.html)



Sitemap generating parse error - kilby - 04-01-2011

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




Sitemap generating parse error - acrylian - 04-01-2011

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/




Sitemap generating parse error - kilby - 04-01-2011

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.




Sitemap generating parse error - acrylian - 04-01-2011

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.




Sitemap generating parse error - kilby - 05-01-2011

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




Sitemap generating parse error - sbillard - 05-01-2011

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.




Sitemap generating parse error - micheall - 05-01-2011

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




Sitemap generating parse error - acrylian - 05-01-2011

Just to note that that static html cache plugin has nothing to do with the sitemap. That has its own cache option.




Sitemap generating parse error - sbillard - 05-01-2011

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.