mrfloppy123 Posted February 4, 2007 Report Share Posted February 4, 2007 Hallo, nach der Installation erfollgt beim Aufruf folgende Fehlermeldung: Warning: Directory for sesssions doesn´t exist: /tmp. Sessions will not work until this directory has been created! Bin ein wenig verzweifelt, anlegen diverser tmp Verzeichnisse blieb erfolglos??!! Gruß Link to comment Share on other sites More sharing options...
supervisior Posted February 4, 2007 Report Share Posted February 4, 2007 Ändere die Einstellung in den beiden configure Dateien auf mysql, dann bekommst Du auch keine Fehlermeldung mehr. Link to comment Share on other sites More sharing options...
mrfloppy123 Posted February 5, 2007 Author Report Share Posted February 5, 2007 welche beiden configurationsdateien? Vielen Dank vorab! Link to comment Share on other sites More sharing options...
wibros Posted February 5, 2007 Report Share Posted February 5, 2007 includes/configure.php und admin/includes/configure.php Link to comment Share on other sites More sharing options...
Mick2006 Posted February 5, 2007 Report Share Posted February 5, 2007 Hallo Ich habe folgende Meldung beim Start: Warning: session_save_path(): SAFE MODE Restriction in effect. The script whose uid is 10001 is not allowed to access owned by uid 0 in /srv/www/vhosts/video-branchenbuch.eu/httpdocs/shop3/includes/application_top.php on line 250 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /srv/www/vhosts/video-branchenbuch.eu/httpdocs/shop3/includes/application_top.php:250) in /srv/www/vhosts/video-branchenbuch.eu/httpdocs/shop3/includes/application_top.php on line 281 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /srv/www/vhosts/video-branchenbuch.eu/httpdocs/shop3/includes/application_top.php:250) in /srv/www/vhosts/video-branchenbuch.eu/httpdocs/shop3/includes/application_top.php on line 281 Warnung Warnung: Das Verzeichnis für die Sessions existiert nicht: /var/lib/php. Die Sessions werden nicht funktionieren bis das Verzeichnis erstellt wurde! Was habe ich falsch gemacht und wo kann ich das ändern Mfg Michael Link to comment Share on other sites More sharing options...
supervisior Posted February 5, 2007 Report Share Posted February 5, 2007 steht doch schon alles da. Link to comment Share on other sites More sharing options...
mrfloppy123 Posted February 5, 2007 Author Report Share Posted February 5, 2007 sorry, ich glaube ich nerve. Mach das zum ersten mal und finde keine Option zum einstellen der mysqql. Vieleicht noch ein Tip?? Gruß und Danke MrFloppy includes/configure.php define('HTTP_SERVER', 'http://www.rhein-main-computer-notdienst.de'); // eg, Default PLESK Page - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.rhein-main-computer-notdienst.de'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('DIR_WS_CATALOG', '/shop/'); // absolute path required define('DIR_FS_DOCUMENT_ROOT', '/srv/www/web29/html/shop/'); define('DIR_FS_CATALOG', '/srv/www/web29/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', 'xxxxxx'); define('DB_SERVER_PASSWORD', 'xxxxxxxxx'); define('DB_DATABASE', 'web29'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for de Link to comment Share on other sites More sharing options...
wibros Posted February 5, 2007 Report Share Posted February 5, 2007 Du hast den interessanten Teil ja auch nicht mitgepostet. Der letzte Satz heißt komplett: define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' Matt Link to comment Share on other sites More sharing options...
mrfloppy123 Posted February 5, 2007 Author Report Share Posted February 5, 2007 Yuup das war es! Vielen Dank für die schnelle Hilfe, Super! Mr.Floppy Link to comment Share on other sites More sharing options...
elpiedro Posted February 7, 2007 Report Share Posted February 7, 2007 Habe auch diese Fehlermeldungen: Warning: session_save_path() [function.session-save-path]: SAFE MODE Restriction in effect. The script whose uid is 1569 is not allowed to access owned by uid 0 in /home/.sites/64/site534/web/shop/includes/application_top.php on line 256 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/.sites/64/site534/web/shop/includes/application_top.php:256) in /home/.sites/64/site534/web/shop/includes/application_top.php on line 287 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/.sites/64/site534/web/shop/includes/application_top.php:256) in /home/.sites/64/site534/web/shop/includes/application_top.php on line 287 Zur erklärung: ich habe gerade den shop von einem webspace auf einen anderen incl. DB verlegt, habe allerdings define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' bei beiden Konfigurationsfiles gesetzt!!! DANKE Link to comment Share on other sites More sharing options...
elpiedro Posted February 7, 2007 Report Share Posted February 7, 2007 Habe nun folgende ABfrage auf der DB durchgeführt: SELECT * FROM `configuration` WHERE `configuration_key` = 'SESSION_WRITE_DIRECTORY' und habe rausgefunden, dass obwohl in den files "mysql" eingetragen ist, der Wert in der DB auf "/tmp" steht ( configuration_value)! Wie kann es sowas geben, bzw. darf ich in der db den wert auf "mysql" setzen? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.