13 April 2010

SilverStripe: Failed To Install Theme. Why Oh Why, Babe?


If you are a user of SilverStripe too, I bet you have ever meet this kind of problem. What is your version of SilverStripe? Version 2.3.6? Higher or lower? Is this related? I guess so.. This is what I read in their forum.
Okay. This is my turn to speak. I am using SilverStripe Version 2.3.7, although actually you can found the 2.4.0 but I don't know where the file is. And the theme is wine.
After you unpacked the contents of the zip file into the /themes directory in your SilverStripe installation, then change to the themename by putting your theme file in this code:

SSViewer::set_theme("themename");
in your ./mysite/_config.php. I make a change to be like this:
SSViewer::set_theme("wine");
After all you have to flush it by yourHOMEPAGEurl?flush=1.

Yes. Yes. You are right. It works with theme which released in this year. But how about wine and older? Any idea or suggestion than change the theme?This is my full error code:

[Warning] file_get_contents() [function.file-get-contents]: Filename cannot be empty

GET /leiluv/?flush=1


Line 280 in C:\wamp\www\leiluv\sapphire\core\SSViewer.php



0 Hot Shots: