Wim24 Posted May 31, 2010 Report Share Posted May 31, 2010 Hallo, ich habe einen Serverumzug vorgenommen aber leider bekomme ich eine Fehlermeldung: Warning: require() [function.require]: open_basedir restriction in effect. File(/is/htdocs/wp1157129_CZK08N02XM/www/includes/filenames.php) is not within the allowed path(s): (/is/htdocs/user_tmp/wp1157129_ABISHLPAG5:/tmp:/dev/null:/dev/urandom:/bin:/usr:/is/default.errors:/is/htdocs/wp1157129_ABISHLPAG5) in /is/htdocs/wp1157129_ABISHLPAG5/www/includes/application_top.php on line 60 Warning: require(/is/htdocs/wp1157129_CZK08N02XM/www/includes/filenames.php) [function.require]: failed to open stream: Operation not permitted in /is/htdocs/wp1157129_ABISHLPAG5/www/includes/application_top.php on line 60 Fatal error: require() [function.require]: Failed opening required '/is/htdocs/wp1157129_CZK08N02XM/www/includes/filenames.php' (include_path='.:/usr/share/pear/php5') in /is/htdocs/wp1157129_ABISHLPAG5/www/includes/application_top.php on line 60 Ich habe erst das DB Backup eingespielt, danach die per FtP alle Datein kopiert. Habe schon gelesen das es mit dem Verzeichnis zusammen hängen kann aber seh den Fehler nicht? Könnt Ihr mir bitte helfen? Link to comment Share on other sites More sharing options...
Fry Posted May 31, 2010 Report Share Posted May 31, 2010 Alle neuen Pfade in den Konfigurationsdateien richtig angepasst? Link to comment Share on other sites More sharing options...
Wim24 Posted June 1, 2010 Author Report Share Posted June 1, 2010 ich denke schon aber ich poste mal die Datein. Configure.php define('HTTP_SERVER', 'http://www.top-leasingshop.de'); // eg, http://localhost or - https://localhost should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.top-leasingshop.de'); define('HTTPS_CATALOG_SERVER', 'https://www.top-leasingshop.de'); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/is/htdocs/www//'); // where the pages are located on the server define('DIR_WS_ADMIN', '/admin/'); // absolute path required define('DIR_FS_ADMIN', '/is/htdocs/admin//'); // absolute pate required define('DIR_WS_CATALOG', '/'); // absolute path required define('DIR_FS_CATALOG', '/is/htdocs/www//'); // absolute path required define('DIR_WS_IMAGES', 'images/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_ORIGINAL_IMAGES', DIR_FS_CATALOG_IMAGES .'product_images/original_images/'); define('DIR_FS_CATALOG_THUMBNAIL_IMAGES', DIR_FS_CATALOG_IMAGES .'product_images/thumbnail_images/'); define('DIR_FS_CATALOG_INFO_IMAGES', DIR_FS_CATALOG_IMAGES .'product_images/info_images/'); define('DIR_FS_CATALOG_POPUP_IMAGES', DIR_FS_CATALOG_IMAGES .'product_images/popup_images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); define('DIR_WS_CATALOG_ORIGINAL_IMAGES', DIR_WS_CATALOG_IMAGES .'product_images/original_images/'); define('DIR_WS_CATALOG_THUMBNAIL_IMAGES', DIR_WS_CATALOG_IMAGES .'product_images/thumbnail_images/'); define('DIR_WS_CATALOG_INFO_IMAGES', DIR_WS_CATALOG_IMAGES .'product_images/info_images/'); define('DIR_WS_CATALOG_POPUP_IMAGES', DIR_WS_CATALOG_IMAGES .'product_images/popup_images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_CATALOG. 'lang/'); define('DIR_FS_LANGUAGES', DIR_FS_CATALOG. 'lang/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); define('DIR_FS_INC', DIR_FS_CATALOG . 'inc/'); define('DIR_WS_FILEMANAGER', DIR_WS_MODULES . 'fckeditor/editor/filemanager/browser/default/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'dbu1157129'); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', 'db1157129-leasing'); define('USE_PCONNECT', 'false'); // use persisstent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?>[/PHP] configure.org.php [PHP] define('HTTP_SERVER', 'http://www.top-leasingshop.de'); // eg, http://localhost or - https://localhost should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.top-leasingshop.de'); define('HTTPS_CATALOG_SERVER', 'https://www.top-leasingshop.de'); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/is/htdocs/www//'); // where the pages are located on the server define('DIR_WS_ADMIN', '/admin/'); // absolute path required define('DIR_FS_ADMIN', '/is/htdocs/admin//'); // absolute pate required define('DIR_WS_CATALOG', '/'); // absolute path required define('DIR_FS_CATALOG', '/is/htdocs/www//'); // absolute path required define('DIR_WS_IMAGES', 'images/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_ORIGINAL_IMAGES', DIR_FS_CATALOG_IMAGES .'product_images/original_images/'); define('DIR_FS_CATALOG_THUMBNAIL_IMAGES', DIR_FS_CATALOG_IMAGES .'product_images/thumbnail_images/'); define('DIR_FS_CATALOG_INFO_IMAGES', DIR_FS_CATALOG_IMAGES .'product_images/info_images/'); define('DIR_FS_CATALOG_POPUP_IMAGES', DIR_FS_CATALOG_IMAGES .'product_images/popup_images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); define('DIR_WS_CATALOG_ORIGINAL_IMAGES', DIR_WS_CATALOG_IMAGES .'product_images/original_images/'); define('DIR_WS_CATALOG_THUMBNAIL_IMAGES', DIR_WS_CATALOG_IMAGES .'product_images/thumbnail_images/'); define('DIR_WS_CATALOG_INFO_IMAGES', DIR_WS_CATALOG_IMAGES .'product_images/info_images/'); define('DIR_WS_CATALOG_POPUP_IMAGES', DIR_WS_CATALOG_IMAGES .'product_images/popup_images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_CATALOG. 'lang/'); define('DIR_FS_LANGUAGES', DIR_FS_CATALOG. 'lang/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); define('DIR_FS_INC', DIR_FS_CATALOG . 'inc/'); define('DIR_WS_FILEMANAGER', DIR_WS_MODULES . 'fckeditor/editor/filemanager/browser/default/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'dbu1157129'); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', 'db1157129-leasing'); define('USE_PCONNECT', 'false'); // use persisstent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' [/PHP] Danke Link to comment Share on other sites More sharing options...
spunt Posted June 1, 2010 Report Share Posted June 1, 2010 überall wo /is/htdocs/admin/ da müsste schonmal /is/htdocs/www/admin/ hin. Aber ohne den genauen Serverpfad zu kennen... Link to comment Share on other sites More sharing options...
Wim24 Posted June 1, 2010 Author Report Share Posted June 1, 2010 überall wo /is/htdocs/admin/ da müsste schonmal /is/htdocs/www/admin/ hin. Aber ohne den genauen Serverpfad zu kennen... also ich habe jetzt die Datein nochmals angepasst. Habe die Datein in included und in admin/included abgeändert aber keine Chanche? Immer folgende Fehlermeldung: Warning: require_once() [function.require-once]: open_basedir restriction in effect. File(/is/htdocs/www/inc/xtc_db_connect.inc.php) is not within the allowed path(s): (/is/htdocs/user_tmp/wp1157129_ABISHLPAG5:/tmp:/dev/null:/dev/urandom:/bin:/usr:/is/default.errors:/is/htdocs/wp1157129_ABISHLPAG5) in /is/htdocs/wp1157129_ABISHLPAG5/www/includes/application_top.php on line 73 Warning: require_once(/is/htdocs/www/inc/xtc_db_connect.inc.php) [function.require-once]: failed to open stream: Operation not permitted in /is/htdocs/wp1157129_ABISHLPAG5/www/includes/application_top.php on line 73 Fatal error: require_once() [function.require]: Failed opening required '/is/htdocs/www/inc/xtc_db_connect.inc.php' (include_path='.:/usr/share/pear/php5') in /is/htdocs/wp1157129_ABISHLPAG5/www/includes/application_top.php on line 73 // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.top-leasingshop.de'); // eg, http://localhost or - https://localhost should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.top-leasingshop.de'); define('HTTPS_CATALOG_SERVER', 'https://http://www.top-leasingshop.de'); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/is/htdocs/www/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/admin/'); // absolute path required define('DIR_FS_ADMIN', '/is/htdocs/www/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/'); // absolute path required define('DIR_FS_CATALOG', '/is/htdocs/www/'); // absolute path required define('DIR_WS_IMAGES', 'images/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_ORIGINAL_IMAGES', DIR_FS_CATALOG_IMAGES .'product_images/original_images/'); define('DIR_FS_CATALOG_THUMBNAIL_IMAGES', DIR_FS_CATALOG_IMAGES .'product_images/thumbnail_images/'); define('DIR_FS_CATALOG_INFO_IMAGES', DIR_FS_CATALOG_IMAGES .'product_images/info_images/'); define('DIR_FS_CATALOG_POPUP_IMAGES', DIR_FS_CATALOG_IMAGES .'product_images/popup_images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); define('DIR_WS_CATALOG_ORIGINAL_IMAGES', DIR_WS_CATALOG_IMAGES .'product_images/original_images/'); define('DIR_WS_CATALOG_THUMBNAIL_IMAGES', DIR_WS_CATALOG_IMAGES .'product_images/thumbnail_images/'); define('DIR_WS_CATALOG_INFO_IMAGES', DIR_WS_CATALOG_IMAGES .'product_images/info_images/'); define('DIR_WS_CATALOG_POPUP_IMAGES', DIR_WS_CATALOG_IMAGES .'product_images/popup_images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_CATALOG. 'lang/'); define('DIR_FS_LANGUAGES', DIR_FS_CATALOG. 'lang/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); define('DIR_FS_INC', DIR_FS_CATALOG . 'inc/'); define('DIR_WS_FILEMANAGER', DIR_WS_MODULES . 'fckeditor/editor/filemanager/browser/default/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'dbu1157129'); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', 'db1157129-leasing'); define('USE_PCONNECT', 'false'); // use persisstent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'[/PHP] Link to comment Share on other sites More sharing options...
spunt Posted June 1, 2010 Report Share Posted June 1, 2010 ups, da war ich zu schnell der pfad steht doch in der fehlermeldung drin /is/htdocs/wp1157129_ABISHLPAG5/www bzw. /is/htdocs/wp1157129_ABISHLPAG5/www/admin Link to comment Share on other sites More sharing options...
Wim24 Posted June 1, 2010 Author Report Share Posted June 1, 2010 Vielen Dank für Deine Hilfe. Also dieser Fehler ist schon mal behoben nur leider bekomme ich jetzt diese Fehlermeldung: Warning: require(/lang/german/german.php) [function.require]: failed to open stream: No such file or directory in /is/htdocs/wp1157129_ABISHLPAG5/www/includes/application_top.php on line 340 Fatal error: require() [function.require]: Failed opening required '/lang/german/german.php' (include_path='.:/usr/share/pear/php5') in /is/htdocs/wp1157129_ABISHLPAG5/www/includes/application_top.php on line 340 Danke Link to comment Share on other sites More sharing options...
Robbi Posted October 28, 2010 Report Share Posted October 28, 2010 Hallo Wim24, hast Du den Fehler gefunden? Ich habe auch das gleiche Problem. Scheinbar stimmt die Pfadangabe zu der "usr/lib/php5". Aber irgendwie kann ich das nicht glauben, da ich auf meinem Webspace den gleichen Shop einmal laufen habe. Nun habe ich die Dateien in ein anderes Verzeichnis kopiert, eine zweite DB angelegt, die Configs geändert und nun diese Fehlermeldung. Mmmmhh? Wäre schön, wenn Du (oder jemand anderes) weiterhelfen könnte. Danke Robert Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.