Loading...
 
Architecture / Installation

Architecture / Installation


Odd file listing in templates_c

posts: 25 United States

Hi All,

Still banging away at getting 1.9 running... I re-did the CVS install this am and I am still getting the following errors:

Mon Dec 27 09:27:33 2004 error PHP Warning: Smarty error: problem writing temporary file 'templates_c//en/%%4B/4B8/41d01bd59800e' in /mnt/bigd/www/ndm-tiki/lib/smarty/libs/Smarty.class.php on line 1083
Mon Dec 27 09:27:33 2004 error PHP Warning: fetch(templates_c//en/%%4B/4B8/4B839B3D%%user_module.tpl.php): failed to open stream: No such file or directory in /mnt/bigd/www/ndm-tiki/lib/smarty/libs/Smarty.class.php on line 1254
Mon Dec 27 09:27:33 2004 error PHP Warning: fetch(): Failed opening 'templates_c//en/%%4B/4B8/4B839B3D%%user_module.tpl.php' for inclusion (include_path='lib/pear:lib/adodb:lib/pear:lib:lib/pear:lib/adodb:lib/pear:lib:.:/usr/share/php:/usr/share/pear:/www/ndm-tiki/templates_c') in /mnt/bigd/www/ndm-tiki/lib/smarty/libs/Smarty.class.php on line 1254
Mon Dec 27 09:27:33 2004 error PHP Warning: Smarty error: problem writing temporary file 'templates_c//en/%%08/08E/41d01bd59f53e' in /mnt/bigd/www/ndm-tiki/lib/smarty/libs/Smarty.class.php on line 1083
Mon Dec 27 09:27:33 2004 error PHP Warning: fetch(templates_c//en/%%08/08E/08E7654E%%mod-assistant.tpl.php): failed to open stream: No such file or directory in /mnt/bigd/www/ndm-tiki/lib/smarty/libs/Smarty.class.php on line 1254
Mon Dec 27 09:27:33 2004 error PHP Warning: fetch(): Failed opening 'templates_c//en/%%08/08E/08E7654E%%mod-assistant.tpl.php' for inclusion (include_path='lib/pear:lib/adodb:lib/pear:lib:lib/pear:lib/adodb:lib/pear:lib:.:/usr/share/php:/usr/share/pear:/www/ndm-tiki/templates_c') in /mnt/bigd/www/ndm-tiki/lib/smarty/libs/Smarty.class.php on line 1254
Mon Dec 27 09:27:33 2004 error PHP Warning: Smarty error: problem writing temporary file 'templates_c//en/%%9E/9E2/41d01bd5b06ae' in /mnt/bigd/www/ndm-tiki/lib/smarty/libs/Smarty.class.php on line 1083
Mon Dec 27 09:27:33 2004 error PHP Warning: fetch(templates_c//en/%%9E/9E2/9E21ED1B%%mod-login_box.tpl.php): failed to open stream: No such file or directory in /mnt/bigd/www/ndm-tiki/lib/smarty/libs/Smarty.class.php on line 1254
Mon Dec 27 09:27:33 2004 error PHP Warning: fetch(): Failed opening 'templates_c//en/%%9E/9E2/9E21ED1B%%mod-login_box.tpl.php' for inclusion (include_path='lib/pear:lib/adodb:lib/pear:lib:lib/pear:lib/adodb:lib/pear:lib:.:/usr/share/php:/usr/share/pear:/www/ndm-tiki/templates_c') in /mnt/bigd/www/ndm-tiki/lib/smarty/libs/Smarty.class.php on line 1254
Mon Dec 27 09:27:33 2004 error PHP Warning: Smarty error: problem writing temporary file 'templates_c//en/%%80/80F/41d01bd5cdb6e' in /mnt/bigd/www/ndm-tiki/lib/smarty/libs/Smarty.class.php on line 1083
Mon Dec 27 09:27:33 2004 error PHP Warning: fetch(templates_c//en/%%80/80F/80F4A592%%tiki.tpl.php): failed to open stream: No such file or directory in /mnt/bigd/www/ndm-tiki/lib/smarty/libs/Smarty.class.php on line 1247
Mon Dec 27 09:27:33 2004 error PHP Warning: fetch(): Failed opening 'templates_c//en/%%80/80F/80F4A592%%tiki.tpl.php' for inclusion (include_path='lib/pear:lib/adodb:lib/pear:lib:lib/pear:lib/adodb:lib/pear:lib:.:/usr/share/php:/usr/share/pear:/www/ndm-tiki/templates_c') in /mnt/bigd/www/ndm-tiki/lib/smarty/libs/Smarty.class.php on line 1247

I have run the setup.sh script and verified that the the user apache runs as can read and write to the directory. Then I did an ls in the directory anf saw the following:

www-data@sisyphus:/mnt/bigd/www/ndm-tiki$ ls templates_c
CVS
README

en
%%0E
0E4
0E407559%%footer.tpl.php en
%%4E
4E8
4E8514DF%%tiki-debug_console.tpl.php en
%%6C
6C2
6C25FA1F%%tiki-install.tpl.php en
%%96
96A
96AB65ED%%bidi.tpl.php en
%%DD
DD2
DD29EF94%%tiki.tpl.php en
%%F7
F7F
F7F34188%%header.tpl.php

index.php

Is this normal? Could be why the script is upchucking...


Tidings and felicitations!

-MichaelE

posts: 2881 United Kingdom

Delete everything within the templates_c and try again.

Damian santa


posts: 25 United States

HI Damian,

Thanks for the suggestion. I followed it but still no go. I made this cache clearing script to clear out the cache directories:

  1. !/bin/bash

rm /www/ndm-tiki/templates_c/en*.*
rm /www/ndm-tiki/temp/cache/*.*
rm /www/ndm-tiki/modules/cache/*.cache

I still get the following errors in the apache log:

Image
Copy to clipboard
[Sun Dec 26 15:23:14 2004] [error] PHP Warning: Smarty error: problem writing t emporary file 'templates_c//en/%%4B/4B8/41cf1db2d4f69' in /mnt/bigd/www/ndm-tiki /tikiwiki/lib/smarty/libs/Smarty.class.php on line 1083 [Sun Dec 26 15:23:14 2004] [error] PHP Warning: fetch(templates_c//en/%%4B/4B8/ 4B839B3D%%user_module.tpl.php): failed to open stream: No such file or directory in /mnt/bigd/www/ndm-tiki/tikiwiki/lib/smarty/libs/Smarty.class.php on line 125 4 [Sun Dec 26 15:23:14 2004] [error] PHP Warning: fetch(): Failed opening 'templa tes_c//en/%%4B/4B8/4B839B3D%%user_module.tpl.php' for inclusion (include_path='l ib/pear:lib/adodb:lib/pear:lib:.:/usr/share/php:/usr/share/pear') in /mnt/bigd/w ww/ndm-tiki/tikiwiki/lib/smarty/libs/Smarty.class.php on line 1254 [Sun Dec 26 15:23:15 2004] [error] PHP Warning: Smarty error: problem writing t emporary file 'templates_c//en/%%08/08E/41cf1db30a55e' in /mnt/bigd/www/ndm-tiki ndm-tiki.error.log
posts: 2881 United Kingdom

Can Apache write there, does Apache have permission to cd there?

Damian santa

posts: 25 United States

Yes,

I verified this by SUing into the same user account that apache runs as and then doing all of the tests:

- mkdir testdir
- touch somefile.txt
- rm -d testdir
- rm somefile.txt

And I am sure that all of those work. So absolutely no perms problems with that directory...

- Michael


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting