Jump to:

1385 Posts in 493 Topics by 522 members

Themes

SilverStripe Forums » Themes » Downloaded Themes Not Working....

Discuss SilverStripe Themes.

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

Page: 1
Go to End
Author Topic: 3127 Views
  • Thyestean
    Avatar
    Community Member
    2 Posts

    Downloaded Themes Not Working.... Link to this post

    Hey there,

    I downloaded on of the themes off the site just to check it out but there seems to be a problemo.... and it looks like this....

    "

    [Warning] None of these templates can be found: Page.ss, ContentController.ss
    GET /ss/merch/?stage=Live

    Line 171 in C:\wamp\www\ss\sapphire\core\SSViewer.php
    Source

    162                $this->chosenTemplates['main'] = $this->chosenTemplates[$templateFolder];
    163                unset($this->chosenTemplates[$templateFolder]);
    164             }
    165          }
    166
    167          if(isset($_GET['debug_request'])) Debug::message("Final template selections made: " . var_export($this->chosenTemplates, true));
    168
    169       }
    170
    171       if(!$this->chosenTemplates) user_error("None of these templates can be found: ". implode(".ss, ", $templateList) . ".ss", E_USER_WARNING);
    172
    173       parent::__construct();
    174    }
    175    
    176    /**
    177     * Returns true if at least one of the listed templates exists

    Trace

    * None of these templates can be found: Page.ss, ContentController.ss
    Line 171 of SSViewer.php
    * SSViewer->__construct(Array)
    Line 308 of Controller.php
    * Controller->getViewer(index)
    Line 175 of Controller.php
    * Controller->handleAction(HTTPRequest)
    Line 107 of RequestHandler.php
    * RequestHandler->handleRequest(HTTPRequest)
    Line 122 of Controller.php
    * Controller->handleRequest(HTTPRequest)
    Line 19 of ModelAsController.php
    * ModelAsController->handleRequest(HTTPRequest)
    Line 262 of Director.php
    * Director::handleRequest(HTTPRequest,Session)
    Line 106 of Director.php
    * Director::direct(/merch/)
    Line 115 of main.php

    "

    i put it in the correct folder and i changed the _config.php file

    please help

  • Harmonize Media
    Avatar
    Community Member
    1 Post

    Re: Downloaded Themes Not Working.... Link to this post

    I am having this issue as well. I have the latest version of Silverstripe installed and downloaded one of the themes from the .org website.

  • maggieo
    Avatar
    Community Member
    2 Posts

    Re: Downloaded Themes Not Working.... Link to this post

    I've had the same issue, I think its a difference between the new version of SS and the older themes. I even had a problem with the tutorial theme.

    I've resolved it by installing black candy when setting up SS and copying the contents of the stylesheets out of the theme I wanted into the blackcandy files.

    Hope that helps.

  • lxer
    Avatar
    Community Member
    16 Posts

    Re: Downloaded Themes Not Working.... Link to this post

    same issue here. and i'm using the blackcandy theme ...
    Could it be that it doesn't work when it is installed in a subfolder?

  • gaston
    Avatar
    Community Member
    24 Posts

    Re: Downloaded Themes Not Working.... Link to this post

    Salut,
    I can create this error message if I use a theme name that is not existing. So I guess, that your issue is related to a typo in the theme selection, upper/lower case mismatch or file protection of the theme folder.

    I hope, this helps,
    Mathias

  • D@ve
    Avatar
    Community Member
    1 Post

    Re: Downloaded Themes Not Working.... Link to this post

    It took me some very frustrating hours to found out that templates with underscores or camel case names generally lead to the upper error message...

    Works:
    - mytemplate

    Doesn't work:
    - my_template
    - MyTemplate
    - myTemaplte

    best regards
    Dave Remmel

  • Willr
    Avatar
    Forum Moderator
    5511 Posts

    Re: Downloaded Themes Not Working.... Link to this post

    It seems that theme names must be all lowercase and without any other characters.

    3127 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.