Hi all.

I am trying to set up a call to a Smarty function. Befre I can do this I need to make a call to "Smarty.class.php". It's the path that is giving me problems. I have had a look at my PHP info config file on the web server and it tells me that the include path is " .:/usr/local/lib/php"

If I then pt a line a code

require_once('/usr/local/lib/Smarty.class.php');

and run the script I get the following error.

Fatal error: main() [function.require]: Failed opening required '/usr/local/lib/Smarty-v.e.r/libs/Smarty.class.php' (include_path='.:/usr/local/lib/php') in /homepages/41/d43000764/htdocs/mydomain/profile.php on line 2.

Can anyone see what I am doing wrong.

    What directory actually has the Smarty.class.php file in it?

      Write a Reply...