|
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 |
flipit Smarty n00b
Joined: 27 Jul 2007 Posts: 2
|
Posted: Fri Jul 27, 2007 8:40 am Post subject: Problème installation |
|
|
Bonjour, j'ai un problème d'installation avec un script php; j'utilise le moteur smarty.
Voici l'erreur:
warning: Smarty error: unable to read resource: "install/install_step3.tpl" in /home/site/www/libs/Smarty/Smarty.class.php on line 1095"
La ligne 1095 ramène à ceci (une fonction "trigger_error" ) dans le fichier "Smarty.class.php":
/**
* trigger Smarty error
*
* @param string $error_msg
* @param integer $error_type
*/
function trigger_error($error_msg, $error_type = E_USER_WARNING)
{
trigger_error("Smarty error: $error_msg", $error_type);
}
Ceci m'indique qu'il y a bien une erreur mais ou est-elle?
Il faut également savoir que le script fonctionne parfaitement sur un autre serveur sans aucune modification.
L'aide officielle du site smarty indique cette info pour ce genre d'erreur:
"Warning: Smarty error: unable to read resource: "index.tpl" in...
Le dossier $template_dir est incorrect, n'existe pas ou le fichier the file index.tpl n'est pas dans le dossier templates/."
Quelqu'un est t-il connaisseur de ce genre de problème avec smarty? Merci |
|
Back to top |
|
flipit Smarty n00b
Joined: 27 Jul 2007 Posts: 2
|
Posted: Tue Sep 04, 2007 12:24 pm Post subject: Re: Problème installation |
|
|
Post fermé car résolu. |
|
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
|