ERROR : PHP
Posté : 22 nov. 2012, 16:48
Rebonjour
, je vois que les réponses sur ce forum sont rapident et c'est super =D>
voilà une autre erreur que je rencontre :
ERROR : PHP Warning : is_readable() [function.is-readable]: open_basedir restriction in effect. File(/usr/share/php/./skins/default/templates/./skins/default/config/colors.conf) is not within the allowed path(s): (/var/www/bxxxxxxxxxxxxx/htdocs/:/var/www/bxxxxxxxxxxxxxxxx/phptmp/:/var/www/bxxxxxxxxx/exec_dir/:/htdocs:/phptmp:/exec_dir) /htdocs/forum/libs/smarty/core/core.get_include_path.php#34
--------------------------------------------------------------------------------
function smarty_core_get_include_path(&$params, &$smarty)
{
static $_path_array = null;
if(!isset($_path_array)) {
$_ini_include_path = @ini_get('include_path');
if(strstr($_ini_include_path,';')) {
// windows pathnames
$_path_array = explode(';',$_ini_include_path);
} else {
$_path_array = explode(':',$_ini_include_path);
}
}
foreach ($_path_array as $_include_path) {
//----ERREUR----ligne 34--/// if (@is_readable($_include_path . DIRECTORY_SEPARATOR . $params['file_path'])) {
$params['new_file_path'] = $_include_path . DIRECTORY_SEPARATOR . $params['file_path'];
return true;
}
}
return false;
}
voilà une autre erreur que je rencontre :
ERROR : PHP Warning : is_readable() [function.is-readable]: open_basedir restriction in effect. File(/usr/share/php/./skins/default/templates/./skins/default/config/colors.conf) is not within the allowed path(s): (/var/www/bxxxxxxxxxxxxx/htdocs/:/var/www/bxxxxxxxxxxxxxxxx/phptmp/:/var/www/bxxxxxxxxx/exec_dir/:/htdocs:/phptmp:/exec_dir) /htdocs/forum/libs/smarty/core/core.get_include_path.php#34
--------------------------------------------------------------------------------
function smarty_core_get_include_path(&$params, &$smarty)
{
static $_path_array = null;
if(!isset($_path_array)) {
$_ini_include_path = @ini_get('include_path');
if(strstr($_ini_include_path,';')) {
// windows pathnames
$_path_array = explode(';',$_ini_include_path);
} else {
$_path_array = explode(':',$_ini_include_path);
}
}
foreach ($_path_array as $_include_path) {
//----ERREUR----ligne 34--/// if (@is_readable($_include_path . DIRECTORY_SEPARATOR . $params['file_path'])) {
$params['new_file_path'] = $_include_path . DIRECTORY_SEPARATOR . $params['file_path'];
return true;
}
}
return false;
}