Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Customising the CMS /

a few problems with the static publisher extension


Reply


2 Posts   1093 Views

Avatar
Anatol

126 Posts

21 April 2009 at 12:20pm

Edited: 21/04/2009 12:21pm

Hi,

I encountered a few problems with the [url=http://doc.silverstripe.org/doku.php?id=staticpublisher]static publisher extension[/url]. Nothing major but here it is:

I created a page with the title images. When I then run /dev/buildcache?flush=1 the script fails at the page images and for some reason is trying to find a template Image.ss (but no page requires an Image.ss template, and all pages are the standard page type).

Recently I also get a message that the header was already sent when the static publisher script comes to the sitemap.xml page. I'm using Silverstripe 2.3.1 . I don't think I had that problem before in SS 2.3.0.

For now I just renamed the 'images' site to something else and removed sitemap.xml from the $urls array.

Cheers!
Anatol

Avatar
Sam

Administrator, 685 Posts

27 April 2009 at 11:03am

The "images" URL is taken up by the image uploader field. This will probably be fixed in a future relelase.

The bug with sitemap.xml should be fixed in 2.3.2.