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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Template Questions /

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

alway getting blackcandy ErrorPage, why?


Go to End


2 Posts   1869 Views

Avatar
patte

Community Member, 63 Posts

12 March 2009 at 10:44pm

Edited: 13/03/2009 3:33pm

hi,

can anyone please tell me why I am always getting the blackcandy themes ErrorPage instead of my newly created own theme design?

In mysite/_config.php I set the theme: SSViewer::set_theme('my-new-theme');

Do I have to create my own errorpage.php within the code folder or do I have to modify an existing file to use my templates an css?

Thanks much!

patte

..oh, sorry for posting in 'Releases and Announcements', perhaps someone can move this in 'General Questions'.....? thx

Avatar
Willr

Forum Moderator, 5523 Posts

13 March 2009 at 3:33pm

Edited: 13/03/2009 3:33pm

Have you cleared your cache? It may have cached that template so view http://yoursite.com/some-page-that-will-throw-a-404. Other thing you can try is to make a 'ErrorPage.ss' in your theme and see if it uses that (which it should)