29
Hi all,
I solved my problem and I want to subsume all the ideas I got from the community - my be it helps someone else.
The problem was:
after login I got the message "Thank you..." what ment the password was OK. But I was redirected to the login page.
My solution with the help of an experienced coder was:
In the PHP.INI of my provider the setting of session.cookie_path was set to /tmp instead of /. I had to enter the line:
php_value session.cookie_path /
in a .htaccess file in the root path - that solved it.
But there were also following suggestions, that had solved the problem on other sites:
The acceptance of cookies is switched off in the browser:
Check your browser or use another computer. Try to login in another XOOPS page to check.
The provider uses a proxy and you do not get a "fresh" page:
Try another provider. Reload after some hours.
The cookie is wrong:
Compare the PHPSESSID value in the cookie with the one in the database table "sessions".
The database table "sessions" is corrupted. Check the database and drop and reinstall the table by using:
CREATE TABLE xoops_session (
sess_id varchar(32) NOT NULL default '',
sess_updated int(10) unsigned NOT NULL default '0',
sess_ip varchar(15) NOT NULL default '',
sess_data text NOT NULL,
PRIMARY KEY (sess_id),
KEY updated (sess_updated)
) TYPE=MyISAM;
The user name of the database contained a "_" what can lead to misunderstandings:
Change the user name.
Register_Globals is set to on or the safe_mode is on:
Change it to Off
Thats all - may be it helps!
so long
Carsten