I am getting sick of this....
I am trying to figure out what is wrong with my installation of smarty.
The problem is that I have done everything like in the manual.
I have set all the folders properly and when I am including smarty like this :
Code: Select all
// load Smarty library
require('c:/smarty/libs/Smarty.class.php');
cause it should be like this :
Code: Select all
// load Smarty library
require('Smarty.class.php');
Enybody know what is the problem ?Warning: require(Smarty.class.php) [function.require]: failed to open stream: No such file or directory in C:\Program Files\WebServ\httpd\index.php on line 4
Fatal error: require() [function.require]: Failed opening required 'Smarty.class.php' (include_path='.;C:\php5\pear') in C:\Program Files\WebServ\httpd\index.php on line 4
One more thing :
When I'm opening my PROPER (checked in phpinfo.php) php.ini there is nothing more than this :
Of course I have included the path to smarty so now php ini looks something like this :; PHP
Enyway when I am including file Smarty.class.php without full path it is not working.; PHP
include_path = ".;c:\smarty\libs"
Please help !