A Possible solution to CB login Problems

18 years 1 month ago #8406 by Sheila
I am using Joomla 1.0.8. Previously I had issues using my CB Login. When I tried to log in, the page only refreshed and sent me to my search page. Although, "Lost password" and "Register" worked the whole time.

To fix this issue, I had to open up the mod_cbloginrc2.php, and I found this body of code around 276:

echo "\n".'<input type="hidden" name="op2" value="logout" />'."\n";
echo '<input type="hidden" name="lang" value="'.$mosConfig_lang.'" />'."\n";
echo '<input type="hidden" name="return" value="'.sefRelToAbs( $logout ).'" />'."\n";
echo '<input type="hidden" name="message" value="'.$message_logout.'" />'."\n";



Above "op2" I added another line:

echo "\n".'<input type="hidden" name="option" value="logout" />'."\n";

That code change made it possible for me to log in, but I then had to scroll up the file a bit until I found the same body of code that was assigned for logging out, and then added the same "option" line.

After that, I could also log out.

Try that and see if it works, if you find you are in the exact same situation as I was.

I also changed a few minor things, but I am pretty sure that change is what solved it.

Regards

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.151 seconds

Facebook Twitter LinkedIn