PDA

View Full Version : Webmail error



Webcart
06-16-2008, 02:33 PM
Hello,

After installing DA with custombuild v1.1.11, I got the following error while trying to access /webmail/:


--------------------------------------------------------------------------------
ERROR (512): Smarty error: problem writing './tmp/_cached_templates/clean/login.htm.php.' (/var/www/html/webmail/smarty/Smarty.class.php:589)
--------------------------------------------------------------------------------

This was fixed with

chown -R apache /var/www/html/webmail/tmp/_cached_templates


Apparently, tmp/ directory had correct permissions for PHP running as Apache module, but tmp/_cached_templates would work only with PHP running as CGI:


drwxrwx--- 38 apache webapps 4096 Jun 16 14:16 tmp/
drwxr-x--x 3 webapps webapps 4096 May 21 09:26 _cached_templates/