Loading...
 
Architecture / Installation

Architecture / Installation


twiki-install.php displays php erros

posts: 1

Hello,

i am trying to install twiki.
After I set the permission right i get the following erros when i try to go to
twiki-install.php

Warning: Smarty error: problem writing 'templates_c//en/%%-58/%%-584454252/tiki.tpl.php.' in /home/sites/site106/web/uni/wiki/Smarty/Smarty.class.php on line 1006

Warning: fetch(templates_c//en/%%-58/%%-584454252/tiki.tpl.php): failed to open stream: No such file or directory in /home/sites/site106/web/uni/wiki/Smarty/Smarty.class.php on line 1125

Warning: fetch(): Failed opening 'templates_c//en/%%-58/%%-584454252/tiki.tpl.php' for inclusion (include_path='.:/usr/share/pear:lib/pear') in /home/sites/site106/web/uni/wiki/Smarty/Smarty.class.php on line 1125


Unfortunately i do not understand much from php so i don't really know whats wrong.

greetings

peter

posts: 2881 United Kingdom

Hi There,

Delete all (Files and Folders) content in templates_c and make sure that directory is writable to apache.

Damian


posts: 2

Hello,

I have same problem, with tiki-index.php.
Apache can write to templates_c.
I tried removing everything from there like you suggested, but I still get those errors :

Warning: Smarty error: problem creating directory '/templates_c' in ./lib/smarty/Smarty.class.php on line 1149

Warning: Smarty error: problem writing temporary file 'templates_c//en/%%-21/%%-2131450478/41cc293e85137' in ./lib/smarty/Smarty.class.php on line 1149

Warning: touch(): Unable to create file templates_c//en/%%-21/%%-2131450478/tiki.tpl.php because No such file or directory in ./lib/smarty/core/core.write_compiled_resource.php on line 31

Warning: fetch(templates_c//en/%%-21/%%-2131450478/tiki.tpl.php): failed to open stream: No such file or directory in ./lib/smarty/Smarty.class.php on line 1296

Warning: fetch(): Failed opening 'templates_c//en/%%-21/%%-2131450478/tiki.tpl.php' for inclusion (include_path='lib/pear:lib/adodb:lib/pear:lib:.:/usr/lib/php') in ./lib/smarty/Smarty.class.php on line 1296

If someone could try to help...
Thanks in advance !

posts: 1092

You have to create templates_c directory with writable perm for the server.
The first message shows you deleted the directory


posts: 5 Czech Republic

Hi folks,

i'm installing tikiwiki, i use windows XP + SP1, i followed InstallEasyPhpAndTiki, i installed easyphp, even though i have trouble to install it, i make myself sure templates_c is writtable
following errors occur:

Warning: main(Smarty/Smarty.class.php): failed to open stream: No such file or directory in c:\program files\easyphp\www\tiki\tiki-install.php on line 11

Fatal error: main(): Failed opening required 'Smarty/Smarty.class.php' (include_path='.;C:\Program Files\EasyPHP\php\pear\') in c:\program files\easyphp\www\tiki\tiki-install.php on line 11

Smarty.class.php is in C:\Program Files\EasyPHP\www\tiki\lib\smarty\libs

any suggestion ?

Peter


Upcoming Events

No records to display

Menu