17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1491 Views |
-
Error while creating theme

1 May 2008 at 3:00pm
Hi all,
I had tired to create a new theme in C:\wamp\www\mimomax\themes folder and done changes like; SSViewer::set_theme('mythemename'); in C:\wamp\www\mimomax\tutorial\_config.php
when i went to published site & done ?flush=1 it come up with error like;
FATAL ERROR: None of these templates can be found: SiteTree.ss, DataObject.ss
At line 67 in C:\wamp\www\mimomax\sapphire\core\SSViewer.phpCan anyone suggest me what can i do to solve this error??????
-
Re: Error while creating theme

1 May 2008 at 7:43pm
might be a silly question but have you created the correct files in your theme/templates/ like Page.ss etc
-
Re: Error while creating theme

2 May 2008 at 2:02pm
thank you for advice i had created file page.ss for theme.
The actual problem was with the database, i got it solved -
Re: Error while creating theme

14 June 2008 at 3:59am
hi Mayuri, I have the same error, can you tell me how do you solve this error?
thanks
-
Re: Error while creating theme

16 June 2008 at 9:03am
Hi eldardavid,
At that my database was pointing to another files i had downloaded silverstripe 2 times in on my server and both were pointing to only one database while i had made changes of theme in the second database.
After changing my database address i got my problem solved.
One more thing to notice that after that i had not used
SSViewer::set_theme('mythemename');
in my _config.php file & it runs well as per my requirements.
| 1491 Views | ||
|
Page:
1
|
Go to Top |


