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

From: Date: Tue, 26 Jul 2005 19:48:21 +0000
Subject: AW: [SMARTY] Help Please-Compiled templates have headers only
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-12868@lists.php.net to get a copy of this message
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:info@TNGSoftware.nl] Gesendet: Dienstag, 26. Juli 2005 21:39 An: 'Gary Smith'; smarty-general@lists.php.net 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 -- TNG Software van den Hummelstraat 34 5175 CM Loon op Zand tel. 06-26912345 mail: info@TNGSoftware.nl web: http://www.tngsoftware.nl -----Oorspronkelijk bericht----- Van: Gary Smith [mailto:gts@tsu.biz] Verzonden: dinsdag 26 juli 2005 20:39 Aan: smarty-general@lists.php.net Onderwerp: Re: [SMARTY] Help Please-Compiled templates have headers only Hi Jan, Yeah that was what I thought. Here's what I have for the directory and the file: drwxr-xr-x 2 smithska root 4096 Jul 26 08:30 templates -rw-rw-r-- 1 smithska psacln 13 Jul 26 08:26 header.tpl Any other ideas? Gary in article 42E620A1.1050108@interstroom.nl, Jan Rosier at rosier@interstroom.nl wrote on 7/26/05 1:38 AM: > Hello Gary, > > Check the file permissions. I think your server can't read the > templates, because it has no read permission. > > Greetz, > Jan Rosier > > > > Gary Smith wrote: > >> >> >>> Aloha, >>> >>> Can someone please help. When I look into my compiled_templates folders the >>> files only have the compiled headers like so: >>> >>> <?php /* Smarty version 2.6.9, created on 2005-07-24 09:41:31 >>> compiled from header.tpl */ ?> >>> >>> None of my template is displayed. The same setup works fine in another vhost >>> on this machine. If I turn debug on then I see javascript when viewing the >>> page source. >>> >>> Thanks for any help. >>> Gary >>> >>> >> -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.9.5/58 - Release Date: 25.07.2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.9.5/58 - Release Date: 25.07.2005

« previous php.smarty.general (#12868) next »