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.

Login Returns Homepage

August 23, 2012 8:02am

Subscribe [1]
  • #1 / Aug 23, 2012 8:02am

    FiSt

    40 posts

    Hello guys!

    Seems that it’s a bug, because I’ve same build and same problem on that. First of all, I don’t have a Structure Module. Second, I’d tested all ways to set Return parameter.

    So, my opinion - it’s just not working properly and needs to be fixed.

    What do you think about it?

    UPDATE: I’ve checked Login Form submission using profiler and found that POST-request finishing with “HTTP Error 302 - Moved temporarily”, and just after that goes GET-request to homepage. Is it normally?

  • #2 / Aug 23, 2012 8:59am

    FiSt

    40 posts

    I’ve made some quick investigation of a code, so seems I couldn’t find Return parameter processing at all.

    Action processing this POST request do user authorization and use additional methods to set up some user message. Like “success message” or something like that. So, in this method return variable is a backtrack link.

    I believe it’s could be missed or some undeclared design intent.

  • #3 / Aug 23, 2012 3:20pm

    Dan Decker

    7338 posts

    Hi FiSt,

    I broke this off in to its own thread. The other thread was long, old, versions are out of date, and your issue seems to be very different.

    I want to be able to focus on you and your problem! So here we are 😊

    Now, I need some more information from you to make sure we help in the best way possible.

    What version of ExpressionEngine are you using? Are you removing index.php with .htaccess? Are you making consistent use of your domina name with or without a sub-domain?

    I look forward to your reply!

    Cheers,

  • #4 / Aug 24, 2012 4:05am

    FiSt

    40 posts

    Okay, let’s roll.

    1) EE version 2.5.2 (fresh install, not an upgrade)
    2) Yes, I’ve removed index.php from URLs using .htaccess (Apache/2.2.22 (Unix)). Here is .htaccess lines:

    <IfModule mod_rewrite.c>
      Options +FollowSymlinks
      RewriteEngine On
      
      # Removes index.php
      RewriteCond $1 !\.(gif|jpe?g|png)$ [NC]
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteRule ^(.*)$ /index.php/$1 [L]
    
    </IfModule>

    3) I develop a site on development sub-domain, like “dev.sitename.com”.

     

  • #5 / Aug 24, 2012 5:53pm

    Dan Decker

    7338 posts

    3) I develop a site on development sub-domain, like “dev.sitename.com”.

    That makes it a bit easier to rule that out. If you hadn’t used it correctly, it would causing lots of other trouble.

    Can you show the template code for your login form?

    What do have set in Admin->General Configuration: Name of your site’s index page and URL to the root directory of your site ?

    ~

  • #6 / Aug 27, 2012 2:02am

    FiSt

    40 posts

    Nice weekend. Hello again.

    UPDATE: Seems I found what’s going on. Sorry, guys, that I thought it’s EE bug. It’s not!
    Someone of my team installed a module which rewrite this functionality. So, this thread can be closed.

    Thank you, Dan, for your help! Good luck!

  • #7 / Aug 27, 2012 2:57pm

    Kevin Smith

    4784 posts

    Well it’s good to know you were able to get this resolved, FiSt! Let us know if there’s anything else we can do to help!

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

ExpressionEngine News!

#eecms, #events, #releases