I am using the SP1 version of dedecms5.7, integrated Discuz+uchome, three communication success. Then I test the synchronization login and exit, found that the Dede member login success, but immediately jump to the login page, that is, not access to the Member center, but Discuz and uchome can be. I use the same user name and password login, and have prompted login success, I would like to ask you how to solve the situation of prawns!
Reply to discussion (solution)
The URL of the jump setting is not
Yes, the source file has not changed, point to index.php
See if there's a problem with the cookie scope setting.
Http://www.discuz.net/thread-466490-1-1.html
Session.cookie_path =/, is this what you want to say? This should be configured like this, no problem.
There could be a BOM problem.
Is this what you're trying to say? This should be configured like this, no problem.
First of all, you look for a/dede/login.php inside a code, you find "successful login, is turning to the administration management home", and then change the corresponding code to this,
if ($res ==1)
{
$cuserLogin->keepuser ();
if (!empty ($gotopage))
{
ShowMsg (' successful login ' is turning to admin admin homepage! ', $gotopage);
Exit ();
}
Else
{
ShowMsg (' Congratulations on your successful login and are turning to admin admin homepage! ', "index.php");
Exit ();
}
}
You see this is not the case, if it is not changed to such a;
Then find it in/dede/templets/login.htm
And see if there's such a sentence If not, add on, or say not this is written like this, change to this. Then log in and see.
You see this is not the case, if it is not changed to such a;
Then find it in/dede/templets/login.htm
And see if there's such a sentence, if not, fix the real world http://www.xzsj8.com Add, or not this is written like this, changed to this. Then log in and see.
UTF-8 version of all PHP files, if you modify improperly, there will be a BOM file header, resulting in the sending of cookies after login invalidation.
directory, it is possible that the file name is the same, check the link library There is a problem with wood
Cookie bar, to see if the time of the service is not corresponding
Dede is not very useful, or with the Empire
I am using the SP1 version of dedecms5.7, integrated Discuz+uchome, three communication success. Then I test the synchronization login and exit, found that the Dede member login success, but immediately jump to the login page, that is, not access to the Member center, but Discuz and uchome can be. I use the same user name and password login, and have prompted login success, I would like to ask you how to solve the situation of prawns!
In the background: System-System basic parameters-core settings-domain name for sharing cookies across domains (for example:. dedecms.com): See if your current website is in the domain, as you are currently localhost, but you set it to burnme.cn, There will be the success of the foreground landing and then jump to the landing page, change it to the current domain name or left blank on it.