Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.2.1
-
None
-
CentOS 5.5, httpd-2.2.15, php-5.2.14
Description
After upgrading 2.2.1 from 2.2, we have encountered the following error after entering user id and password to access VCL web frontend server:
Notice: Uninitialized string offset: 0 in .../apache2/htdocs/vcl/.ht-inc/utils.php on line 3206
Warning: Cannot modify header information - headers already sent by (output started at .../apache2/htdocs/vcl/.ht-inc/utils.php:3206) in /cloud/apache2/htdocs/vcl/.ht-inc/authentication.php on line 494
Warning: Cannot modify header information - headers already sent by (output started at .../apache2/htdocs/vcl/.ht-inc/utils.php:3206) in /cloud/apache2/htdocs/vcl/.ht-inc/authentication.php on line 498
Warning: Cannot modify header information - headers already sent by (output started at .../apache2/htdocs/vcl/.ht-inc/utils.php:3206) in /cloud/apache2/htdocs/vcl/.ht-inc/authentication.php on line 499
We could fix the error by changing the line 3206 of vcl/.ht-inc/utils.php from
if ($user['groupperms']) $perms = $user['groupperms'];
to
if (isset($user['groupperms'])) $perms = $user['groupperms'];