FlorianG Posted February 8, 2021 Share Posted February 8, 2021 Bonjour à tous, J'espère que je poste au bon endroit. J'ai voulu modifier la page de maintenance en allant dans traduction. Malheureusement une page d'erreur s'affiche désormais et je ne peux plus rien faire... Comment résoudre le souci, s'il vous plaît ? Voici l'erreur : Quote (1/1) SmartyException unable to create directory /var/www/html/var/cache/dev/smarty/compile/11/66/1b in smarty_internal_runtime_writefile.php line 51 at Smarty_Internal_Runtime_WriteFile->writeFile('/var/www/html/var/cache/dev/smarty/compile/11/66/1b/11661b4436edf1a9829be00ec3c921281b32b352_0.file.error.tpl.php', '<?php/* Smarty version 3.1.33, created on 2021-02-08 16:53:43 from \'/var/www/html/adminpanel/themes/default/template/error.tpl\' *//* @var Smarty_Internal_Template $_smarty_tpl */if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array ( \'version\' => \'3.1.33\', \'unifunc\' => \'content_60215e87e72360_26499277\', \'has_nocache_code\' => false, \'file_dependency\' => array ( \'11661b4436edf1a9829be00ec3c921281b32b352\' => array ( 0 => \'/var/www/html/adminpanel/themes/default/template/error.tpl\', 1 => 1541535861, 2 => \'file\', ), ), \'includes\' => array ( ),),false)) {function content_60215e87e72360_26499277 (Smarty_Internal_Template $_smarty_tpl) {if (isset($_smarty_tpl->tpl_vars[\'php_errors\']->value) && count($_smarty_tpl->tpl_vars[\'php_errors\']->value)) {?><div class="bootstrap"> <div id="error-modal" class="modal fade"> <div class="modal-dialog"> <div class="alert alert-danger clearfix"> <?php$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars[\'php_errors\']->value, \'php_error\');if ($_from !== null) {foreach ($_from as $_smarty_tpl->tpl_vars[\'php_error\']->value) {?> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION][\'l\'][0], array( array(\'s\'=>\'%1$s on line %2$s in file %3$s\',\'sprintf\'=>array(call_user_func_array($_smarty_tpl->registered_plugins[ \'modifier\' ][ \'escape\' ][ 0 ], array( $_smarty_tpl->tpl_vars[\'php_error\']->value[\'type\'] )),call_user_func_array($_smarty_tpl->registered_plugins[ \'modifier\' ][ \'escape\' ][ 0 ], array( $_smarty_tpl->tpl_vars[\'php_error\']->value[\'errline\'] )),call_user_func_array($_smarty_tpl->registered_plugins[ \'modifier\' ][ \'escape\' ][ 0 ], array( $_smarty_tpl->tpl_vars[\'php_error\']->value[\'errfile\'] ))),\'d\'=>\'Admin.Notifications.Error\'),$_smarty_tpl ) );?><br /> [<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ \'modifier\' ][ \'escape\' ][ 0 ], array( $_smarty_tpl->tpl_vars[\'php_error\']->value[\'errno\'] ));?>] <?php echo call_user_func_array($_smarty_tpl->registered_plugins[ \'modifier\' ][ \'escape\' ][ 0 ], array( $_smarty_tpl->tpl_vars[\'php_error\']->value[\'errstr\'] ));?><br /><br /> <?php}}$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?> <button type="button" class="btn btn-default pull-right" data-dismiss="modal"><i class="icon-remove"></i> Close</button> </div> </div> </div></div><?php }}}', object(Smarty))in smarty_template_compiled.php line 209 at Smarty_Template_Compiled->write(object(Smarty_Internal_Template), '<?php/* Smarty version 3.1.33, created on 2021-02-08 16:53:43 from \'/var/www/html/adminpanel/themes/default/template/error.tpl\' *//* @var Smarty_Internal_Template $_smarty_tpl */if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array ( \'version\' => \'3.1.33\', \'unifunc\' => \'content_60215e87e72360_26499277\', \'has_nocache_code\' => false, \'file_dependency\' => array ( \'11661b4436edf1a9829be00ec3c921281b32b352\' => array ( 0 => \'/var/www/html/adminpanel/themes/default/template/error.tpl\', 1 => 1541535861, 2 => \'file\', ), ), \'includes\' => array ( ),),false)) {function content_60215e87e72360_26499277 (Smarty_Internal_Template $_smarty_tpl) {if (isset($_smarty_tpl->tpl_vars[\'php_errors\']->value) && count($_smarty_tpl->tpl_vars[\'php_errors\']->value)) {?><div class="bootstrap"> <div id="error-modal" class="modal fade"> <div class="modal-dialog"> <div class="alert alert-danger clearfix"> <?php$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars[\'php_errors\']->value, \'php_error\');if ($_from !== null) {foreach ($_from as $_smarty_tpl->tpl_vars[\'php_error\']->value) {?> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION][\'l\'][0], array( array(\'s\'=>\'%1$s on line %2$s in file %3$s\',\'sprintf\'=>array(call_user_func_array($_smarty_tpl->registered_plugins[ \'modifier\' ][ \'escape\' ][ 0 ], array( $_smarty_tpl->tpl_vars[\'php_error\']->value[\'type\'] )),call_user_func_array($_smarty_tpl->registered_plugins[ \'modifier\' ][ \'escape\' ][ 0 ], array( $_smarty_tpl->tpl_vars[\'php_error\']->value[\'errline\'] )),call_user_func_array($_smarty_tpl->registered_plugins[ \'modifier\' ][ \'escape\' ][ 0 ], array( $_smarty_tpl->tpl_vars[\'php_error\']->value[\'errfile\'] ))),\'d\'=>\'Admin.Notifications.Error\'),$_smarty_tpl ) );?><br /> [<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ \'modifier\' ][ \'escape\' ][ 0 ], array( $_smarty_tpl->tpl_vars[\'php_error\']->value[\'errno\'] ));?>] <?php echo call_user_func_array($_smarty_tpl->registered_plugins[ \'modifier\' ][ \'escape\' ][ 0 ], array( $_smarty_tpl->tpl_vars[\'php_error\']->value[\'errstr\'] ));?><br /><br /> <?php}}$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?> <button type="button" class="btn btn-default pull-right" data-dismiss="modal"><i class="icon-remove"></i> Close</button> </div> </div> </div></div><?php }}}')in smarty_template_compiled.php line 184 at Smarty_Template_Compiled->compileTemplateSource(object(Smarty_Internal_Template))in smarty_template_compiled.php line 141 at Smarty_Template_Compiled->process(object(Smarty_Internal_Template))in smarty_template_compiled.php line 105 at Smarty_Template_Compiled->render(object(Smarty_Internal_Template))in smarty_internal_template.php line 216 at Smarty_Internal_Template->render()in smarty_internal_template.php line 385 at Smarty_Internal_Template->_subTemplateRender('file:error.tpl', null, null, 0, 3600, array(), 0, false)in bdcf1823b4ddc0c6c607ba4c98fb71d01d37f0f6_0.file.footer.tpl.php line 130 at content_5e9ff9b63a20b5_44646386(object(Smarty_Internal_Template))in smarty_template_resource_base.php line 123 at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(Smarty_Internal_Template))in smarty_template_compiled.php line 114 at Smarty_Template_Compiled->render(object(Smarty_Internal_Template))in smarty_internal_template.php line 216 at Smarty_Internal_Template->render(false, 0)in smarty_internal_templatebase.php line 232 at Smarty_Internal_TemplateBase->_execute(object(Smarty_Internal_Template), null, null, null, 0)in smarty_internal_templatebase.php line 116 at Smarty_Internal_TemplateBase->fetch('footer.tpl')in AdminController.php line 1827 at AdminControllerCore->display()in Controller.php line 275 at ControllerCore->run()in Dispatcher.php line 428 at DispatcherCore->dispatch()in index.php line 99 Link to comment Share on other sites More sharing options...
joseantgv Posted February 8, 2021 Share Posted February 8, 2021 Cela ressemble à un problème de permissions ou d'espace de disque. Contactez votre hébergeur avec ce problème. Link to comment Share on other sites More sharing options...
FlorianG Posted February 8, 2021 Author Share Posted February 8, 2021 Merci pour l'info, je ne sais pas qui est mon hébergeur, je vais chercher... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now