Call-back icon  Sales: Call 877.832.5289 (N America)|310.295.4144 (International)

Magento

eCommerce Software for Online Growth

Magento Forum

   
Redirect Loop error - SOLVED! 
 
paul@moodandmind.com
Member
 
Avatar
Total Posts:  63
Joined:  2008-01-13
 

OK - I solved this.  You HAVE TO delete the MySql database used for any previous Magento Install and recreate a new database fresh.

This solved the problem!
_____________________________________

While doing a fresh install of 1.0, after clicking CONTINUE on the page where the Database is defined, in Firefox I get a “REDIRECT LOOP” Error saying: Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

The URL I end up at under the error is:
http://www.moodandmind.com/index.php/install/index.php/install/index.php/install/index.php/install/index.php/install/index.php/install/index.php/install/index.php/install/index.php/install/index.php/install/index.php/install/index.php/install/index.php/install/index.php/install/index.php/install/index.php/install/index.php/install/index.php/install/index.php/install/index.php/install/?SID=a46a3655d2fc52351f0d977bd009d544

When I try to go back to the install, it just says the same thing.

In MSIE 7 - I get a basic “CANNOT DISPLAY THIS WEB PAGE” error.

If I actually type “install.php” instead of /install, I get this error from within Magento under MSIE 7 and Firefox:

Error in file: “/home/realstu5/public_html/moodandmind.com/app/code/core/Mage/Sendfriend/sql/sendfriend_setup/mysql4-install-0.7.0.php” - SQLSTATE[42S01]: Base table or view already exists: 1050 Table ‘sendfriend_log’ already exists

When I go to the root of the store (index.php), or the ADMIN I get the same exact errors.

Hopefully there is a way around this without deleting everything and reuploading the whole kit and kaboodle.

Please help!

 
Magento Community Magento Community
Magento Community
Magento Community
 
paul@moodandmind.com
Member
 
Avatar
Total Posts:  63
Joined:  2008-01-13
 

Even if someone could tell me if there are some specific files I can delete and reupload, that would be great. It just takes a long while to reupload all the files.

 
Magento Community Magento Community
Magento Community
Magento Community
 
msroot
Jr. Member
 
Total Posts:  8
Joined:  2007-11-07
 

I have tha same problem.i try to CMOD all the Directories And Subdirectories
http://www.magentocommerce.com/knowledge-base/entry/magento-installation-guide
and i get the same error

 
Magento Community Magento Community
Magento Community
Magento Community
 
steffen
Jr. Member
 
Total Posts:  3
Joined:  2008-01-14
 

Paul: I’ve also tried several times.

I experience exactly the same problem as Paul.
What I did in SSH:
Downloaded with wget
tar -zxvf magento-1.0.tar.gz
cd magento
chmod o+w var var/.htaccess app/etc
chmod -R o+w media

Then started the installation on http://www.mydomain.com/magento

Entered all database info
Have tried with and without checking the box for apache/rewrite.
Clicked the button to continue…

Got the loop error. Same experience as Paul with MSIE/Firefox

 
Magento Community Magento Community
Magento Community
Magento Community
 
paul@moodandmind.com
Member
 
Avatar
Total Posts:  63
Joined:  2008-01-13
 

Well, I feel a little bit better that I am not the only one with this issue.

I did have Magento working fine and dandy under the 7.14

My host is Midphase.com and they have verified that they have all the the recommended settings and variables in place.

I have gone ahead and deleted and reuploaded the files, but I’m not going to try the install again until I get an official response to this error.

 
Magento Community Magento Community
Magento Community
Magento Community
 
steffen
Jr. Member
 
Total Posts:  3
Joined:  2008-01-14
 

I found this in another thread:
Anyone tried this?

janoschii - 19 January 2008 09:37 AM

I solved this problem.
I found an Thead with a tip of Mark_Kimsal. Thanks
Read the Thread

Just search for ‘SCRIPT_NAME’ in these files and change to ‘ORIG_SCRIPT_NAME

Mage/Core/Model/Store.php
Mage/Core/Model/Config.php
Mage/Core/Model/Url.php
Mage/Core/functions.php

 
Magento Community Magento Community
Magento Community
Magento Community
 
paul@moodandmind.com
Member
 
Avatar
Total Posts:  63
Joined:  2008-01-13
 

Well, this was for the 7.14 release back in January, so I’m thinking that this ain’t gonna do it.

Also, since the 7.14 release installed for me flawlessly, I’m thinking it’s not the issue.

steffen - 01 April 2008 10:21 AM

I found this in another thread:
Anyone tried this?

janoschii - 19 January 2008 09:37 AM
I solved this problem.
I found an Thead with a tip of Mark_Kimsal. Thanks
Read the Thread

Just search for ‘SCRIPT_NAME’ in these files and change to ‘ORIG_SCRIPT_NAME

Mage/Core/Model/Store.php
Mage/Core/Model/Config.php
Mage/Core/Model/Url.php
Mage/Core/functions.php

 
Magento Community Magento Community
Magento Community
Magento Community
 
paul@moodandmind.com
Member
 
Avatar
Total Posts:  63
Joined:  2008-01-13
 

Well, I got antsy with no official replies and tried the install again.

This time I did the install via MSIE 7.0, and it just keeps loading forever after the database page, but it’s the same reload loop through Firefox.

Please help Varien.

 
Magento Community Magento Community
Magento Community
Magento Community
 
paul@moodandmind.com
Member
 
Avatar
Total Posts:  63
Joined:  2008-01-13
 

solved - see the original post.

 
Magento Community Magento Community
Magento Community
Magento Community
 
brandondrew
Member
 
Avatar
Total Posts:  60
Joined:  2007-09-12
 

I’m getting this error with a fresh installation of 1.0, and a freshly created database.  I created the db from the command line.  Any ideas?

In case this contains some clues, here’s exactly how I created the database:
$ mysql -uroot -p
mysql> create database magento;
mysql> use magento;
mysql> grant all on magento.* to ‘magento’@’localhost’ identified by ‘xxxxxxxxxx’;
mysql> create user magento;

 
Magento Community Magento Community
Magento Community
Magento Community
 
vivaknievel
Jr. Member
 
Total Posts:  28
Joined:  2008-08-07
 

Deleting the MySQL database did not work for me, and I do not have SSH access to be able to try the other method included in this thread.

What got me out of the loop, was on the 6th try, I used the Magento Downloader package and installed that via FTP, instead of the full release.
As for FTP, the clients I’ve used with greater success are Firefox’s FireFTP add-on and also Cyberduck, both of which allow you to change permissions not only to the root folder, but also the files and folders underneath them.

On this installation, I used Cyberduck, which lets you also set what the permissions should be for files you upload.  Here, I had mine set for 777 for folders and 644 for files.  Dropped the Downloader package on to my public_html folder and voila!  10 minutes later, a Magento installation that works!

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
Sales: Call 877.832.5289 (North America) 310.295.4144 (International)
© Copyright 2008 Varien. Magento, eCommerce software, is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
52310 users|446 users currently online|105632 forum posts