|
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 |
jwallz Smarty n00b
Joined: 28 May 2003 Posts: 2
|
Posted: Wed May 28, 2003 1:18 am Post subject: Warning: Failed opening 'templates_c |
|
|
Just installed Smarty today. Can't get it to work yet. I can't get past the following:
Warning: Failed opening 'templates_c\N117\N1172603085\index.tpl.php' for inclusion (include_path='C:\FoxServ\php\pear') in C:\FoxServ\www\paranormal\Smarty\Smarty.class.php on line 650
Smarty creates the compiled files & directories in templates_c folders but then can't open them.
Does this have something to do with my Pear include path?? |
|
Back to top |
|
AZTEK Smarty Pro
Joined: 16 Apr 2003 Posts: 235 Location: Purdue University
|
Posted: Wed May 28, 2003 1:37 am Post subject: |
|
|
Well looking at your include path it doesn't have "." which should be in there. At the top of your php file run something like.
[php:1:4b783d6e40]ini_set("include_path", ".;" . ini_get("include_path"));[/php:1:4b783d6e40]
That will add "." to your include path. _________________ "Imagine a school with children that can read and write, but with teachers who cannot, and you have a metaphor of the Information Age in which we live." -Peter Cochrane |
|
Back to top |
|
jwallz Smarty n00b
Joined: 28 May 2003 Posts: 2
|
Posted: Wed May 28, 2003 8:47 pm Post subject: |
|
|
It worked. Thank You.
However, I actually edited the include path in my php.ini to now read:
include_path='.;C:\FoxServ\php\pear'.
That took care of it. |
|
Back to top |
|
jirka Guest
|
Posted: Sun Jun 01, 2003 12:57 am Post subject: thanks man |
|
|
it worked great ... |
|
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
|