crocofile icon indicating copy to clipboard operation
crocofile copied to clipboard

Can't log in

Open mattltm opened this issue 11 years ago • 5 comments

Moved crocofile to a new server and can't login.

Am getting the login box but it does not accept my username/password.

Installed a fresh copy of crocofile on the server and attempted to login with admin/admin but am seeing the same behaviour.

Apache error log shows:

[Wed Jan 15 15:53:00 2014] [warn] [client xx.xx.xx.xx] mod_fcgid: stderr: PHP       Notice:  Undefined index: Authorization in    /var/www/clients/client18/web24/web/fileshare/inc/HTTPDigest.php on line 88
[Wed Jan 15 15:53:00 2014] [warn] [client xx.xx.xx.xx] mod_fcgid: stderr: PHP Stack trace:
[Wed Jan 15 15:53:00 2014] [warn] [client xx.xx.xx.xx] mod_fcgid: stderr: PHP   1. {main}() /var/www/clients/client18/web24/web/fileshare/index.php:0
[Wed Jan 15 15:53:00 2014] [warn] [client xx.xx.xx.xx] mod_fcgid: stderr: PHP   2. HTTPDigest->authenticate() /var/www/clients/client18/web24/web/fileshare/index.php:8
[Wed Jan 15 15:53:00 2014] [warn] [client xx.xx.xx.xx] mod_fcgid: stderr: PHP   3. HTTPDigest->getAuthHeader() /var/www/clients/client18/web24/web/fileshare/inc/HTTPDigest.php:126

mattltm avatar Jan 15 '14 15:01 mattltm

What version of PHP are you using? Were you using mod_fcgid on the old server?

mperry2 avatar Jan 20 '14 18:01 mperry2

Same here: initial login (Admin) does not work! (PHP Version 5.5.20)

ParoTheParrot avatar Jan 07 '15 08:01 ParoTheParrot

which PHP Version is the correct one for crocofile?

ParoTheParrot avatar Feb 06 '15 14:02 ParoTheParrot

It has nothing to do with the PHP version. You need to make sure the authorization is passed through to PHP. Either by mod_php directly or via the Apache rewrite rule in .htaccess which sets the http_authorization variable.

splitbrain avatar Feb 09 '15 08:02 splitbrain

Unfortunately I can't login too. I'm using fcgid like the others here. I followed this tutorial: https://support.tigertech.net/php-http-auth but it doesn't work. I added the extra PHP code in line 86 before if (function_exists('apache_request_headers') && ini_get('safe_mode') == false). Could you help please?

Sch-Tim avatar Aug 28 '15 22:08 Sch-Tim