Warning: Smarty error: problem writing temporary file

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
mso

Warning: Smarty error: problem writing temporary file

Post 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!
Last edited by mso on Tue Jan 17, 2006 9:23 pm, edited 1 time in total.
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: Warning: Smarty error: problem writing temporary file

Post 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...
Locked

Return to “CMSMS Core”