Erreur avec smarty

nomager Messages postés 31 Statut Membre -  
arth Messages postés 10414 Date d'inscription   Statut Contributeur Dernière intervention   -
Bonjour, voici l'erreur que m'a generée smarty:

ERRNO: 2
TEXT: Smarty::require_once(/var/www/html/hol/libs/smarty/internals/core.assemble_plugin_filepath.php) [function.Smarty-require-once]: failed to open stream: No such file or directory
LOCATION: /var/www/html/hol/libs/smarty/Smarty.class.php, line 1387, at July 23, 2009, 12:29 am
Showing backtrace:
Smarty._get_plugin_filepath() # line 1387, file: /var/www/html/hol/libs/smarty/Smarty.class.php
Smarty._get_plugin_filepath("compiler", "config_load") # line 627, file: /usr/local/smarty/libs/Smarty_Compiler.class.php
Smarty_Compiler._compile_compiler_tag("config_load", "file="site.conf"", null) # line 583, file: /usr/local/smarty/libs/Smarty_Compiler.class.php
Smarty_Compiler._compile_tag("config_load file="site.conf"") # line 312, file: /usr/local/smarty/libs/Smarty_Compiler.class.php
Smarty_Compiler._compile_file("store_front.tpl", "{* smarty *}
{config_load file="site.conf"}
{load_presentation...", null) # line 1509, file: /var/www/html/hol/libs/smarty/Smarty.class.php
Smarty._compile_source("store_front.tpl", "{* smarty *}
{config_load file="site.conf"}
{load_presentation...", null, "/var/www/html/hol/presentation/templates_c/%%41^412^412F4...") # line 1442, file: /var/www/html/hol/libs/smarty/Smarty.class.php
Smarty._compile_resource("store_front.tpl", "/var/www/html/hol/presentation/templates_c/%%41^412^412F4...") # line 1274, file: /var/www/html/hol/libs/smarty/Smarty.class.php
Smarty.fetch("store_front.tpl", null, null, true) # line 1126, file: /var/www/html/hol/libs/smarty/Smarty.class.php
Smarty.display("store_front.tpl") # line 78, file: /var/www/html/hol/index.php

Je n'arrive pas à comprendre ce que cela signifie, pourtant j'ai bien renseigné include_path=".:/usr/local/smarty/libs/"
les droits: chown apache:apache templates_c
chmod 700 templates_c
merci pour l'aide.

1 réponse

arth Messages postés 10414 Date d'inscription   Statut Contributeur Dernière intervention   1 293
 
Commence par celle là, logiquement c'est la plus simple :

TEXT: Smarty::require_once(/var/www/html/hol/libs/smarty/internals­/core.assemble_plugin_filepath.php) [function.Smarty-require-once]: failed to open stream: No such file or directory

Vérifier que le fichier existe et qu'il est au bon endroit.
0