Home
Login | Register
Welcome, Guest
Please Login or Register.    Lost Password?

Firefox Page Load Error - Redirect Loop - SOLVED
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Firefox Page Load Error - Redirect Loop - SOLVED
#177
Firefox Page Load Error - Redirect Loop - SOLVED 3 Years, 4 Months ago Karma: 0
I installed jSecure Authentication in a Joomla 1.5.7 site. It works great except I selected "Redirect to index page" and it doesn't redirect to the index page. If I logout & go to www.mywebsite,com/administrator I get a Firefox Page Load Error

"Redirect Loop

Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

The browser has stopped trying to retrieve the requested item. The site is redirecting the request in a way that will never complete.

* Have you disabled or blocked cookies required by this site?
* NOTE: If accepting the site's cookies does not resolve the problem, it is likely a server configuration issue and not your computer."

The site has sh404SEF installed on it (using the.htaccess file). I don't know what to enter in the Custom Path to make it go to the sh404SEF 404 page, do you know the file path name for the sh404SEF 404 page?

I have it installed on another Joonla 1.5.7 site that has the same problem but it does not have sh404SEF installed. It uses the Joomla SEF which uses the .htaccess file.

If I could just make both sites go to the Home (index) page, that would be great.

I am using FireFox.

Thanks.
yaani
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2008/10/16 21:52 By yaani.
The administrator has disabled public write access.
 
#178
Re:Firefox Page Load Error - Redirect Loop 3 Years, 3 Months ago Karma: 0
Hi,

Can you give me access to the site to that I can examine and provide you solution. Please PM me the details.

Regards,
Ajay
webtech2
Fresh Boarder
Posts: 0
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#180
Re:Firefox Page Load Error - Redirect Loop 3 Years, 3 Months ago Karma: 0
I looks like the new file jsecure.php has the code mixed up.

Go to the if statement on the file and replace the whole block with this code:

$config =& JFactory::getConfig();
$path = $config->getValue('config.live_site',JURI::base());
$path .= $params->get( 'options' ) == 1 ? JURI::root(true).'/'.$params->get( 'custom_path' ) : '';
$app =& JFactory::getApplication();
$app->redirect($path);

Hope this help.
mgdesignstudio
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#181
Re:Firefox Page Load Error - Redirect Loop 3 Years, 3 Months ago Karma: 0
mgdesignstudio,

Thank you so much for your reply!

Ajay had responded to me through PM letting me know there was a bug in the code that will be fixed in the next release.

Another work-a-round the bug is to set the Redirect Option to Custom Path & use "/" (without quotes) in the custom path to redirect to the Home page.

The extension works great!

Thanks again to both of you for your help!
yaani
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#233
Still not solved 3 Years, 1 Month ago Karma: 0
Please explain in more detail sir.

I got the same error. So for the temporary sake I kept the custom page as "/" and is working fine. but

The URL goes like www.ens.org.in// instead of www.ens.org.in/

i.e 2 slashes //. So atlest solve this else explain me in detail about the code replacement. I tried to replace the code and found there are 3 if's there nested.

Like,

Code:

if(...){
         if(...){
                  if(...){
                            //Here are the lines that appear similar to yours. So I replaced only these lines of 3rd if
         
                         }
                }
       }


So should I replace all the if in to 1 if or only the 3rd if like I did.

That didn't work for me.

Please help me as its very URGENT!!!

I am going to use it in my website www.ens.org.in

Reply avaited
eyashwant
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Gender: Male EnS eyashwant eyashwant_1000 e.yashwant Location: Hyderabad, India
The administrator has disabled public write access.
E.Karnika Yashwant
Official website- www.ens.org.in
Toolbar- www.ensgroups.ourtoolbar.com
EnS search- http://search.ens.org.in
EnS Chat- http://chat.ens.org.in
EnS e-store- http://estore.ens.org.in
For queries, support contact admin@ens.org.in
 
Go to topPage: 1