Experts Round Table Network

Databases => MySQL => Topic started by: DougB on March 29, 2007, 10:49:57 AM



Title: Ah Crap, I got infected, repaired my system and now phpmy admin won't work...
Post by: DougB on March 29, 2007, 10:49:57 AM
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

Code:
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. Many thanks in advance gang, much appreciated...
DougB



Title: Re: Ah Crap, I got infected, repaired my system and now phpmy admin won't work..
Post by: VGR on March 29, 2007, 11:56:08 AM
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


Title: Re: Ah Crap, I got infected, repaired my system and now phpmy admin won't work...
Post by: DougB on March 29, 2007, 02:58:40 PM
Hey VGR,

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

DougB