|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
10-nice Smarty n00b
Joined: 03 Nov 2004 Posts: 3 Location: Metz
|
Posted: Wed Aug 30, 2006 11:12 am Post subject: probleme de fichier de template |
|
|
Bonjour,
j'ai un soucis, j'ai un serveur apache avec php5 sur deux postes, j'ai un virtualhost sur chaque poste. Sur un poste pas de problème tout fonctionne, lorsque je remonte mes fichiers sur un compte free pas de problème et sur le dernier poste ca ne fonctionne pas, j'ai le message d'erreur suivant :
Quote: |
Warning: Smarty::fetch(templates_c/\%%DD^DDE^DDECE6CB%%instructions.tpl.php) [function.fetch]: failed to open stream: No such file or directory in D:\web\chiwoy\Smarty\Smarty.class.php on line 1258
Warning: Smarty::fetch() [function.include]: Failed opening 'templates_c/\%%DD^DDE^DDECE6CB%%instructions.tpl.php' for inclusion (include_path='.:/php/includes') in D:\web\chiwoy\Smarty\Smarty.class.php on line 1258 |
hors le fichier est bien rpésent dans le répertoire templates_c et le chemin vers le repertoire est bon :s
Code: | require_once('Smarty/Smarty.class.php');
$smarty = new Smarty();
$smarty->template_dir = 'templates/';
$smarty->compile_dir = 'templates_c/';
$smarty->config_dir = 'configs/';
$smarty->cache_dir = 'cache/'; |
quelqu'un saurait d'où vient le problème ? |
|
Back to top |
|
ciboulette Smarty Regular
Joined: 13 Jul 2006 Posts: 45
|
Posted: Wed Aug 30, 2006 3:54 pm Post subject: |
|
|
ta regardé les CHMOD ?
et il tourne sous des platforme differente? (windows linux...) |
|
Back to top |
|
10-nice Smarty n00b
Joined: 03 Nov 2004 Posts: 3 Location: Metz
|
Posted: Mon Sep 11, 2006 2:19 pm Post subject: |
|
|
Salut !
Bon j'ai remplacé mon fichier php.ini et tout fonctionne...
je vais chercher d'où venait le problème quand même. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|