#1 (permalink)  
Alt 22.05.2007, 07:02
Neuer Benutzer
 
Registriert seit: 07.05.2007
Beiträge: 29
Standard config.php

Huhu,
Ich habe ein Problem mit der Config.php...

Fehler:

Warning: main() [function.main]: open_basedir restriction in effect. File(/www/web28/htdocs/shop/includes/filenames.php) is not within the allowed path(s): (/home/www/web28/html/:/home/www/web28/phptmp/:/home/www/web28/files/:/home/www/web28/atd/) in /home/www/web28/html/shop/includes/application_top.php on line 57

Warning: main(/www/web28/htdocs/shop/includes/filenames.php) [function.main]: failed to open stream: Operation not permitted in /home/www/web28/html/shop/includes/application_top.php on line 57

Fatal error: main() [function.require]: Failed opening required '/www/web28/htdocs/shop/includes/filenames.php' (include_path='.') in /home/www/web28/html/shop/includes/application_top.php on line 57


Ich glaube das es an der Zeile

23 & 24 liegt welche beinhaltet:

define('DIR_FS_DOCUMENT_ROOT', '/www/web28/htdocs/shop/');
define('DIR_FS_CATALOG', '/www/web28/htdocs/shop/');

Hier die ganze Datei...

Woran kann es liegen...
Ich denke an den Server Pfad...

<?php
/* --------------------------------------------------------------

XT-Commerce - community made shopping
http://www.xt-commerce.com

Copyright (c) 2003 XT-Commerce
--------------------------------------------------------------
based on:
(c) 2000-2001 The Exchange Project (earlier name of osCommerce)
(c) 2002-2003 osCommerce (configure.php,v 1.13 2003/02/10); www.oscommerce.com

Released under the GNU General Public License
--------------------------------------------------------------*/

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
define('HTTP_SERVER', 'http://xxxxxxxxxxxxxx.de'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://xxxxxxxxxxxxx.de'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', false); // secure webserver for checkout procedure?
define('DIR_WS_CATALOG', '/'); // absolute path required
define('DIR_FS_DOCUMENT_ROOT', '/www/web28/htdocs/shop/');
define('DIR_FS_CATALOG', '/www/web28/htdocs/shop/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ORIGINAL_IMAGES', DIR_WS_IMAGES .'product_images/original_images/');
define('DIR_WS_THUMBNAIL_IMAGES', DIR_WS_IMAGES .'product_images/thumbnail_images/');
define('DIR_WS_INFO_IMAGES', DIR_WS_IMAGES .'product_images/info_images/');
define('DIR_WS_POPUP_IMAGES', DIR_WS_IMAGES .'product_images/popup_images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_INCLUDES',DIR_FS_DOCUMENT_ROOT. 'includes/');
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_FS_CATALOG . 'lang/');

define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
define('DIR_FS_INC', DIR_FS_CATALOG . 'inc/');

// define our database connection
define('DB_SERVER', 'xxxxxxxx'); // eg, localhost - should not be empty for productive servers
define('DB_SERVER_USERNAME', 'xxxxxxxx');
define('DB_SERVER_PASSWORD', 'xxxxxxx');
define('DB_DATABASE', 'xxxxxxx');
define('USE_PCONNECT', 'false'); // use persistent connections?
define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
?>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #2 (permalink)  
Alt 26.10.2007, 16:35
Neuer Benutzer
 
Registriert seit: 25.10.2007
Beiträge: 4
Standard

Da frag am besten mal bei deinem Provider nach dem "absoluten" Pfad. dieser muss da eingetragen werden Bsp.: bei strato wäre das: /home/strato/www/ersten zwei_buchstaben/www.wunschname.de/htdocs/

Das ist aber bei den einzelnen Providern unterschiedlich.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #3 (permalink)  
Alt 11.04.2008, 15:54
xt:Commerce Support Kunde
 
Registriert seit: 16.10.2006
Beiträge: 4
Standard habe das selbe Problem - hast du es gelöst?

Hallo, bin grad auf diesen Beitrag gestossen. Hab grad den selben Fehler.

Kannst du mir bitte sagen, wie bzw. ob du das Problem gelöst hast.

Danke
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #4 (permalink)  
Alt 11.04.2008, 16:31
Neuer Benutzer
 
Registriert seit: 08.01.2008
Beiträge: 16
Standard

So sieht es bei mir aus wo alles funzt:


<?php
/* --------------------------------------------------------------

XT-Commerce - community made shopping
http://www.xt-commerce.com

Copyright (c) 2003 XT-Commerce
--------------------------------------------------------------
based on:
(c) 2000-2001 The Exchange Project (earlier name of osCommerce)
(c) 2002-2003 osCommerce (configure.php,v 1.13 2003/02/10); www.oscommerce.com

Released under the GNU General Public License
--------------------------------------------------------------*/

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
define('HTTP_SERVER', 'http://www.xxx.de'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://www.xxx.de'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', false); // secure webserver for checkout procedure?
define('DIR_WS_CATALOG', '/'); // absolute path required
define('DIR_FS_DOCUMENT_ROOT', '/var/www/web007/html/shop/');
define('DIR_FS_CATALOG', '/var/www/web007/html/shop/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ORIGINAL_IMAGES', DIR_WS_IMAGES .'product_images/original_images/');
define('DIR_WS_THUMBNAIL_IMAGES', DIR_WS_IMAGES .'product_images/thumbnail_images/');
define('DIR_WS_INFO_IMAGES', DIR_WS_IMAGES .'product_images/info_images/');
define('DIR_WS_POPUP_IMAGES', DIR_WS_IMAGES .'product_images/popup_images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_INCLUDES',DIR_FS_DOCUMENT_ROOT. 'includes/');
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_FS_CATALOG . 'lang/');

define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
define('DIR_FS_INC', DIR_FS_CATALOG . 'inc/');

// define our database connection
define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers
define('DB_SERVER_USERNAME', 'web007');
define('DB_SERVER_PASSWORD', '123456789');
define('DB_DATABASE', 'usr_web007_1');
define('USE_PCONNECT', 'false'); // use persistent connections?
define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'
?>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #5 (permalink)  
Alt 12.04.2008, 09:40
xt:Commerce Support Kunde
 
Registriert seit: 16.10.2006
Beiträge: 4
Reden jetzt läufts wieder

Hallo eldoctore,

vielen Dank für deine schnelle Antwort. Hab mal ne Nacht drüber geschlafen und hab dann recht bald eine Lösung gefunden . Bei mir lag der Fehler in diesen beiden Zeilen:

define('DIR_FS_DOCUMENT_ROOT', '/rootverzeichnis/');
define('DIR_FS_CATALOG', '/catalogverzeichnis/');

Habs irgendwie geschafft die beiden Verweise zu zerbröseln

Vielen Dank noch einmal und schönes WE an alle
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
  #6 (permalink)  
Alt 13.04.2008, 08:43
xt:Commerce Support Kunde
 
Registriert seit: 09.04.2008
Beiträge: 422
Standard

Zitat:
Zitat von rahmann Beitrag anzeigen
Da frag am besten mal bei deinem Provider nach dem "absoluten" Pfad. dieser muss da eingetragen werden Bsp.: bei strato wäre das: /home/strato/www/ersten zwei_buchstaben/www.wunschname.de/htdocs/
Mojn,
nur zur Vereinfachung:
Den Pfad sieht man, wenn man eine derartige Fehlermeldung hat wie angefragt wurde:
File(/www/web28/htdocs/shop/includes/filenames.php) is not within the allowed path(s): (/home/www/web28/html/:/home/www/web28/phptmp/:/home/www/web28/files/:/home/www/web28/atd/) in /home/www/web28/html/shop/includes/application_top.php on line 57

Gesucht wird in: /www/web28/htdocs/shop/
Tatsächlich stehen tuts in:/home/www/web28/html/shop/

Viele Grüße - Michael
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!
Mit Zitat antworten
Antwort

Lesezeichen

Stichworte
configphp

Themen-Optionen
Ansicht

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are aus
Pingbacks are aus
Refbacks are aus


Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
Zugriffsrechte fuer config.php ... tomww Installation und Konfiguration 8 15.06.2005 22:32


Alle Zeitangaben in WEZ +1. Es ist jetzt 08:58 Uhr.

Copyright © 2011 xt:Commerce GmbH / xt:Commerce International Ltd. - All Rights Reserved

xt:Commerce is a SafeCharge brand