Migration Disaster

Discussion in 'Troubleshooting' started by russeltarr, Jan 4, 2008.

  1. russeltarr

    russeltarr New Member

    Joined:
    Jul 19, 2005
    Messages:
    11
    I am shifting over to a new server. I copied all my amember files and database across. However, when I try protecting a folder now ("main_area") the .htaccess file generated creates an infinite loop and then the web browser times out.

    You can see what I mean if you try following the link:
    www.activehistory.co.uk/top_activities

    Has anyone else come across this problem and knows how to deal with it? It's driving me crazy!
  2. pilot

    pilot New Member

    Joined:
    May 24, 2003
    Messages:
    178
    Looks fine to me ??:)
  3. russeltarr

    russeltarr New Member

    Joined:
    Jul 19, 2005
    Messages:
    11
    I deleted the offending .htaccess code for a temporary retest - it's now back as bad as ever...!
  4. getresults

    getresults Member

    Joined:
    Nov 1, 2006
    Messages:
    87
    I had a look and I can't see a problem either.

    If I go to your main_area directory I can wander around and click on the menu links, but when I get to any of the content links it asks me to log in.

    Everything seems to be working fine from my perspective.

    Or is it the actual protected content that causes problems?
  5. russeltarr

    russeltarr New Member

    Joined:
    Jul 19, 2005
    Messages:
    11
    OK - to simplify, here's a web address in the members' area:

    http://www.activehistory.co.uk/main_area/games/yr9_jack_ripper/index.htm?

    If I click on it at present (without logging in) I get redirected to the "login" page.
    If I then try logging in (e.g. login: toulouse, password: sausage) I then appear to get trapped in an infinite loop and the page refuses to load.

    If anyone could try going through these steps from their end and let me know what happens, it might be helpful...I've been waiting for 15 hours now for a reply to my support ticket without any luck....!
  6. pilot

    pilot New Member

    Joined:
    May 24, 2003
    Messages:
    178
  7. russeltarr

    russeltarr New Member

    Joined:
    Jul 19, 2005
    Messages:
    11
    Thanks for the reply, but unfortunately this doesn't help...if you try the following page

    http://www.activehistory.co.uk/main_area

    You get exactly the same thing. There's no redirect on that page either but I'm getting exactly the same problem.

    It's now been 24 hours since my ticket was submitted and my website has been out of action, so I'm hoping someone at Amember gets to it soon...
  8. russeltarr

    russeltarr New Member

    Joined:
    Jul 19, 2005
    Messages:
    11
    28 hours and counting...
  9. russeltarr

    russeltarr New Member

    Joined:
    Jul 19, 2005
    Messages:
    11
    Interestingly, if I make a minor change to the .htaccess from [Example A] to [Example B] then the infinite loop does not occur, but neither are any folders protected.

    EXAMPLE A:
    RewriteRule ^(.*)$
    http://www.activehistory.co.uk/amember/plugins/protect/new_rewrite/login.php?v=%1-0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63&url=%{REQUEST_URI}?%{QUERY_STRING} [L,R]

    EXAMPLE B:
    RewriteRule ^(.*)$
    http://www.activehistory.co.uk/amember/plugins/protect/new_rewrite/login.php?v=%1-0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16$
  10. russeltarr

    russeltarr New Member

    Joined:
    Jul 19, 2005
    Messages:
    11
    With no reply yet to my support ticket after 34 hours (I know, it's new year etc!) I've had to change the DNS so that the web address points at my old server again. So the problem will not appear to exist any more even though it hasn't been solved so far as my new server is concerned.

    Thanks anyway.
  11. n4v4rr0

    n4v4rr0 New Member

    Joined:
    Feb 23, 2009
    Messages:
    4
    russeltarr,
    I'm having this same problem...I see your post was from last month, did you find the solution?
  12. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    n4v4rr0,

    What all did you change (in aMember) when you moved over to your new servers?

    Have you tried protecting a new folder and comparing the .htaccess files?

Share This Page