Page 1 of 1

Warning: Smarty error: problem writing temporary file

Posted: Tue Jan 17, 2006 9:20 pm
by mso
After CMSMS is now installed and working, I encouter the following problem:

After everthings works fine for quite a while (some hours with approx. 50 site calls) I get the follwing Warning clutterd all over the pages:

Warning: fetch(): Unable to access /srv/www/htdocs/html/tmp/templates_c/%%47^471^471C10B6%%preview%3AcmspreviewhzykPz.php in /srv/www/htdocs/html/lib/smarty/Smarty.class.php on line 1258

and

Warning: Smarty error: problem writing temporary file '/srv/www/htdocs/html/tmp/templates_c/wrt43cd5a2ab2c5f' in /srv/www/htdocs/html/lib/smarty/Smarty.class.php on line 1088

This happens although the template_c and template folder both are set to 777. Im using Apache 2 and PHP 4.3.
After I erase the templates_c folder on the server everything works again.  It can not be a HD memory problem as there is plenty of space allocated to that user.

What then is the reason for this? Thanks for your help!

Re: Warning: Smarty error: problem writing temporary file

Posted: Wed Jan 18, 2006 3:15 am
by Ted
Any idea of the number of files in templates_c when you have to remove them?  I'm wondering if there is some weird limit on number of files in a directory.  I've been it happen before in linux with a LOT of template files (couple hundred), but not quite of the reason for it.

I'm kind of grasping at straws here...