You are here: RE: [SMARTY] Help Please-Compiled templates have headers only « Smarty Templates Posts « IT news, forums, messages
RE: [SMARTY] Help Please-Compiled templates have headers only

Posted by TNG Software on 10/15/23 11:22

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация