Call-back icon  Enterprise Sales: +1.310.775.2674 (N. America)   +44 20.3286.4137 (UK)

Magento

eCommerce Software for Online Growth

Magento Forum

   
Magento Multiple website - Redirect Loop
 
kinokuniya
Jr. Member
 
Total Posts:  2
Joined:  2008-10-21
 

I am having a problem to view my second website

I followed the step by step from the video tutorial. Create new folder, copy index.php and .htaccess to the new folder, change require_once and mage::run
create second root category, create website, store, front that point to this root category. Change url base (secured and unsecured) to point to the new folder.

When I opened my second store, it said

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

My magento is 1.1.6

Example setting
First store :  subdomain.domain.com
second store :  subdmain.domain.com/secondstore

 
Magento Community Magento Community
Magento Community
Magento Community
 
DDMAN
Sr. Member
 
Total Posts:  165
Joined:  2008-01-08
 

I have the same problem.

Is anyone else getting this redirect error when they have a second website? I cannot figure out why this is redirecting. I’m assuming it has something to do with my apache settings but I’m not sure

Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
Mike Silvers
Jr. Member
 
Total Posts:  1
Joined:  2008-09-12
 

Yea - this problem got me too.... but the resolution is simple. 

It is caused by the database foreign key constraints.  To resolve the issue, backup the original database using the admin panel (system->tools->backups).  Use this file to restore the database.

The description of the process is at http://www.magentocommerce.com/wiki/restoring_a_backup_of_a_magento_database

 
Magento Community Magento Community
Magento Community
Magento Community
 
SimpleHelix.com
Guru
 
Avatar
Total Posts:  471
Joined:  2007-08-31
Huntsville, AL
 

I’d like to know this too, it just seem to happen to certain clients.

The backup restore is a different issue altoghether if I’m not imagining.

 Signature 

SimpleHELIX, LLC
A World-Class Magento Web Hosting company - Providing scalable, reliable, and secure enterprise hosting solutions
The creators of super-fast performance hosting. Find out more @ http://www.simpleHELIX.com

 
Magento Community Magento Community
Magento Community
Magento Community
 
DDMAN
Sr. Member
 
Total Posts:  165
Joined:  2008-01-08
 

I am one of those clients on SimpleHelix that is having the issue with multiple websites. (simple helix has been good to work with on trying to resolve this)

Mike Silvers… what you are saying is that if we backup the database and then restore the database it will resolve this issue?

 
Magento Community Magento Community
Magento Community
Magento Community
 
SimpleHelix.com
Guru
 
Avatar
Total Posts:  471
Joined:  2007-08-31
Huntsville, AL
 

hey ddman

pm me, we found the solution.

 Signature 

SimpleHELIX, LLC
A World-Class Magento Web Hosting company - Providing scalable, reliable, and secure enterprise hosting solutions
The creators of super-fast performance hosting. Find out more @ http://www.simpleHELIX.com

 
Magento Community Magento Community
Magento Community
Magento Community
 
DDMAN
Sr. Member
 
Total Posts:  165
Joined:  2008-01-08
 

SimpleHelix,

Any word yet on the fix or the issue?

 
Magento Community Magento Community
Magento Community
Magento Community
 
vcre8ive
Jr. Member
 
Total Posts:  10
Joined:  2008-11-26
 

For me what wored with multiple sites was the php.ini file.
I use Hostmonster, Magento is in a subdirectory. PHP5 Enabled. I was having error ; Failed loading Zend ; in the error logs. So I just placed a copy of php.ini in the magento subdirectory and in the multi store directory.

-v

 
Magento Community Magento Community
Magento Community
Magento Community
 
mikeinspain
Sr. Member
 
Avatar
Total Posts:  108
Joined:  2007-10-08
Alicante, Spain
 

Hey guys

I’m too experiencing major trouble with this redirect.  I have also mentioned it on this thread to see if anyone can help figure out why this may be happening..

http://www.magentocommerce.com/boards/viewthread/24912/

@simplehelix..  Is t possible to share your thoughts as to the possible culprit??

 Signature 

Regards

Mike

CBWEB - Web Design // Internet Marketing
Current Magento Project - Capital Hair & Beauty Spain.
E-Commerce in Spain

 
Magento Community Magento Community
Magento Community
Magento Community
 
Crucial
Guru
 
Avatar
Total Posts:  707
Joined:  2007-11-07
Phoenix, AZ
 

The redirect loop is caused from what you’re entering in the index.php file, see the following tutorial for specific instructions:

http://www.crucialwebhost.com/blog/how-to-setup-multiple-magento-stores/

 Signature 

Crucial Web Hosting
Magento hosting in shared, semi-dedicated, and dedicated configurations.
Check out our Magento Showcase. Follow our updates on Twitter!

 
Magento Community Magento Community
Magento Community
Magento Community
 
talmor
Member
 
Total Posts:  34
Joined:  2008-11-14
 

To vcre8ive, You have no idea how much you’ve help me.

Mentioning the copy of php.ini in the subfolder. fixed a whole session issue for me and allowed me to share carts between store.

Thanks!

 Signature 

Tal Mor
MyLaptop - Magento Store

 
Magento Community Magento Community
Magento Community
Magento Community
 
marknet
Member
 
Total Posts:  46
Joined:  2008-06-19
 

<DELETED> SImpleHelix has fixed the situation.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Bilgehan
Jr. Member
 
Total Posts:  15
Joined:  2008-10-19
 

I found the solution.

when you edit index.php make sure you entered corrent code for your store.

Mage::run(’code_your_new_store‘,’website’);

code_your_new_store to obtain code go to admin-> manage stores then click your web site so you will see CODE for your website get this code and place into index.php then you done.

I did it worked.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
© Copyright 2009 Varien. Magento, eCommerce software, is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
108752 users|360 users currently online|199858 forum posts