I'm running into some PHP permission error's while trying to write to a directory in an ibay, regardless of the permissions for the ibay. ( i know about the security issues with 777, but for now, I just want it to work)
The old version of tiki (
http://tikiwiki.sourceforge.net/) 1.5 works fine. Upgrading to 1.6 does not work at all because of the below problem.
The application uses smarty to generate web templates on the fly, placing them in the templates_c directory. The webserver needs to be able to write to this directory.
The permissions for all the files were unchanged (as in they worked with 1.5). (chmod -R 2770) I even changed the permissions for then entire html directory to 777, with the same results:
May 5 10:48:06 gluon httpd: PHP Warning: Smarty error: problem writing 'templates_c///%%-58/%%-584454252/tiki.tpl.php.' in /home/e-smith/files/ibays/prospace-tst/html/Smarty/Smarty.class.php on line 999 May 5 10:48:06 gluon httpd: PHP Warning: unable to create file templates_c///%%-58/%%-584454252/tiki.tpl.php because No such file or directory in /home/e-smith/files/ibays/prospace-tst/html/Smarty/Smarty.class.php on line 1518 May 5 10:48:06 gluon httpd: PHP Warning: Failed opening 'templates_c///%%-58/%%-584454252/tiki.tpl.php' for inclusion (include_path='.:/usr/share/php:lib/pear') in /home/e-smith/files/ibays/prospace-tst/html/Smarty/Smarty.class.php on line 1118
The templates_c looks like:
drwxrwxrwx 2 root prospace 4096 May 4 22:38 templates_c
From what I gather, these errors are because PHP won't write to templates_c, even with full permissions turned on...
So, if this is a PHP restriction, where else can I look that will change this? What should I look for?
Help, I really want to get 1.6 running, and don’t want to be forced to use only 1.5 in the future.
Another SME user is experiencing the same problem. No other tiki user is having this problem.
Help! Any help/ideas appreciated!