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.

Blog Module /

Discuss the Blog Module.

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

Error installing blog


Go to End


2 Posts   1794 Views

Avatar
Webdoc

Community Member, 349 Posts

10 July 2009 at 4:31pm

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

Avatar
Webdoc

Community Member, 349 Posts

10 July 2009 at 4:44pm

Edited: 10/07/2009 4:45pm

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