[SOLUTION] Error 404 Login CB 1.1 Joomla 1.5 RC2

16 years 4 months 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:

Please Log in to join the conversation.

16 years 3 months ago #51520 by michael_belanger
Replied by michael_belanger on topic Re:[SOLUTION] Error 404 Login CB 1.1 Joomla 1.5 RC
Reposted problem in newbies thread, since theoretically I am a newbie :blush:

Post edited by: michael_belanger, at: 2007/12/03 00:12

Please Log in to join the conversation.

16 years 3 months ago #51526 by michael_belanger
Replied by michael_belanger on topic Re:Error 404 Login CB 1.1 Joomla 1.5 (legacy)
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

Please Log in to join the conversation.

16 years 3 months ago #52564 by trifo
it works :)

here the correct line :

echo '<input type="hidden" name="return" value="' . ( $login ) . '" />'."\n";

Please Log in to join the conversation.

16 years 3 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.

SfSovoda

Please Log in to join the conversation.

16 years 3 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:

[code:1]http://abe/joomla/joomla/index.php?option=com_content&view=frontpage&Itemid=1[/code:1]

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.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.699 seconds

Facebook Twitter LinkedIn