* Thus wrote Pablo Gosse:
> Hi folks.  I've recently moved my site to a shared host, and this is the
> first time I've had to set up my site in a really restrictive
> environment, and I'm running into problems getting smarty installed.
> 
> Using the basic example set up from the Smarty docs, when I run the file
> I get the following error:
> 
> Warning: main(Smarty.class.php): failed to open stream: No such file or
> directory in /home/virtual/site357/fst/var/www/html/smarty.php on line 4
> 
> Fatal error: main(): Failed opening required 'Smarty.class.php'
> (include_path='.:/php/includes:/usr/share/php:/home/pablogosse/smarty/')
> in /home/virtual/site357/fst/var/www/html/smarty.php on line 4
> 
> Now, as you can see by the value of my include path, I've got the path
> to smarty added, but it's still not finding the file even though
> /home/pablogosse/smarty/Smarty.class.php does indeed exist.

You'll probably notice that the permissions for /home/pablogosse
are like: drwxr-x--- with user:group pablogosse:pablogosse

If you have permissions to, i would set up a directory like:

  /home/virtual/site357/fst/var/include/smarty/

And then set the include_path appropriatly.


Curt
-- 
The above comments may offend you. flame at will.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to