Loading...
 
Development

Development


Cache folder error

posts: 33

Dear developers,
I'm using Tiki 1,9,3,2 and I didn't have any problems related to smarty up to one month ago, but in about one month later I wanted to go to "System Admin" page after times I haven't been there, but I saw an error in middle column of Tiki part (which is written in the bottom) and no thing else! But menus and any surrounding parts was shown correctly. I tried going to more pages and I found that every page that is not in cash makes this error message.
I went to my site's file manager and I found that the "fa" folder (my language cash folder under templates_c) has the 751 permission, I tried to change its permission but I couldn't do that! Even I tried to delete it but there was an error and I couldn't do!
At last I deleted the templates_c folder and remade it, so I thought the problem was solved, but last week I saw the error again and I deleted fa directory but up to know every day I should repeat that! Almost every day I see this error!

Please help me to find were is the problem,
Here are two examples of error:

Image
Copy to clipboard
Warning: Smarty error: problem creating directory '/home/drelect2/public_html/templates_c/fa/%%8E' in /home/drelect2/public_html/lib/smarty/libs/Smarty.class.php on line 1088 Warning: Smarty::include(templates_c//fa/%%8E/8EC/8EC33BC3%%categpath.tpl.php) [function.Smarty-include]: failed to open stream: No such file or directory in /home/drelect2/public_html/lib/smarty/libs/Smarty.class.php on line 1258 Warning: Smarty::include() [function.include]: Failed opening 'templates_c//fa/%%8E/8EC/8EC33BC3%%categpath.tpl.php' for inclusion (include_path='lib/pear:lib/adodb:lib/pear:lib:.:/usr/lib/php:/usr/local/lib/php') in /home/drelect2/public_html/lib/smarty/libs/Smarty.class.php on line 1258



The second one:

Image
Copy to clipboard
Warning: Smarty error: problem creating directory '/home/drelect2/public_html/templates_c/fa/%%61' in /home/drelect2/public_html/lib/smarty/libs/Smarty.class.php on line 1088 Warning: Smarty::include(templates_c//fa/%%61/617/6176A466%%pagepermissions.tpl.php) [function.Smarty-include]: failed to open stream: No such file or directory in /home/drelect2/public_html/lib/smarty/libs/Smarty.class.php on line 1861 Warning: Smarty::include() [function.include]: Failed opening 'templates_c//fa/%%61/617/6176A466%%pagepermissions.tpl.php' for inclusion (include_path='lib/pear:lib/adodb:lib/pear:lib:.:/usr/lib/php:/usr/local/lib/php') in /home/drelect2/public_html/lib/smarty/libs/Smarty.class.php on line 1861
posts: 9309 Germany

Permission in your filesystem are not correct.

Go to tiki directory, then:

Copy to clipboard
chmod u+x setup.sh ./setup.sh yourapacheuser yourapachegroup


That's it.

posts: 33

Thanks for your answer,
But I can't run any thing (I would report this to my host admin but I don't think he pay attention!) but I can change permissions manually if you say me how should be they configured.
In my file manager I see three groups:
User, Group and World.
And three items for each of them:
Read, Write and Execute.

Please help me to configure this permissions.
Best regards.