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

Posted by "Benjamin Bolbach" on 10/01/01 11:22

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

 

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

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