Bonjour,
J'utilise le système de templates Dwoo qui compile les templates en recréant une arborescence complète pour les fichiers compilés dans un répertoire spécifique.
Mon hébergeur a le Safe mode de PHP activé (PHP 5.2), ce qui provoque des erreurs et empêche la création de fichiers compilés par le script.
Comment peut-on contourner ce problème ?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5 Warning: mkdir() [function.mkdir]: SAFE MODE Restriction in effect. The script whose uid is 10290 is not allowed to access /var/www/vhosts/monsite.com/httpdocs/library/3rdparty/dwoo/compiled//var/www/vhosts/monsite.com/httpdocs/application/home/templates owned by uid 48 in /var/www/vhosts/monsite.com/httpdocs/library/3rdparty/dwoo/Dwoo/Template/String.php on line 485 Warning: include(/var/www/vhosts/monsite.com/httpdocs/library/3rdparty/dwoo/compiled//var/www/vhosts/monsite.com/httpdocs/application/home/templates/home_index.tpl.html.d16.php) [function.include]: failed to open stream: No such file or directory in /var/www/vhosts/monsite.com/httpdocs/library/3rdparty/dwoo/Dwoo.php on line 368 Warning: include() [function.include]: Failed opening '/var/www/vhosts/monsite.com/httpdocs/library/3rdparty/dwoo/compiled//var/www/vhosts/monsite.com/httpdocs/application/home/templates/home_index.tpl.html.d16.php' for inclusion (include_path='.::/var/www/vhosts/monsite.com/httpdocs/library/core/:/var/www/vhosts/monsite.com/httpdocs/library/3rdparty/:/var/www/vhosts/monsite.com/httpdocs/application/library/:/var/www/vhosts/monsite.com/httpdocs/application/home/models/:/var/www/vhosts/monsite.com/httpdocs/application/home/templates/') in /var/www/vhosts/monsite.com/httpdocs/library/3rdparty/dwoo/Dwoo.php on line 368
Partager