thv9bro Posted January 19, 2005 Posted January 19, 2005 When I start admin or catalog I get the following message: Warning: session_start() [function.session-start]: open(/tmp\sess_9c9113477338f9b1a3bc8a49189fbb92, O_RDWR) failed: No such file or directory (2) in C:\xampplite\htdocs\winkel\catalog\admin\includes\functions\sessions.php on line 67 Fatal error: Cannot re-assign $this in C:\xampplite\htdocs\winkel\catalog\admin\includes\classes\upload.php on line 31 Warning: Unknown: open(/tmp\sess_9c9113477338f9b1a3bc8a49189fbb92, 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 Do i have to drop the database (mysql) en configure it again? :huh:
Guest Posted January 19, 2005 Posted January 19, 2005 you should search for 'php5 fix' here in the forum, with you using php5 you have to change the code ($this needs commenting). also in your configure.php files set store_sessions to mysql you can also create a tmp directory in your root to solve the last part.
thv9bro Posted January 19, 2005 Author Posted January 19, 2005 you should search for 'php5 fix' here in the forum, with you using php5 you have to change the code ($this needs commenting).also in your configure.php files set store_sessions to mysql you can also create a tmp directory in your root to solve the last part. <{POST_SNAPBACK}> thanks, but I found this message: PHP 5 Compatibility Last Update: 15th October, 2004 Article ID: 207 Introduction Solution Introduction A number of hosting companies are starting to offer hosting based on PHP5. Currently there are a number of issues when using MS-2 under PHP 5 which prevents osCommerce from functioning correctly. Solution As MS-2 was released whilst PHP 5 was still in development it was not possible to make the application compatible. This issue will be fixed for the MS-3 release which will be fully compatible with PHP 5. There are a number of fixes availble in the forums to correct the problems with MS-2 however the effect of these changes cannot be confirmed so are not recommended by osCommerce. So i'll think I have to wait. >_<
Guest Posted January 19, 2005 Posted January 19, 2005 if you read your message and look here: Fatal error: Cannot re-assign $this in C:\xampplite\htdocs\winkel\catalog\admin\includes\classes\upload.php on line 31 then read my message which is the php5 fix: comment out $this then it works. then read the rest of the message. and it all works.
thv9bro Posted January 19, 2005 Author Posted January 19, 2005 I've set mysql into: C:\xampplite\htdocs\winkel\catalog\admin\includes configure.php but i'll still get the message: Warning: session_start() [function.session-start]: open(/tmp\sess_5616cfa91211a8ef5ee94d09d21f7eb5, O_RDWR) failed: No such file or directory (2) in C:\xampplite\htdocs\winkel\catalog\includes\functions\sessions.php on line 67 in my catalog. After I changed /* $this = null; */ I can see the administrator page, but when I go to a link it went wrong: http://localhostdir_ws_admincustomers.php/...5fcef333227078b I think I should be localhost:82.......
Guest Posted January 19, 2005 Posted January 19, 2005 please read the last line in my post #2 about creating a directory
thv9bro Posted January 19, 2005 Author Posted January 19, 2005 please read the last line in my post #2 about creating a directory <{POST_SNAPBACK}> o.k. wrong root that;s wordking, but my admintools still don't work
thv9bro Posted January 19, 2005 Author Posted January 19, 2005 o.k. wrong root that;s wordking, but my admintools still don't work <{POST_SNAPBACK}> another question: why can't I see the pictures from een other machine? It's only working with localhost
thv9bro Posted January 19, 2005 Author Posted January 19, 2005 Found The files configure.php in admin/includes and calatog/includes, don't work with localhost, i've changed them tot the staticip my isp gave me and it works. This topic can be :D :D :D closed
Recommended Posts
Archived
This topic is now archived and is closed to further replies.