PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > php.smarty.general > installation problem .....
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
installation problem .....

Réponse
 
LinkBack Outils de la discussion
Vieux 09/11/2006, 12h53   #1
onewaylife
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut installation problem .....


hi all

I am novice in Smarty, I need yours ...
I am trying to install Smarty-2.6.14 on my FC5, with PHP5 & apache2

I get following error: -
Fatal error: Smarty error: unable to write to $compile_dir
'/home/rakesh/public_html/Smarty/templates_c'. Be sure $compile_dir is
writable by the web server user. in
/usr/local/lib/php/Smarty/Smarty.class.php on line 1095

I am trying at my home dir..

pls me out
thanks
onewaylife
--
View this message in context: http://www.nabble.com/installation-p....html#a7257618
Sent from the Smarty - General mailing list archive at Nabble.com.

  Réponse avec citation
Vieux 09/11/2006, 13h11   #2
Timothy Bowler
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [SMARTY] installation problem .....

Hey,

U need to chown apache:apache templates_c. Where apache is the name and
group of your web server


  Réponse avec citation
Vieux 09/11/2006, 13h20   #3
onewaylife
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [SMARTY] installation problem .....


thanks it works now


Timothy Bowler wrote:
>
> Hey,
>
> U need to chown apache:apache templates_c. Where apache is the name and
> group of your web server
>
>
>


--
View this message in context: http://www.nabble.com/installation-p....html#a7257987
Sent from the Smarty - General mailing list archive at Nabble.com.
  Réponse avec citation
Vieux 09/11/2006, 14h22   #4
Timothy Bowler
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [SMARTY] installation problem .....

Hi Remo,

It is not a good idea to give 777 permissions to templates_c directory,
or any directory for that matter. Its best practise to only allow your
web server to read and write too the directory.

cd /home/rakesh/public_html/Smarty/
chown apache:apache templates_c
chown apache:apache cache

ls -l

Tim

--
__________________________________________________ _
Timothy M Bowler BSc(Hons) MSc MIET | Senior Programmer

Or Media
Unit 5 Elm Court
156 -170 Bermondsey Street
London
SE1 3TQ

T: 020 7939 9540
F: 020 7939 9541

__________________________________________________ _


The information in this e-mail and any attachments is confidential and is intended solely for the addressee. The material may not be reproduced either in whole or in part without permission and may not be used or disclosed without permission. No copies of the entirety or part of the information set out in this email or any attachment may be made without our prior approval. Any views or opinions presented are solely those of the author and do not necessarily represent those of Or Multimedia Limited. If you are not the intended recipient of this email, please contact us at info@or-media.com.


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 23h23.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,10127 seconds with 12 queries