Loading...
 
Architecture / Installation

Architecture / Installation


New Problem with 1.7.5

posts: 73

Okay...I'm still trying to resurrect my 1.7.5 forum. I deleted all the software, uploaded an entire new 1.7.5 archive, followed all instructions, and now get this error message everytime I try to access tikiwki:

Warning: Smarty error: problem writing 'templates_c//en/%%-21/%%-2131450478/tiki.tpl.php.' in /home/mattbart/public_html/tikiwiki/Smarty/Smarty.class.php on line 999

Warning: fetch(templates_c//en/%%-21/%%-2131450478/tiki.tpl.php): failed to open stream: No such file or directory in /home/mattbart/public_html/tikiwiki/Smarty/Smarty.class.php on line 1112

Warning: fetch(): Failed opening 'templates_c//en/%%-21/%%-2131450478/tiki.tpl.php' for inclusion (include_path='/home/mattbart/public_html/tikiwiki/lib:/home/mattbart/public_html/tikiwiki/lib/pear:.:/usr/lib/php:/usr/local/lib/php:lib/pear') in /home/mattbart/public_html/tikiwiki/Smarty/Smarty.class.php on line 1112


I've searched the site and have found at least two other people with this problem, but can't find the solution to fix it. Please help

posts: 2881 United Kingdom

Hi

You need to clear the templates_c folder completely of all content (files and directories) and also make sure that Apache can write there.

The Smarty Error shows me you may have a permissions problem.

Damian


posts: 73

I set the templates_c to 777. What should it be set for?

I have shell access and tried to run the setup.sh file, but it fails everytime. Mostly it says I do not have permission to alter the files. This doesn't make sense because I can chmod files all I want from the shell.

However, I notice that it doesn't want me to recursively change folder permisisons. Very strange.

I'll try to delete those contents and try again. The problem seems to be with a folder called "en" in the templates_c.


posts: 73
Damian--I have deleted all the templates_c files, chmodded it to 777, and still get the same error. Any more advice?

posts: 73

I finally solved the problem. I had to go into Smarty.class.php and turn the subdirectory option OFF. Apparenly there is no way to let a program generate sub-folders, even if chmod is 777 ? ?