I'm having problem with a joomla site I'm working on.
I cannot get the login to function properly on my test server but everything is just fine and dandy on my own pc.
The issue is the login takes 2 succesful logins to work & the remember me cookie does not work.
I've spent a lot of time looking through the code and the only solution I could come up with to get it working was to add the following to the comprofiler.php code:
if (checkJversion() == 0) {
$mainframe->login($username,$passwd);
} else {
$mainframe->login($username,$passwd2);
}
$_PLUGINS->trigger( 'onAfterLogin', array($row, true));
die();
When I add die(); the cookie exist properly in both browsers, without it, neither work. (Testing with IE6.0 and Firefox 1.5)
Obviously adding die(); to the code is not a good solution... also to note is I believe it may have something to do with the actual php setup on the server. After excessive testing with that as well I'm still stuck.
Any suggestions would be more the helpful.
Thanks in advance
Note: Joomla! 1.0.10 Stable [ Sundown ] 26 June 2006
Note: Community Builder 1.0 Stable (latest and greatest)