Re: AW: [SMARTY] Help Please-Compiled templates have headers only

Gary Smith <[email protected]>
Newsgroups gmane.comp.php.smarty.general
Message-ID <BF0CF4FB.38585%[email protected]>
Hi Guido,

I made the change in the vhost.conf file in the domains conf/ directory. If
it's not there you need to create it and run this command:
/usr/local/psa/admin/bin/websrvmng
Then restart apache.

My conf file looks like this

<Directory /home/httpd/vhosts/domainname.com/httpdocs>
php_admin_value open_basedir
/home/httpd/vhosts/domainname.com/httpdocs:/home/httpd/vhosts/domainname.com
/php:/home/httpd/vhosts/domainname.com/compiled_templates:/home/httpd/vhosts
/domainname.com/templates:/home/httpd/vhosts/domainname.com/cgi-bin:/usr/sha
re/php:/usr/share/pear:/tmp
</Directory>


Gary




in article [email protected], TNG Software at
[email protected] wrote on 7/26/05 8:59 PM:

> Hi All,
> 
> Part of the problem is with plesk. Because I tried to change the base_dir
> setting in Apache, but every time I add/remove a domain (Thus when the apache
> config files are recreated) plesk will change the basedir back to the original
> one.
> 
> Guido.
> 
> --
> TNG Software
> van den Hummelstraat 34
> 5175 CM Loon op Zand
> tel.   06-26912345
> mail:  [email protected]
> web:   http://www.tngsoftware.nl
> 
> 
> Quoting Gary Smith <[email protected]>:
> 
>> Thanks to Everyone,
>> 
>> The problem was with open_basedir I added templates to the path and
>> everything works. You guys ROCK! I really appreciate everyone who tried to
>> help.
>> 
>> Gary
>> 
>> in article [email protected], "Benjamin Bolbach"
>> at [email protected] wrote on 7/26/05 9:48 AM:
>> 
>>> Butt hat seems not to be a pronlem of plask, more one of
>>> Misconfig of the server. Just Change open_basedir to allow
>>> The user accessing other directories...
>>> 
>>> 
>>> -----Ursprüngliche Nachricht-----
>>> Von: TNG Software [mailto:[email protected]]
>>> Gesendet: Dienstag, 26. Juli 2005 21:39
>>> An: 'Gary Smith'; [email protected]
>>> Betreff: RE: [SMARTY] Help Please-Compiled templates have headers only
>>> 
>>> Hi Gary,
>>> 
>>> I see that you are running plesk webserver software.
>>> 
>>> Is you templates directory in the httpdocs directory of the site. In newer
>>> version of plesk (7.5+) php can only access files in that directory(or any
>>> subdirectory).
>>> 
>>> I hope this helps you find your problem.
>>> 
>>> Guido Moonen
>> 
>> --
>> Smarty General Mailing List (http://smarty.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>> 
>> 
> 
> 
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.

-- 
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.