[Bug 931] New - poppasswd.php3 & problems with lib/postpars.php3 [SOLUTION]

bugs@bugs.horde.org bugs@bugs.horde.org
Thu, 11 Apr 2002 11:08:36 -0300


http://bugs.horde.org/show_bug.cgi?id=931

*** shadow/931	Thu Apr 11 11:08:36 2002
--- shadow/931.tmp.12273	Thu Apr 11 11:08:36 2002
***************
*** 0 ****
--- 1,43 ----
+ Bug#: 931
+ Product: Horde
+ Version: other
+ Platform: PHP Code
+ OS/Version: FreeBSD
+ Status: NEW   
+ Resolution: 
+ Severity: minor
+ Priority: P2
+ Component: IMP
+ Area: BUILD
+ AssignedTo: chuck@horde.org                            
+ ReportedBy: horde@henrik.synth.no               
+ URL: 
+ Summary: poppasswd.php3 & problems with lib/postpars.php3 [SOLUTION]
+ 
+ Applies to:  Later releases of Horde 1.2.x and IMP 2.2.x
+ 
+ When using poppasswd.php3 in IMP the following error will show:
+ 
+    Warning: Passing locale category name as string is deprecated. Use the LC_* -constants instead. in
+ /mnt/ad1/www/htdocs/mail/imp/lib/postconf.php3 on line 27
+ 
+    Warning: Cannot add header information - headers already sent by (output started at /mnt/ad1/www/htdocs/mail/imp/lib/postconf.php3:27) in
+ /mnt/ad1/www/php/session.inc on line 448
+ 
+    Warning: Cannot add header information - headers already sent by (output started at /mnt/ad1/www/htdocs/mail/imp/lib/postconf.php3:27) in
+ /mnt/ad1/www/php/session.inc on line 449
+ 
+    Warning: Cannot add header information - headers already sent by (output started at /mnt/ad1/www/htdocs/mail/imp/lib/postconf.php3:27) in
+ /mnt/ad1/www/php/session.inc on line 450
+ 
+    Warning: Cannot add header information - headers already sent by (output started at /mnt/ad1/www/htdocs/mail/imp/lib/postconf.php3:27) in
+ /mnt/ad1/www/htdocs/mail/imp/templates/doctype.inc on line 8
+ 
+ By applying the simple a simple diff to lib/postpars.php3, this is solved:
+ 
+ 27c27
+ <  if (isset($language)) setlocale('LC_ALL', $language);
+ ---
+ >  if (isset($language)) setlocale(LC_ALL, $language);
+ 
+