Re: Problems installing smarty on a shared host
| From: | Marek Kilimajer | Date: | Sat, 25 Sep 2004 22:59:23 +0000 |
| Subject: | Re: Problems installing smarty on a shared host | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-197843@lists.php.net to get a copy of this message | ||
Pablo Gosse wrote:
[snip] It should not matter, unless open_basedir is in effect, but that would be another error. I would check if the directories are right, you can start by using relative path. [/snip] Just the relative path from smarty.php, ../../../home/pablogosse/smarty/Smarty.class.php And I get a permission denied error. So it appears for sure that I can't read anything inside my home directory, or outside the webroot it would seem. Any ideas?Then put it in webroot. You should protect template and compiled template directories using .htaccess. Smarty.class.php does not really matter, it only defines a class.