|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
tec Smarty n00b
Joined: 09 Aug 2003 Posts: 3
|
Posted: Sat Aug 09, 2003 6:47 pm Post subject: errors on mainpage |
|
|
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/%%117/%%1172603085/index.tpl.php) is not within the allowed path(s): (/usr/local/httpd/htdocs/kunden/web103) in /usr/local/httpd/htdocs/kunden/web103/html/smarty/libs/Smarty.class.php on line 1520
Warning: _compile_template(Smarty_Compiler.class.php) [function.-compile-template]: failed to create stream: No such file or directory in /usr/local/httpd/htdocs/kunden/web103/html/smarty/libs/Smarty.class.php on line 1711
Fatal error: _compile_template() [function.-compile-template]: Failed opening required 'Smarty_Compiler.class.php' (include_path='.:/usr/local/httpd/htdocs/kunden/web103/html/smarty/libs') in /usr/local/httpd/htdocs/kunden/web103/html/smarty/libs/Smarty.class.php on line 1711
//************************************************\\
can you give me a hint how i can solve this problem, thx |
|
Back to top |
|
tec Smarty n00b
Joined: 09 Aug 2003 Posts: 3
|
Posted: Sat Aug 09, 2003 6:51 pm Post subject: |
|
|
ok i solved the firt problem now iv've only this errorlines
Warning: _compile_template(Smarty_Compiler.class.php) [function.-compile-template]: failed to create stream: No such file or directory in /usr/local/httpd/htdocs/kunden/web103/html/smarty/libs/Smarty.class.php on line 1711
Fatal error: _compile_template() [function.-compile-template]: Failed opening required 'Smarty_Compiler.class.php' (include_path='.:/usr/local/httpd/htdocs/kunden/web103/html/smarty/libs') in /usr/local/httpd/htdocs/kunden/web103/html/smarty/libs/Smarty.class.php on line 1711 |
|
Back to top |
|
CirTap Smarty Pro
Joined: 04 Jun 2003 Posts: 106
|
Posted: Sat Aug 09, 2003 9:06 pm Post subject: |
|
|
Hi,
are you sure you have all three of them in the same directory?
Smarty.class.php
Smarty_Compiler.class.php
Config_File.class.php
Make sure that SMARTY_DIR is pointing to the directory where all three files are located, re-read the instructions in the manual
installing.smarty.basic.php, provide all the pathnames that are required by Smarty (watch the trailing slashes!), as the first problem was due to a wrong/missing compile_dir.
Please consult this thread too, about some practical directory layout. This post is about an NT installation, but you should get the picture on how to do this on a *nix box.
And don't forget to CHMOD the cache and template_c directories, see AZTEKs reply in this post.
Have Fun,
CirTap |
|
Back to top |
|
tec Smarty n00b
Joined: 09 Aug 2003 Posts: 3
|
Posted: Sun Aug 10, 2003 9:20 am Post subject: |
|
|
i found the error my ftp client has removed the capitals
Smarty.class.php ---> smarty.class.php
Smarty_Compiler.class.php ---> smarty_compiler.class.php
i fixed it but now other error occured.
Warning: Smarty error: problem writing temporary file 'templates_c/%%117/%%1172603085/3f360aba0044a' in /usr/local/httpd/htdocs/kunden/web103/html/smarty/libs/Smarty.class.php on line 1042
Warning: touch() [function.touch]: Unable to create file templates_c/%%117/%%1172603085/index.tpl.php because No such file or directory in /usr/local/httpd/htdocs/kunden/web103/html/smarty/libs/Smarty.class.php on line 1575
Warning: fetch(templates_c/%%117/%%1172603085/index.tpl.php) [function.fetch]: failed to create stream: No such file or directory in /usr/local/httpd/htdocs/kunden/web103/html/smarty/libs/Smarty.class.php on line 1158
Warning: fetch() [function.fetch]: Failed opening 'templates_c/%%117/%%1172603085/index.tpl.php' for inclusion (include_path='.:/usr/local/httpd/htdocs/kunden/web103/html/smarty/libs') in /usr/local/httpd/htdocs/kunden/web103/html/smarty/libs/Smarty.class.php on line 1158
Warning: Smarty error: problem writing temporary file 'templates_c/%%172/%%1722485283/3f360aba18b12' in /usr/local/httpd/htdocs/kunden/web103/html/smarty/libs/Smarty.class.php on line 1042
Warning: touch() [function.touch]: Unable to create file templates_c/%%172/%%1722485283/debug.tpl.php because No such file or directory in /usr/local/httpd/htdocs/kunden/web103/html/smarty/libs/Smarty.class.php on line 1575
Warning: _generate_debug_output(templates_c/%%172/%%1722485283/debug.tpl.php) [function.-generate-debug-output]: failed to create stream: No such file or directory in /usr/local/httpd/htdocs/kunden/web103/html/smarty/libs/Smarty.class.php on line 1258
Warning: _generate_debug_output() [function.-generate-debug-output]: Failed opening 'templates_c/%%172/%%1722485283/debug.tpl.php' for inclusion (include_path='.:/usr/local/httpd/htdocs/kunden/web103/html/smarty/libs') in /usr/local/httpd/htdocs/kunden/web103/html/smarty/libs/Smarty.class.php on line 1258
the templates_c folder has a 777 chmod cache too
i fink there is a foilder missing. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|