ERROR creating new page!

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
Teddy

ERROR creating new page!

Post 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
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am

Re: ERROR creating new page!

Post 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
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
Locked

Return to “CMSMS Core”