6.0.0-beta1
7/4/25

[#11322] Mobile view (smartphone): Unable to log in
Summary Mobile view (smartphone): Unable to log in
Queue IMP
Queue Version Git develop
Type Bug
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester thomas.jarosch (at) intra2net (dot) com
Created 07/28/2012 (4724 days ago)
Due
Updated 08/29/2012 (4692 days ago)
Assigned 07/30/2012 (4722 days ago)
Resolved 08/16/2012 (4705 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
08/29/2012 12:48:12 PM Git Commit Comment #7 Reply to this comment
Changes have been made in Git (master):

commit dca3d362e091b28bb189a733d6e4d03190b95606
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Thu Aug 16 15:32:36 2012 -0600

     Bug #11322: Fix smartmobile access when cookies are disabled

  framework/Core/js/smartmobile.js        |    3 +++
  framework/Core/lib/Horde/PageOutput.php |    1 +
  2 files changed, 4 insertions(+), 0 deletions(-)

http://git.horde.org/horde-git/-/commit/dca3d362e091b28bb189a733d6e4d03190b95606
08/18/2012 03:25:00 PM Thomas Jarosch Comment #6 Reply to this comment
Working!

08/16/2012 09:33:24 PM Michael Slusarz Assigned to Michael Slusarz
State ⇒ Resolved
 
08/16/2012 09:33:17 PM Git Commit Comment #5 Reply to this comment
Changes have been made in Git (develop):

commit dca3d362e091b28bb189a733d6e4d03190b95606
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Thu Aug 16 15:32:36 2012 -0600

     Bug #11322: Fix smartmobile access when cookies are disabled

  framework/Core/js/smartmobile.js        |    3 +++
  framework/Core/lib/Horde/PageOutput.php |    1 +
  2 files changed, 4 insertions(+), 0 deletions(-)

http://git.horde.org/horde-git/-/commit/dca3d362e091b28bb189a733d6e4d03190b95606
08/11/2012 03:26:57 PM Thomas Jarosch Comment #4
State ⇒ Unconfirmed
Reply to this comment
Can't reproduce not being able to login though (the above error is harmless).
Ok, I think I found a way to trigger it:

- Disable session cookies in horde/conf.php:
   $conf['session']['use_only_cookies'] = false;

- Disable cookies in php's php.ini:
   session.use_cookies = 0

If I enable all cookie settings, then I can log it.
So only sessions without cookie don't work.

07/30/2012 10:20:43 PM Michael Slusarz Comment #3
State ⇒ Feedback
Reply to this comment
2012-07-28T17:18:10+02:00 NOTICE: HORDE [imp] PHP ERROR: Undefined 
index: 3478a781ef97a241f7bf5be9b82f0ccefa3a3c46 [pid 2123 on line 55 
of "/datastore/DEVEL/horde/framework/Core/lib/Horde/Script/List.php"]
This was fixed in this commit (accidentally added to another commit):

commit 1e801ecfcedc7816fd84480010748f311456e076
Author: Michael M Slusarz <slusarz at horde.org>
Date:   Mon Jul 30 16:17:11 2012 -0600

     Fix undefined errors in minimal view (Bug #11323)

  framework/Core/lib/Horde/Script/List.php |    8 ++++++--
  imp/lib/Minimal/Mailbox.php              |   20 ++++++++++----------
  imp/lib/Minimal/Message.php              |    2 +-
  imp/lib/Tree/Simplehtml.php              |    2 +-
  4 files changed, 18 insertions(+), 14 deletions(-)

http://git.horde.org/horde-git/-/commit/1e801ecfcedc7816fd84480010748f311456e076


Can't reproduce not being able to login though (the above error is harmless).
07/30/2012 09:19:01 PM Michael Slusarz Comment #2 Reply to this comment
Can't reproduce.
07/28/2012 03:21:20 PM Thomas Jarosch Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Mobile view (smartphone): Unable to log in
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
Hi,

the mobile view for smartphone kicks me out immediately.

Error message in the logs:
2012-07-28T17:18:08+02:00 NOTICE: HORDE [horde] Login success for 
test.user [172.16.1.253] to horde. [pid 2123 on line 160 of 
"/datastore/DEVEL/horde/horde/login.php"]
2012-07-28T17:18:09+02:00 NOTICE: HORDE [imp] Login success for 
test.user (Horde user test.user) [172.16.1.253] to {172.16.1.99:143 
[imap]} [pid 2123 on line 176 of 
"/datastore/DEVEL/horde/imp/lib/Auth.php"]
2012-07-28T17:18:10+02:00 NOTICE: HORDE [imp] PHP ERROR: Undefined 
index: 3478a781ef97a241f7bf5be9b82f0ccefa3a3c46 [pid 2123 on line 55 
of "/datastore/DEVEL/horde/framework/Core/lib/Horde/Script/List.php"]
2012-07-28T17:18:10+02:00 NOTICE: HORDE [horde] User  [172.16.1.253] 
logged out of Horde [pid 2123 on line 115 of 
"/datastore/DEVEL/horde/horde/login.php"]

Thomas

Saved Queries