ttdrobin Posted April 14, 2004 Report Share Posted April 14, 2004 Habe heute mal versucht XTC lokal bei mir zu installieren (Apache und PHP 4.3.5) bekomme aber laufend fehlermeldungen und weis net ob es am Apache an PHP oder an XTC liegt =) irgendwo muss da ein config fehler sein Warning: session_start(): open(/tmp\sess_e33a07b2beea3f2c86b9c539140f5a28, O_RDWR) failed: No such file or directory (2) in C:\Programme\Apache Group\Apache2\htdocs\xtcommerce\xtc_installer\includes\application.php on line 43 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at C:\Programme\Apache Group\Apache2\htdocs\xtcommerce\xtc_installer\includes\application.php:43) in C:\Programme\Apache Group\Apache2\htdocs\xtcommerce\xtc_installer\includes\application.php on line 43 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at C:\Programme\Apache Group\Apache2\htdocs\xtcommerce\xtc_installer\includes\application.php:43) in C:\Programme\Apache Group\Apache2\htdocs\xtcommerce\xtc_installer\includes\application.php on line 43 Warning: Cannot modify header information - headers already sent by (output started at C:\Programme\Apache Group\Apache2\htdocs\xtcommerce\xtc_installer\includes\application.php:43) in C:\Programme\Apache Group\Apache2\htdocs\xtcommerce\inc\xtc_redirect.inc.php on line 28 Fatal error: Call to undefined function: xtc_session_close() in C:\Programme\Apache Group\Apache2\htdocs\xtcommerce\inc\xtc_exit.inc.php on line 19 Warning: Unknown(): open(/tmp\sess_e33a07b2beea3f2c86b9c539140f5a28, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0 f?r jede hilfe dankbar mfg Robin Link to comment Share on other sites More sharing options...
ttdrobin Posted April 14, 2004 Author Report Share Posted April 14, 2004 und hier noch die [session] sektion aus der php ini fals da was net stimmt: [session] ; Handler used to store/retrieve data. session.save_handler = files ; Argument passed to save_handler. In the case of files, this is the path ; where data files are stored. Note: Windows users have to change this ; variable in order to use PHP's session functions. session.save_path =/tmp ; Whether to use cookies. session.use_cookies = 1 ; Name of the session (used as cookie name). session.name = PHPSESSID ; Initialize session on request startup. session.auto_start = 0 ; Lifetime in seconds of cookie or, if 0, until browser is restarted. session.cookie_lifetime = 0 ; The path for which the cookie is valid. session.cookie_path = / ; The domain for which the cookie is valid. session.cookie_domain = ; Handler used to serialize data. php is the standard serializer of PHP. session.serialize_handler = php ; Percentual probability that the 'garbage collection' process is started ; on every session initialization. session.gc_probability = 1 ; After this number of seconds, stored data will be seen as 'garbage' and ; cleaned up by the garbage collection process. session.gc_maxlifetime = 1440 ; Check HTTP Referer to invalidate externally stored URLs containing ids. ; HTTP_REFERER has to contain this substring for the session to be ; considered as valid. session.referer_check = ; How many bytes to read from the file. session.entropy_length = 0 ; Specified here to create the session id. session.entropy_file = ;session.entropy_length = 16 ;session.entropy_file = /dev/urandom ; Set to {nocache,private,public} to determine HTTP caching aspects. session.cache_limiter = nocache ; Document expires after n minutes. session.cache_expire = 180 ; use transient sid support if enabled by compiling with --enable-trans-sid. session.use_trans_sid = 1 url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry" Link to comment Share on other sites More sharing options...
Matthias Posted April 14, 2004 Report Share Posted April 14, 2004 Jep da iss ein Fehler aber nicht im Shop. Warning: session_start(): open(/tmp\sess_e33a07b2beea3f2c86b9c539140f5a28, O_RDWR) failed: No such file or directory (2) in C:\Programme\Apache Group\Apache2\htdocs\xtcommerce\xtc_installer\includes\application.php on line 43 Was sagt uns die Fehlermeldung: open(/tmp\sess_e33a07b2beea3f2c86b9c539140f5a28, O_RDWR) failed => DAS Verzeichnis tmp f?r die Sessions gibt es nicht. mfg Matthias Link to comment Share on other sites More sharing options...
ttdrobin Posted April 14, 2004 Author Report Share Posted April 14, 2004 und wo m?sste das verzeichniss sein??? Link to comment Share on other sites More sharing options...
Matthias Posted April 14, 2004 Report Share Posted April 14, 2004 im rootverzeichnis des servers, ansonsten mal in der php.ini wie es dort definiert ist. Link to comment Share on other sites More sharing options...
Hubi Posted April 14, 2004 Report Share Posted April 14, 2004 c:\tmp Link to comment Share on other sites More sharing options...
pfuchs Posted April 14, 2004 Report Share Posted April 14, 2004 Hi, ich hatte dieselbe Fehlermeldung nach der lokalen Installation, obwohl das in der php.ini hinterlegte Verzeichnis vorhanden ist. Enfachheitshalber habe ich in der configure.php die sessions auf mysql umgestellt, siehe: define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' Seitdem geht es einwandfrei, obwohl ich die Fehlermedlung an und f?r sich schon auch komisch finde. Beste Gr?sse, Peter Link to comment Share on other sites More sharing options...
ttdrobin Posted April 19, 2004 Author Report Share Posted April 19, 2004 verzeichniss erstellt c:/tmp und schon gings =) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.