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

TNG Software <[email protected]>
Newsgroups gmane.comp.php.smarty.general
Message-ID <[email protected]>
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:  [email protected]
web:   http://www.tngsoftware.nl

-----Oorspronkelijk bericht-----
Van: Gary Smith [mailto:[email protected]] 
Verzonden: dinsdag 26 juli 2005 20:39
Aan: [email protected]
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 [email protected], Jan Rosier at
[email protected] 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
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.