1

I need to add libs for smarty in php.ini, but do I find which file I have to add, where can I find the sub directory being included in php directory.....

I have the following error when trying to access the pages on my site in wamp:

Warning: require(..../public_html/libs/Smarty.class.php): failed to open stream: No such file or directory in 

Fatal error: require(): Failed opening required '...../public_html/libs/Smarty.class.php' (include_path='PEAR/') in

Apology if the question is too stupid..:)

RiggsFolly
  • 93,638
  • 21
  • 103
  • 149
  • `.....` is not exactly a valid path. Perhaps it's just `../public_html` or maybe `../../../public_html`. – Marc B Nov 12 '13 at 18:30
  • many thanks but I am not sure where I have to find the file in order to see the path – user2982180 Nov 12 '13 at 18:31
  • You were right it is: include_path = "D:/SEAJOBS/source/public_html/libs/Smarty.class.php"... but noting happenning – user2982180 Nov 12 '13 at 18:49
  • Have you installed smarty into that folder? – RiggsFolly Nov 13 '13 at 00:55
  • Not the greatest documentation but here it is http://www.smarty.net/docs/en/installing.smarty.basic.tpl You dont need to change anything in the php.ini file. – RiggsFolly Nov 13 '13 at 00:56
  • on this link you can find the complete procedure http://ubuntu-linux-apache-mysql-php.blogspot.com.br/2009/10/how-to-install-smarty-with-wampserver.html hope it helps. – user2994996 Nov 15 '13 at 09:37

0 Answers0