Good point bart198x, but we do that imho correct, controller user.php line 200
$usersConfig = JComponentHelper::getParams( 'com_users' );
$useractivation = $usersConfig->get( 'useractivation' );
if (is_array($ret) and $ret['success'] and !$useractivation) {
// Username and password must be passed in an array
$credentials = array('username' => $ret['user']->username,
'password' => $ret['user']->password_clear
);
$return = $mainframe->login($credentials);
}
Maybe the $mainframe->login($credentials); is not working as expected. What we want to prevent is that user must login while the checkout.
I had the same activation link problem. It worked only when I manually added www to the activation link.
Finally did what Bedrock suggested. Not exactly nice, but efficient.
Thanks Bedrock!
@Milbo
"I think you make www as alias, that is wrong"
I don't get it. Can you please elaborate on this assumption?
This is a server configuration issue. If you start to mix your domains. Most people have only a www domain or a domain without www. In fact the www is just a subdomain. so a
www.domain.com exists almost always also as "domain.com". You can configurate the behaviour different. Imho the best solution is to use only with www or without www.
So if you can browse your page with or without www, without being redirected you may get in trouble. Imho this is the real problem behind it.
This is the reason we neglect this problem the last 3 months, because it is often a misconfigured server. Additionally to that it is usually not good to force shoppers todo a double optin.
Even someone pointed out that all other components work well, is the question how many components allow login? So it is strange to see that some people can just solve it changing joomla,
http://forum.virtuemart.net/index.php?topic=103992.msg373624#msg373624 .
Other users noticed also that they have the issue on some servers and on others not. So it is not clearly a Virtuemart problem