Jump to:

1835 Posts in 1139 Topics by 554 members

Blog Module

SilverStripe Forums » Blog Module » Error installing blog

Discuss the Blog Module.

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

Page: 1
Go to End
Author Topic: 950 Views
  • Webdoc
    Avatar
    Community Member
    329 Posts

    Error installing blog Link to this post

    Source

    268    /**
    269     * Used by <% include Identifier %> statements to get the full
    270     * unparsed content of a template file.
    271     *
    272     * @uses getTemplateFile()
    273     * @param string $identifier A template name without '.ss' extension or path.
    274     * @return string content of template
    275     */
    276    public static function getTemplateContent($identifier) {
    277       return file_get_contents(SSViewer::getTemplateFile($identifier));
    278    }
    279    
    280    /**
    281     * @ignore
    282     */
    283    static private $flushed = false;

    Trace

    * file_get_contents()
    Line 277 of SSViewer.php
    * SSViewer::getTemplateContent(BreadCrumbs)
    Line 2 of SSViewer.php(396) : runtime-created function
    * __lambda_func(Array)
    * preg_replace_callback(/<% include +([A-Za-z0-9_]+) +%>/,�lambda_1141,<!-- template /home/np29154/domains/nobileteam.eu/public_html/blog/templates/Layout/BlogHolder.ss --> <% include BlogSideBar %> <div id="BlogContent" class="blogcontent typography"> <% include BreadCrumbs %> <% if Tag %> <h3><% _t('VIEWINGTAGGED', 'Viewing entries tagged with') %> '$Tag'</h3> <% end_if %> <% if BlogEntries %> <% control BlogEntries %> <% include BlogSummary %> <% end_control %> <% else %> <h3><% _t('NOENTRIES', 'There are no blog entries') %></h3> <% end_if %> <% include BlogPagination %> </div> <!-- end template /home/np29154/domains/nobileteam.eu/public_html/blog/templates/Layout/BlogHolder.ss -->)
    Line 396 of SSViewer.php
    * SSViewer::parseTemplateContent(<% include BlogSideBar %> <div id="BlogContent" class="blogcontent typography"> <% include BreadCrumbs %> <% if Tag %> <h3><% _t('VIEWINGTAGGED', 'Viewing entries tagged with') %> '$Tag'</h3> <% end_if %> <% if BlogEntries %> <% control BlogEntries %> <% include BlogSummary %> <% end_control %> <% else %> <h3><% _t('NOENTRIES', 'There are no blog entries') %></h3> <% end_if %> <% include BlogPagination %> </div> ,/home/np29154/domains/nobileteam.eu/public_html/blog/templates/Layout/BlogHolder.ss)
    Line 321 of SSViewer.php
    * SSViewer->process(BlogHolder_Controller)
    Line 346 of SSViewer.php
    * SSViewer->process(BlogHolder_Controller)
    Line 175 of Controller.php
    * Controller->handleAction(HTTPRequest)
    Line 129 of RequestHandler.php
    * RequestHandler->handleRequest(HTTPRequest)
    Line 122 of Controller.php
    * Controller->handleRequest(HTTPRequest)
    Line 29 of ModelAsController.php
    * ModelAsController->handleRequest(HTTPRequest)
    Line 277 of Director.php
    * Director::handleRequest(HTTPRequest,Session)
    Line 121 of Director.php
    * Director::direct(/blog/)
    Line 118 of main.php

    How to fix this

  • Webdoc
    Avatar
    Community Member
    329 Posts

    Re: Error installing blog Link to this post

    Im using the dreamy template
    silverstripe 2.3.2
    and the newest blog 0.2.1.

    950 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.