Hi.

After of three monthes of stable work my hoster did upgrade, then I changed absolute pathes in my SMFForum Settings.php
and tried to dump the db (with sypex dumper), but it crashed with error:

2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

I thought that update.php must be done, and after that I cannot login to administer - blank screen. And users cannot do this too.

Then I localized problem with dumper (attributes were wrong), Installed phpmyadmin:
cleared cache tables and session tables, but still cannot login.

In watchdog table I see such messages:

For MY_LOGIN session is closed
Session is opened for MY_LOGIN

What shall I do?

Comments

ñull’s picture

Try clear sessions table and delete your site's related cookies in your browser

cooler_inc’s picture

I tried to clear session table in mysql database, but there is no result. I didn't clear cookies because I had an attempt to login from different computers. And BTW I tried to register new user - blank screen and no login in.

Maybe there is something else (method, way)? HELP?

mishhh’s picture

...but I don't know if this is your case too... but you can try..

try commenting out the 957 line in the user.module

that line is something like:

sess_regenerate();

it cannot hurt to much to try it....

For me it worked...
:)

Archie Bunker’s picture

I'm having the same problem. Did you figure it out? It also happened to me after running update.php.

jmav’s picture

Raise memory value in php.ini

Default is 8M -> raise to at least 32M better 64M

memory_limit = 64M

Links:
http://drupal.org/node/132481
http://programmingbulls.com/node/166