djb-side Posted December 8, 2004 Report Share Posted December 8, 2004 Hallo, ich bekomme folgenden Fehler wenn ich im Admin auf meine Shop Einstellungen gehe! Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/srv/www/web1/html/templates///..) is not within the allowed path(s): (/srv/www/web1/html/) in /srv/www/web1/html/admin/includes/functions/general.php on line 1439 woran kann das liegen??? Link to comment Share on other sites More sharing options...
dreamer Posted December 8, 2004 Report Share Posted December 8, 2004 ich w?rde mal die Zugriffsrechte ?berpr?fen, oder ob die Dateien/Pfade ?ber haupt existieren (siehe Fehlermeldung) Gru? Dreamer Link to comment Share on other sites More sharing options...
djb-side Posted December 9, 2004 Author Report Share Posted December 9, 2004 in der general.php line 1439 steht folgendes: $name = (($key) ? 'configuration[' . $key . ']' : 'configuration_value'); if ($dir= opendir(DIR_FS_CATALOG.'templates/')){ while (($templates = readdir($dir)) !==false) { if (is_dir( DIR_FS_CATALOG.'templates/'."//".$templates) and ($templates !="CVS") and ($templates!=".") and ($templates !="..")) { $templates_array[]=array( 'id' => $templates, 'text' => $templates); Link to comment Share on other sites More sharing options...
djb-side Posted February 23, 2005 Author Report Share Posted February 23, 2005 Hallo, habe nochmal neu installiert, jetzt bekomme ich Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/srv/www/web2/html/templates///..) is not within the allowed path(s): (/srv/www/web2/html/) in /srv/www/web2/html/admin/includes/functions/general.php on line 1448 in der general.php steht ab zeile 1447 folgendes: while (($templates = readdir($dir)) !==false) { if (is_dir( DIR_FS_CATALOG.'templates/'."//".$templates) and ($templates !="CVS") and ($templates!=".") and ($templates !="..")) { $templates_array[]=array( 'id' => $templates, 'text' => $templates); } } closedir($dir); sort($templates_array); Woran liegt das? MfG djb-side Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.