Admin Login redirect

General Support for technical Issues relating to AlegroCart
Post Reply
nicolaswhitham
Posts: 21
Joined: Sun Jul 03, 2011 2:58 pm

Admin Login redirect

Post by nicolaswhitham » Thu Aug 04, 2011 6:08 am

I have two installations of Alegro Cart one on my development server and one that I am setting up as a production server. When I login as admin they behave differently; on the development server I get redirected after login to the Admin Home page and on the production server I get redirected to the shop page. Please can you advise how to adjust this so that when I login to the production server I get to the Admin home page automatically.
Last edited by nicolaswhitham on Thu Aug 04, 2011 6:30 am, edited 1 time in total.

User avatar
leo
admin
Posts: 4320
Joined: Sun Dec 13, 2009 8:27 am
Location: Hungary

Re: Admin Loging redirect

Post by leo » Thu Aug 04, 2011 6:18 am

What's up if you try to reach the admin login page again?

nicolaswhitham
Posts: 21
Joined: Sun Jul 03, 2011 2:58 pm

Re: Admin Loging redirect

Post by nicolaswhitham » Thu Aug 04, 2011 6:29 am

on my development server I get redirected to the Admin Home page as I would expect. On the production server I get redirected to the Shop Home Page. In both instances I am accessing via http://www.myserver.com/shop/admin/

User avatar
leo
admin
Posts: 4320
Joined: Sun Dec 13, 2009 8:27 am
Location: Hungary

Re: Admin Login redirect

Post by leo » Thu Aug 04, 2011 8:34 am

Fairly speaking I have never faced this problem. I have a lot of parallel installs like
www.mysite.com/shop1/admin
www.mysite.com/shop2/admin
up to 8-10 but everything works here fine.
Do you have possibility to create subdomains?

nicolaswhitham
Posts: 21
Joined: Sun Jul 03, 2011 2:58 pm

Re: Admin Login redirect

Post by nicolaswhitham » Thu Aug 04, 2011 8:37 am

Yes I do - do you think that will help?

User avatar
leo
admin
Posts: 4320
Joined: Sun Dec 13, 2009 8:27 am
Location: Hungary

Re: Admin Login redirect

Post by leo » Thu Aug 04, 2011 8:57 am

Hmmmm, no. :)
If you have installed your shops into 2 different directories, using 2 different sql databeses you shouldn't have this problem even if you use the same username and password for the admin.
Is it 1.2.6?

nicolaswhitham
Posts: 21
Joined: Sun Jul 03, 2011 2:58 pm

Re: Admin Login redirect

Post by nicolaswhitham » Thu Aug 04, 2011 11:55 am

Yes they are different databases and different directories

nicolaswhitham
Posts: 21
Joined: Sun Jul 03, 2011 2:58 pm

Re: Admin Login redirect

Post by nicolaswhitham » Thu Aug 04, 2011 11:56 am

Sorry - yes it is 1.2.6

User avatar
leo
admin
Posts: 4320
Joined: Sun Dec 13, 2009 8:27 am
Location: Hungary

Re: Admin Login redirect

Post by leo » Thu Aug 04, 2011 12:51 pm

PM sent.

Post Reply