1776 Posts in 498 Topics by 533 members
Blog Module
SilverStripe Forums » Blog Module » [Warning] file_get_contents() [function.file-get-contents]:
Discuss the Blog Module.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 7850 Views |
-
[Warning] file_get_contents() [function.file-get-contents]:

16 April 2009 at 5:56am Last edited: 16 April 2009 9:56am
When i want go on blog page, i have this error
[Warning] file_get_contents() [function.file-get-contents]: Filename cannot be empty
GET /new-blogentry/?stage=LiveLine 277 in /home/groupecgl/www/sapphire/core/SSViewer.php
Source268 /**
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;I have added it SSViewer::set_theme(''); in _config.php of blog
and now i don't have error.But i dont see articles of the blog
-
Re: [Warning] file_get_contents() [function.file-get-contents]:

7 May 2009 at 6:25am Last edited: 7 May 2009 6:38am
I have this same issue, any ideas as to how to solve it ? Only happens when I use a theme other than blackcandy..
-
Re: [Warning] file_get_contents() [function.file-get-contents]:

7 May 2009 at 7:01pm
Have a look at this post. http://silverstripe.org/themes-2/show/258729#post258729
| 7850 Views | ||
|
Page:
1
|
Go to Top |


