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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

adding a page type, a couple of questions....

Go to End

11 Posts   2879 Views


Forum Moderator, 224 Posts

8 September 2007 at 11:58am

Hmmm, that is very funny!

The draft site works fine, but the real site does not work! I am getting the following error:

FATAL ERROR: None of these templates can be found:,<br />
At line 53 in /home/winsboroughconz/www/sapphire/core/SSViewer.php<br />

The cms is in perfect order.

I did delete all the php files in my code page, and thus, for a moment, the pages did not have the right template files available (I rebuilt the database).

Then I put everything back in.

I just checked my CMS, everything is in perfect order.

Hmmm, I going to reinstall from scratch I think.

Thanks for all your help



Forum Moderator, 922 Posts

8 September 2007 at 12:12pm

A less drastic measure would be just dropping the database, and rebuilding it (providing you don't need any of the data in it).



Forum Moderator, 224 Posts

8 September 2007 at 12:51pm


I just worked out what is going on.

Firstly, yes, you get an error if a page is of a template style that no longer exists and you rebuild the database. However, you can rectify this by changing the template in the CMS. No sweat there. Luckily it does not cause a meltdown.

What I did is that I added icons to the pages in the CMS. That works nice, because you can immediately see what type of page it is. However, what I noticed is that you can not see the status of the page anymore (e.g. draft, published, etc...). So I did not realise that the pages had not been published yet. A quick "publishAll" did wonders!

Thanks again for all your help. Now I have to find out how I can show the status of the page. Or perhaps I am thinking about just adding a publishAll button.



Go to Top