Re: [Postfixadmin-devel] login trouble
Brought to you by:
christian_boltz,
gingerdog
|
From: Christian B. <pos...@cb...> - 2015-09-22 14:04:42
|
Hello, Am Montag, 21. September 2015 schrieb Richard B. Pyne: > When I tried to set up the superadmin user in setup.php as part of the > upgrade, and it told me that the user already exists. When I try to > log in, is simply refreshes the screen with no message. > > I don't know if it will help, but here are the (anonymized) access log > entries that result from a login attempt: > > xxx.xxx.xxx.xxx - - [16/Sep/2015:23:08:25 -0600] "POST > /mail/postfixadmin/login.php HTTP/1.1" 302 - ... > xxx.xxx.xxx.xxx - - [16/Sep/2015:23:08:25 -0600] "GET > /mail/postfixadmin/main.php HTTP/1.1" 302 - ... > xxx.xxx.xxx.xxx - - [16/Sep/2015:23:08:25 -0600] "GET > /mail/postfixadmin/login.php HTTP/1.1" 200 3553 ... > > so it looks like it is trying to send me to main.php, but then getting > referred back to login.php > > Any help will be greatly appreciated. I really need to get this > working. I assume you are continuing from http://sourceforge.net/p/postfixadmin/discussion/676076/thread/1638bc41/ Your access log looks like a successful login, followed by a session or cookie problem - if main.php doesn't find a session that says you are logged in, it will redirect you to login.php. In the forum, you wrote that you already tested with cookie.php ( http://sourceforge.net/p/postfixadmin/wiki/cookie.php ) Nevertheless, please test again and paste the output of cookie.php into a mail - from the first _and_ the second time you load cookie.php in your browser. Also, the session.* settings from phpinfo() would be interesting. Please paste the session.* values into the mail. w3m -dump http://...whereever.../phpinfo.php | grep session Please put the cookie.php and phpinfo.php into the same directory as PostfixAdmin to make sure they catch all relevant settings. Regards, Christian Boltz -- Reconsidering. We are KDE after all, we can always make it a config option. [Will Stephenson in https://bugzilla.novell.com/show_bug.cgi?id=194396] |