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.

User Login not working but Admin Login Does

October 02, 2008 10:40pm

Subscribe [2]
  • #1 / Oct 02, 2008 10:40pm

    Etan

    11 posts

    Hi All,

    When I try to login as a user (under the member/login/ page) my login cookies are not being set and I am not successfully logging in.

    If I try to log in as an admin (under admin.php / ee/ee_sys/index.php) my session successfully logs in.

    I can’t figure out why the user login stopped working. Where can I go to check settings and begin trouble shooting?

  • #2 / Oct 02, 2008 10:54pm

    Etan

    11 posts

    I found the problem, I have redirected (301) all http://www.sitename.com urls to sitename.com

    This broke the logins.

    http://ellislab.com/forums/viewthread/53327/#261388

    Provides some suggestions but none of these settings were incorrect in my system, they all had the www. removed and the cookies still didn’t get set.

    Any further suggestions?

  • #3 / Oct 02, 2008 11:04pm

    Etan

    11 posts

    # Fix trailing slash problem
    RewriteRule ^([^\.]+[^/])$ http://toomuchsexy.org/$1/ [R=301,L]

    It looks like this is the problematic .htaccess entry.

    Any clue?

  • #4 / Oct 03, 2008 4:07am

    Ingmar

    29245 posts

    Does it work correctly without that line (commented out, eg)?

  • #5 / Oct 03, 2008 3:21pm

    Etan

    11 posts

    Yes, commenting it out fixes the problem.

  • #6 / Oct 04, 2008 10:12am

    Ingmar

    29245 posts

    Hate to point out the obvious, but the culprit is your rewrite rule, then. It looks rather complicated, too. Perhaps another approach might work? Also, I am moving this over to Howto to the community can get involved, if they have something to contribute.

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

ExpressionEngine News!

#eecms, #events, #releases