visitor (0 QPoints)
  • FR
  • EN
  • NL
  • DE
  • ES
315 experts, 1193 registered users, 1659 questions already answered
European Experts Exchange, the very best site for high-quality IT solutions

New Improved Search!

 


05/10/2011 1h30 : Steve Jobs is dead, the father of Apple ][ is gone, we are all orphaned.

Languages :: PHP :: phpmyadmin not working any more after reinstall, message is "Warning: session_write_close() "


By: Bernard France  Date: 29/03/2007 23:04:24  English  Points: 20 Status: Answered
Quality : Excellent
Wonderful, wonderful...here we go again...sigh

I've just finished spending the better part of a day cleaning out that wonderfully nasty little surprise called trojan/Zlob from my computer. However, now that I have a nice clean system my phpmyadmin isn't working??? I've just reinstalled phpmyadmin again in hopes of going around it but to no avail. I'm still getting the same message (and yes I remembered to stop and restart my Apache server). Here's the message...any ideas anyone

Warning: session_write_close() [function.session-write-close]: open(C:\DOCUME~1\DOUG~2.MAX\LOCALS~1\Temp\php\session\sess_vus22j5oarbof3bp05pqtld860, O_RDWR) failed: No such file or directory (2) in C:\Server\htdocs\phpmyadmin\index.php on line 44 Warning: session_write_close() [function.session-write-close]: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (C:\DOCUME~1\DOUG~2.MAX\LOCALS~1\Temp\php\session) in C:\Server\htdocs\phpmyadmin\index.php on line 44



Can anyone help here ?

By: VGR Date: 29/03/2007 23:05:05 English  Type : Answer
easy. your session_dir isn't valid anymore, or you've a hard disk failure on the C: drive, which indicates no bright immediate future :D

edit the php.ini to set the session handler (mode 'file') to write to a better directory, say c:\sessions or c:\php_sess and it should be it.

as you reinstalled, I remind you the disk holding the session files has to be mtime() enabled, ie NTFS or FAT32 but not FAT16

regards
By: Bernard Date: 29/03/2007 23:12:31 English  Type : Comment
Hey VGR,

Many thanks, happily up and runningscrewing up more scripts once again... cheers

Do register to be able to answer

EContact
browser fav
page generated in 334.398980 milliseconds

Why Google AdSense ads ?

compteur
 Ranking-Hits PageRank for this page