ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Redirect from Username Submission Doesn't Work

November 26, 2007 1:44am

Subscribe [1]
  • #1 / Nov 26, 2007 1:44am

    desertdaisy

    20 posts

    After I submit a username and password that definitely exist, and after I see the screen that says “You are now logged in. Click here if not redirected in a few seconds,” Then I get the following error page:
    Not Found

    The requested URL /site/content_blog was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
    Apache/1.3.37 Server at http://www.fadingmargins.com Port 80

    Can’t figure out what’s wrong, but my site is inaccessible to all its members. Appreciate your help to work this out.

  • #2 / Nov 26, 2007 10:49am

    Robin Sowell

    13255 posts

    Is it possible to link to the main page of the site- does that load ok for non-members?  And are you using the login form tag- or the member/login page?  Lastly- what version/build are you running?

  • #3 / Nov 26, 2007 2:43pm

    desertdaisy

    20 posts

    The website in question is: fadingmargins.com
    The main page loads OK for everyone.
    Here’s my code:

    {exp:member:login_form return="site/content_blog"}

    <label>Username</label>    <input class=“input” type=“text” name=“username” value=”” maxlength=“22” size=“25” />

    <label>Password</label>    <input type=“password” name=“password” value=”” maxlength=“22” class=“input” size=“25” />


    <input class=“input” type=“submit” name=“OK” value=“submit” />

    {/exp:member:login_form}

    I’m using EE 1.6.1 Build:  20071114

  • #4 / Nov 26, 2007 3:39pm

    Lisa Wess

    20502 posts

    Can you temporarily try using the full URL in the return= parameter, please?  Let’s see if that helps.

  • #5 / Nov 26, 2007 4:41pm

    desertdaisy

    20 posts

    OK.
    Changing this code: {exp:member:login_form return="site/content_blog"}
    To this code: {exp:member:login_form return="http://www.fadingmargins.com/index.php?/site/content_blog"}
    worked. I went from the index page where I entered username and password to the page telling me I was logged in and would be automatically directed (this is as far as I was getting before) and then to the content_blog page. So, changing the return=”” worked. What next?

  • #6 / Nov 26, 2007 6:58pm

    Lisa Wess

    20502 posts

    This is a known bug, for now, just use the full URL, when the next update comes out you can try reverting to the group/template syntax. =)

  • #7 / Nov 26, 2007 7:36pm

    desertdaisy

    20 posts

    Thanks folks!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases