Page 1 of 1

Smarty Include error after Installation

Posted: Tue Mar 17, 2009 9:05 pm
by steelej
Installation progresses well but upon completion, I'm getting the warnings below. I note that in the second warning theinclud_path usese C:\php5\pear as a value. My path is C:\php\pear. I can't figure where it's getting the "5" or if that is the problem here. I'd be much obliged for some help.

Warning: Smarty::include(E:/users/wit/steelej/blog/templates_c\bulletproof^%%6D^6DA^6DA09B62%%index.tpl.php) [function.Smarty-include]: failed to open stream: No such file or directory in E:\users\wit\steelej\blog\bundled-libs\Smarty\libs\Smarty.class.php on line 1255

Warning: Smarty::include() [function.include]: Failed opening 'E:/users/wit/steelej/blog/templates_c\bulletproof^%%6D^6DA^6DA09B62%%index.tpl.php' for inclusion (include_path='.;C:\php5\pear;E:\users\wit\steelej\blog/bundled-libs/;E:\users\wit\steelej\blog/bundled-libs/Smarty/libs/;E:\users\wit\steelej\blog/;') in E:\users\wit\steelej\blog\bundled-libs\Smarty\libs\Smarty.class.php on line 1255

Re: Smarty Include error after Installation

Posted: Wed Mar 18, 2009 10:22 am
by garvinhicking
Hi!

The php5 include path setting should stem from your php.ini configuration.

Does the file E:/users/wit/steelej/blog/templates_c\bulletproof^%%6D^6DA^6DA09B62%%index.tpl.php

exist and is readable? Maybe some of your directories do not allow read access?

Regard,s
Garvin

Re: Smarty Include error after Installation

Posted: Wed Mar 18, 2009 2:08 pm
by steelej
Thanks for your prompt reply. I don't know where the php5 value comes from--it isn't in my php.ini. However, that doesn't seem to matter. On your suggestion I changed the Network Service permissions on the templates and templates_c directories and am up and running. Thanks