Can't Login

Permalink
In the middle of the day we lost the ability to login to the site. We are getting 500 errors and through hours of debugging we were able to get it to "No input file specified" and "Page not found."

The site hangs on the /login/do_login/ page.

pjhagel
 
frz replied on at Permalink Reply
frz
Sounds like something changed on the backend. I've never heard of
something just randomly happening like this on its own.

If you'd like us to poke around in there you can open a support incident here:
http://concrete5.org/services/support...

best wishes

Franz Maruna
CEO - concrete5.org
http://about.me/frz
hostco replied on at Permalink Reply
hostco
Its possible your host made a change to the php configuration on your server.

Try this.

First open your .htaccess file and replace what is there with this and save the file.

# -- concrete5 urls start --
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule ^(.*)$ index.php/$1 [L]
RewriteRule .* index.php/$1 [L]
</IfModule>
# -- concrete5 urls end --


Test it out to see if its working now. If its still not working, next do this.

Copy this file concrete/libraries/request.php

to /libraries/request.php

Now open the request.php file in /libraries and search for this code

if (!$path) {
            $path = Request::parsePathFromRequest('ORIG_PATH_INFO');
         }

replace it with
if (!$path) {
            //$path = Request::parsePathFromRequest('ORIG_PATH_INFO');
            $path = Request::parsePathFromRequest('REDIRECT_URL');
         }


Now save the file and test again. This should solve your issue.
pjhagel replied on at Permalink Reply
pjhagel
Thank you for your reply. Though after many hours of debugging I
discovered that it was the MySQL Database that was causing it. The
issue was the database was corrupting the Users table.

Thanks again.
zoinks replied on at Permalink Reply
Good: your solution worked!

Bad: Can't upgrade to the latest version of Concrete5.6.1 because the concrete/libraries/request.php on the 5.6.1 is only:
<?php  defined('C5_EXECUTE') or die("Access Denied.");
class Request extends Concrete5_Library_Request {}

in the newest version of Concrete5.