I am experiencing a similar problem after upgrading to 2.3.2. It was working for days, it seems, but now I can't even get to the url.
It's probably something obvious, but I can't seem to fix it. Please help!
Below is the error description:
[Warning] file_get_contents() [function.file-get-contents]: Filename cannot be empty
GET /
Line 277 in /home/feverpea/public_html/atgvw/silverstripe/sapphire/core/SSViewer.php
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(397) : runtime-created function
* __lambda_func(Array)
* preg_replace_callback(/<% include +([A-Za-z0-9_]+) +%>/,�lambda_6,<!-- template /home/feverpea/public_html/atgvw/silverstripe/themes/atg/templates/Layout/Page.ss --> <div class="postheader"> <h1>$Title</h1> </div> <div class="postcontent typography"> <% if Level(2) %> <% include BreadCrumbs %> <% end_if %> $Content $Form $PageComments </div> <!-- end template /home/feverpea/public_html/atgvw/silverstripe/themes/atg/templates/Layout/Page.ss -->)
Line 397 of SSViewer.php
* SSViewer::parseTemplateContent( <div class="postheader"> <h1>$Title</h1> </div> <div class="postcontent typography"> <% if Level(2) %> <% include BreadCrumbs %> <% end_if %> $Content $Form $PageComments </div>,/home/feverpea/public_html/atgvw/silverstripe/themes/atg/templates/Layout/Page.ss)
Line 321 of SSViewer.php
* SSViewer->process(Page_Controller)
Line 346 of SSViewer.php
* SSViewer->process(Page_Controller)
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 28 of ModelAsController.php
* ModelAsController->handleRequest(HTTPRequest)
Line 34 of RootURLController.php
* RootURLController->handleRequest(HTTPRequest)
Line 277 of Director.php
* Director::handleRequest(HTTPRequest,Session)
Line 121 of Director.php
* Director::direct(/)
Line 115 of main.php