Also ran into this problem. Worked fine at first on my dev-site, so I installed it on a live site as well. Tried reinstalling the plugin as well as poke around in different ways that geeffland suggested, without results.
Ended up just commenting out rows 64 through 83 temporarily, merged my users and now it works just fine!
Kudos on a fine plugin geeffland! Looking forward to v2!
Comment out this if you have problems:
[code:1] // check against db record of session
if ( $session_id == md5( $my->id . $my->username . $my->usertype . $logintime ) ) {
$query = "SELECT *"
. "\n FROM #__session"
. "\n WHERE session_id = '$session_id'"
. "\n AND username = " . $database->Quote( $my->username )
. "\n AND userid = " . intval( $my->id )
;
$database->setQuery( $query );
if (!$result = $database->query()) {
echo $database->stderr();
}
if ($database->getNumRows( $result ) != 1) {
echo "<script>document.location.href='index.php'</script>\n";
exit();
}
} else {
echo "<script>document.location.href='$mosConfig_live_site/administrator/index.php'</script>\n";
exit();
};[/code:1]
- Icky