Page 1 of 1

ERROR creating new page!

Posted: Mon Aug 07, 2006 10:46 am
by Teddy
Hi!

When I am creating a new page in the admin panel I get this error message in the top menu when Im loading the page in the browser:

-----------------------------------------------------------------------------------------------------------
string(54) "Smarty error: problem creating directory 'D:/Webhotel'" string(54) "Smarty error: problem creating directory 'D:/Webhotel'"
Warning: Smarty::fetch(D:\Webhotel\liwafarg.se\wwwroot/tmp/templates_c\326e04e3032995157d0d20673424926f\%%D7\D71\D71B7915%%module_file_tpl%3AMenuManager%3Bellnav-accessible.tpl.php) [
function.fetch
]: failed to open stream: No such file or directory in D:\Webhotel\liwafarg.se\wwwroot\lib\smarty\Smarty.class.php on line 1265

Warning: Smarty::fetch() [
function.include
]: Failed opening 'D:\Webhotel\liwafarg.se\wwwroot/tmp/templates_c\326e04e3032995157d0d20673424926f\%%D7\D71\D71B7915%%module_file_tpl%3AMenuManager%3Bellnav-accessible.tpl.php' for inclusion (include_path='.;C:\php5\pear') in D:\Webhotel\liwafarg.se\wwwroot\lib\smarty\Smarty.class.php on line 1265

-----------------------------------------------------------------------------------------------------------

In the content box I get this one:

-----------------------------------------------------------------------------------------------------------
string(54) "Smarty error: problem creating directory 'D:/Webhotel'"
Warning: Smarty::fetch(D:\Webhotel\liwafarg.se\wwwroot/tmp/templates_c\41\%%70\707\707A8977%%content%3Acontent_en.php) [function.fetch]: failed to open stream: No such file or directory in D:\Webhotel\liwafarg.se\wwwroot\lib\smarty\Smarty.class.php on line 1265

Warning: Smarty::fetch() [function.include]: Failed opening 'D:\Webhotel\liwafarg.se\wwwroot/tmp/templates_c\41\%%70\707\707A8977%%content%3Acontent_en.php' for inclusion (include_path='.;C:\php5\pear') in D:\Webhotel\liwafarg.se\wwwroot\lib\smarty\Smarty.class.php on line 1265

-----------------------------------------------------------------------------------------------------------

Thanks in advance

Ted

Re: ERROR creating new page!

Posted: Tue Aug 08, 2006 10:13 pm
by Elijah Lofgren
There was someone on IRC today that had a problem just like yours.

You should be able to fix it by opening lib/content.functions and finding this line:

Code: Select all

$this->use_sub_dirs = true;
And either deleting it or commenting it out like this:

Code: Select all

// $this->use_sub_dirs = true;
CMSMS 1.0 beta4 has this off, unlike CMSMS 0.13, so if you upgrade to CMSMS 1.0 beta4 you should no longer have this problem.

Hope this helps,

Elijah