Re: Problems installing smarty on a shared host

From: Date: Sat, 25 Sep 2004 23:56:54 +0000
Subject: Re: Problems installing smarty on a shared host
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-197846@lists.php.net to get a copy of this message
* 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.

« previous php.general (#197846) next »