Strangeness logging into CP: Apparent failure, 500 Internal Server error

March 31, 2017 11:11pm

Subscribe [3]
  • #1 / Mar 31, 2017 11:11pm

    Matt Nitchie

    2 posts

    Hey, guys. Our EE site continues to work fine, but we are having trouble getting into the Control Panel. We are not aware of anything having been changed, but for the past week the login page loads, we put a valid user & pw, hit Enter, wait a very long time, then get a 500 Internal Server error page. However, if we then return and put in a bad username & pw combination, it says “wrong login,” but we are then in fact logged into the control panel!

    Looking at the log file, all of the attempts that appeared to time out were successful. This seems to happen on all browsers and via all ISP’s. Any idea what we should look for to make it work normally again?

    This is an old version: ExpressionEngine 1.6.4 Build: 20080829

  • #2 / Sep 28, 2017 9:27am

    Origin Media

    20 posts

    Did you resolve this issue? I’m having the same thing with a site I just migrated to a new server. Website is fine but a successful login to the control panel causes an internal server error. The control panel was all working fine before the migration and I’m at a bit of a loss at how to resolve this!

  • #3 / Sep 28, 2017 9:42am

    Matt Nitchie

    2 posts

    This is no longer happening, but I don’t recall fixing it in any intentional way. I am searching my email now.

    Does my trick work of attempting a login, getting the error, then trying to login with bad credentials (like user fghjkk)?

  • #4 / Sep 28, 2017 10:10am

    Origin Media

    20 posts

    So my login is successful and then I get the Internal Server Error when it tries to load the control panel.

    If I go back to login page after that it redirects back to the homepage as I am logged in and I see the error again.

    This got me thinking though and I am able to manually type other control panel urls in and these load! So it only seems to be effecting the CP homepage itself.

    I’m using a newer version of EE to you but any clues to what would cause a internal server error would be helpful at this stage! I’m waiting to get server error logs from host to try and find out in more detail what is causing the issue.

  • #5 / Mar 15, 2018 1:56pm

    Jake V

    4 posts

    same issue here, happening on local environment. The CP homepage gives error, yet I am able to type CP urls and get access to all other areas of the CP.

  • #6 / Mar 15, 2018 2:22pm

    Jake V

    4 posts

    The version I’m running is 4.0.6, but I resolved my issue by changing PHP version to 7.2 on MAMP.

  • #7 / Jun 05, 2018 6:23am

    “Does my trick work of attempting a login, getting the error, then trying to login with bad credentials” ?? Did you use a cracked version

  • #8 / Jun 05, 2018 4:26pm

    Derek Jones's avatar

    Derek Jones

    7376 posts

    Internal Server Errors will always have more verbose errors logged in the server’s error logs. Check there for more details.

    If you’re using MAMP, this is a known issue with PHP < 7 in their distros, as they are using out of date curl / SSL libs and are unable to retrieve content over https, which is what all services will connect to with for news, licensing, software updates, etc. The solution is to not use MAMP, or use MAMP with PHP 7+ (which you should be doing regardless of whether you are using MAMP).

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

ExpressionEngine News!

#eecms, #events, #releases