Forum : Smarty Installation
Brief description  about Online courses   join in Online courses
View Thanabal  P 's Profile

Smarty Installation

Sir, i did all steps have said in tutorial for smarty.
I did the path changes in
C:\wamp\bin\php\php5.3.3\php.ini as

; Windows: "\path1;\path2"
;include_path = ".;c:\php\includes"

into

; Windows: "\path1;\path2"
;include_path = ".;c:\Smarty\libs"

but while running its giving error like,

Warning: require(Smarty_connect.php) [function.require]: failed to open stream: No such file or directory in C:\wamp\www\my\index.php on line 2

Fatal error: require() [function.require]: Failed opening required 'Smarty_connect.php' (include_path='.;C:\php5\pear') in C:\wamp\www\my\index.php on line 2
Asked by Thanabal P | Jan 21, 2011 |  Reply now
Replies (1)
View teacher siliconindia 's Profile
hi,

make sure that you have created a templates folder under which there is a supporting index.tpl file.I think you have some path related prblem that depends on the working environment configuration. Go through the whole process once again as in tutorial.
Jan 21, 2011