6.0.0-beta1
7/4/25

[#7956] $_POST is returned empty (causes login loop)
Summary $_POST is returned empty (causes login loop)
Queue Horde Groupware Webmail Edition
Queue Version 1.2.2
Type Bug
State Resolved
Priority 2. Medium
Owners chuck (at) horde (dot) org
Requester jason (at) solo-c (dot) demon (dot) co (dot) uk
Created 02/06/2009 (5992 days ago)
Due 02/06/2009 (5992 days ago)
Updated 03/02/2009 (5968 days ago)
Assigned 02/14/2009 (5984 days ago)
Resolved 03/02/2009 (5968 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
03/02/2009 11:22:53 PM Jan Schneider Assigned to Chuck Hagenbuch
 
03/02/2009 11:22:44 PM Jan Schneider State ⇒ Resolved
 
02/14/2009 08:33:07 PM Chuck Hagenbuch Comment #5
State ⇒ Feedback
Reply to this comment
Does this patch help?
02/06/2009 03:08:31 PM jason (at) solo-c (dot) demon (dot) co (dot) uk Comment #3 Reply to this comment
This has nothing to do with Horde. The $_POST array is built by PHP,
Horde has no influence on that.
Please note - that I was not able to replicate this error in any other 
PHP applications running on the same server, under the same test 
conditions (including the whole simpletest suite); only those forms 
built using the horde framework (including a test script I created for 
this specific issue) caused the $_PHP to be returned empty.



However, could the suggested workaround be posted as an advisory note 
in the Install FAQ  to assist other users.
02/06/2009 11:40:37 AM Jan Schneider Comment #2
State ⇒ Not A Bug
Reply to this comment
This has nothing to do with Horde. The $_POST array is built by PHP, 
Horde has no influence on that.
02/06/2009 10:57:07 AM jason (at) solo-c (dot) demon (dot) co (dot) uk Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ $_POST is returned empty (causes login loop)
Due ⇒ 02/06/2009
Queue ⇒ Horde Groupware Webmail Edition
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
Issue: Horde does not appear to be able to parse the Gigabyte 
shorthand convention for upload_max_filesize and post_max_size in 
PHP.INI (e.g. 10G for 10 gigabytes).



Symptoms:  Login form stuck in loop, imp/test.php IMAP/POP login form 
loops on form submission, or if using auto login form based 
administration activities fail (e.g. submitting config setup forms 
reports "Invalid application." error).



Diagnosis:  $_POST structure is empty on submit, when forms are 
configured via Horde Framework methods.  $_POST works in other PHP 
applications, and test scripts,  on the same server not using the 
Horde Framework.



Workaround:  define values in php.ini in bytes rather than using 
(G)igabyte shorthand.  Note - have not tested other shorthand 
conventions (M or K), potentially these may work as well to set 
gigabyte POST transfer sizes.



Test conditions: configure php.ini with "upload_max_filesize = 8G" and 
"post_max_size = 10G".



Environment details:

Applicaiton: Horde Groupware Webmail Edition v.1.2.2

OS: Gentoo Linux, 2.6.24-gentoo-r7

PHP: v5.2.8 [error also occurs with earlier 5.2 bases as well]

WWW Server: Lighttpd v1.5.0 (ssl) [error also occurs with v1.4.20)




Saved Queries