[SOLUTION] Error 404 Login CB 1.1 Joomla 1.5 RC2

12 years 2 weeks ago #51146 by BAKA
Divyatyam, are you sure you uploaded the file once you modificated it? :P
Please give us an url to check that... :huh:
12 years 1 week ago #51520 by michael_belanger
Reposted problem in newbies thread, since theoretically I am a newbie :blush:

Post edited by: michael_belanger, at: 2007/12/03 00:12
12 years 1 week ago #51526 by michael_belanger
After trying in vain a second time to apply the code fix, I reinstalled Joomla! in its entirety with the same results.

Any ideas now? :unsure:

Post edited by: michael_belanger, at: 2007/12/02 02:13
11 years 11 months ago #52564 by trifo
it works :)

here the correct line :

echo '<input type="hidden" name="return" value="' . ( $login ) . '" />'."\n";
11 years 11 months ago #52700 by sfsovoda
Tried code fix, still having issue when starting fresh in new window.

Any other ideas?

How about a hint where to put in a line for a refresh of the screen after login accepted.

11 years 11 months ago #52712 by leeshipley
This is not a solution but a big of the jigsaw puzzle that a person a bit more familiar with PHP may be able to use in solving this one.

I have tried the fix on an XP box XAMPP and Joomla 1.5 but end up not even the nicely formatted 404 error page.

The clue is in the URL the routine tried to use as a return:


All my joomla site is under the "joomla/" subdirectory on my local abe server. The program has repeated the subdirectory and so the browser does not know where to go. If I manually edit out the second "joomla/" the browser ends up where it should have gone.

So something in the coding is inserting the second "joomla/".

I notice that the coding in cb_login.php has a complex section branching to build the appropriate URL for the version of Joomla. This would explain why the patch worked for some and not others.
Moderators: beatnantkrileon
Time to create page: 0.436 seconds

Facebook Twitter LinkedIn