Home arrow Forum 404 error with double url
  Welcome, Guest. Please login or register.
Did you miss your activation email?
November 22, 2008, 02:04:06 PM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Hacks
| |-+  Joomla-SMF Forum Support
| | |-+  Joomla-SMF 2.0.x (Moderators: -Wolverine, kai920)
| | | |-+  404 error with double url
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: 404 error with double url  (Read 588 times)
dezkreet
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 7


View Profile
404 error with double url
« on: April 29, 2007, 03:34:31 PM »

WHen i login, or any other member does for that matter, they are greeted with a 404 error and the addy shows a double url.

I've spent a couple hours scouring the net for the fix and am unable to find it.  most of what i've seen target SEF, but i have that disabled.  I have the latest versions of smf, the bridge as well as joomla.

I've tried getting rid of the htaccess file that set register_globals off, but that did nothing.  I've also encountered a fix for a different version of joomla, but its for the default login module, rather than the community builder

What i've noticed to work was when i deleted my cookies, it would log me in problem free
Logged
dezkreet
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 7


View Profile
Re: 404 error with double url
« Reply #1 on: April 29, 2007, 03:59:23 PM »

fixed it, opened up mod_cblogin.php
under
if (!(strncmp($request_uri, "http:", 5)==0) && !(strncmp($request_uri, "https:", 6)==0)) {

i commented out the following

   // $return = "http".((isset($_SERVER['HTTPS']) && ( !empty( $_SERVER['HTTPS'] ) ) && ($_SERVER['HTTPS'] != 'off') )?"s":"")
   //      ."://".mosGetParam( $_SERVER, 'HTTP_HOST', null ).((strpos($request_uri, '/') !== 0) ? "/":"").$request_uri;


and then added the same as the else here

$return = $request_uri;

} else {
   $return = $request_uri;
}
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use
Joomla Hacks



Joomla Hacks
German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
i-Vibe.com
Search Contact About Advertise Blogs Topsites Submit News Register Login