Bonjour, tout d'abord je me présente yadid, 39 ans de l'essonne. Voilà je viens vers vous pour un bug sur un script que j'ai acheté.
Je ne suis pas du tout spécialiste de Smarty, d'ou le besoin d'une aide afin de m'orienter pour trouver mon erreur.
Explication: Mon script avait une template simple et moche, j'ai voulu faire des modifications sur le design et depuis j'ai un message d'erreur:
Je n'ai changé aucun code php, uniquement le css.Warning: file_exists(): open_basedir restriction in effect. File(/usr/share/php/templates/mytheme/header.tpl) is not within the allowed path(s): (/htdocs:/var/www/adultcash.fr/htdocs:/var/www/adultcash.fr/tmp:/var/www/adultcash.fr/exec_dir:/var/www/adultcash.fr/php-session:/var/lib/lws/:/usr/base/var/lib/lws:/htdocs:/tmp:/exec_dir:/php-session:/usr/share/php) in /htdocs/smarty/libs/sysplugins/smarty_internal_get_include_path.php on line 36
Fatal error: Uncaught exception 'SmartyException' with message 'Unable to load template file 'header.tpl'' in /htdocs/smarty/libs/sysplugins/smarty_internal_template.php:163 Stack trace: #0 /htdocs/smarty/libs/sysplugins/smarty_internal_template.php(552): Smarty_Internal_Template->isExisting(true) #1 /htdocs/smarty/libs/Smarty.class.php(338): Smarty_Internal_Template->getRenderedTemplate() #2 /htdocs/smarty/libs/Smarty.class.php(382): Smarty->fetch('header.tpl', NULL, NULL, NULL, true) #3 /htdocs/advertisers/header.php(160): Smarty->display('header.tpl') #4 /htdocs/advertisers/index.php(5): include_once('/htdocs/adverti...') #5 {main} thrown in /htdocs/smarty/libs/sysplugins/smarty_internal_template.php on line 163
Cela fait 5 jours que je cherche sur le web sans résultats, merci de m'aider
Amicalement à vous et bonne journée
Partager