[horde] issue with admin menu

steve mailling at gmx.co.uk
Thu May 22 00:50:11 PDT 2003


I am using the last CVS version, and when I go to
http://ocalhost/horde/admin/index.php?Horde=0d895631d0b4d873ad54260aaac8af97

I got the following errors:
Notice: Uninitialized string offset: 0 in 
C:\devl\horde\templates\admin\common-header.inc on line 15

Notice: Uninitialized string offset: 0 in 
C:\devl\horde\templates\admin\common-header.inc on line 21

Notice: Uninitialized string offset: 0 in 
C:\devl\horde\templates\admin\common-header.inc on line 22


Notice: Undefined index: link in 
C:\devl\horde\templates\admin\common-header.inc on line 22


Notice: Uninitialized string offset: 0 in 
C:\devl\horde\templates\admin\common-header.inc on line 15

Notice: Uninitialized string offset: 0 in 
C:\devl\horde\templates\admin\common-header.inc on line 21

Notice: Uninitialized string offset: 0 in 
C:\devl\horde\templates\admin\common-header.inc on line 22


Notice: Undefined index: link in 
C:\devl\horde\templates\admin\common-header.inc on line 22


The rest of the screen looks fine.

Do you have any idea?

If I add the line
	var_dump($vals); just before:
           if (!empty($vals['name'])) {

I got this:
Notice: Uninitialized string offset: 0 in 
C:\devl\horde\templates\admin\common-header.inc on line 16

Notice: Uninitialized string offset: 0 in 
C:\devl\horde\templates\admin\common-header.inc on line 22

Notice: Uninitialized string offset: 0 in 
C:\devl\horde\templates\admin\common-header.inc on line 23

int(1)
int(1024)
NULL
string(52) "Failed to import application configuration for whups"
NULL
array(6) { [0]=> array(6) { ["file"]=> string(26) 
"c:\devl\php4\pear\PEAR.php" ["line"]=> int(526) ["function"]=> string(10) 
"pear_error" ["class"]=> string(10) "pear_error" ["type"]=> string(2) "->" 
["args"]=> array(5) { [0]=> string(52) "Failed to import application 
configuration for whups" [1]=> NULL [2]=> int(1) [3]=> int(1024) [4]=> NULL 
} } [1]=> array(6) { ["file"]=> string(30) "C:\devl\horde\lib\Registry.php" 
["line"]=> int(668) ["function"]=> string(10) "raiseerror" ["class"]=> 
string(4) "pear" ["type"]=> string(2) "::" ["args"]=> array(1) { [0]=> 
string(52) "Failed to import application configuration for whups" } } [2]=> 
array(6) { ["file"]=> string(30) "C:\devl\horde\lib\Registry.php" 
["line"]=> int(556) ["function"]=> string(12) "importconfig" ["class"]=> 
string(8) "registry" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> 
string(5) "whups" } } [3]=> array(6) { ["file"]=> string(30) 
"C:\devl\horde\lib\Registry.php" ["line"]=> int(396) ["function"]=> 
string(7) "pushapp" ["class"]=> string(8) "registry" ["type"]=> string(2) 
"->" ["args"]=> array(1) { [0]=> string(5) "whups" } } [4]=> array(6) { 
["file"]=> string(47) "C:\devl\horde\templates\admin\common-header.inc" 
["line"]=> int(12) ["function"]=> string(13) "callbypackage" ["class"]=> 
string(8) "registry" ["type"]=> string(2) "->" ["args"]=> array(2) { [0]=> 
string(5) "whups" [1]=> string(10) "admin_list" } } [5]=> array(4) { 
["file"]=> string(29) "C:\devl\horde\admin\index.php" ["line"]=> int(23) 
["args"]=> array(1) { [0]=> string(47) 
"C:\devl\horde\templates\admin\common-header.inc" } ["function"]=> 
string(7) "require" } }
Notice: Undefined index: link in 
C:\devl\horde\templates\admin\common-header.inc on line 23

NULL
string(0) ""
Notice: Uninitialized string offset: 0 in 
C:\devl\horde\templates\admin\common-header.inc on line 16

Notice: Uninitialized string offset: 0 in 
C:\devl\horde\templates\admin\common-header.inc on line 22

Notice: Uninitialized string offset: 0 in 
C:\devl\horde\templates\admin\common-header.inc on line 23

int(1)
int(1024)
NULL
string(52) "Failed to import application configuration for klutz"
NULL
array(6) { [0]=> array(6) { ["file"]=> string(26) 
"c:\devl\php4\pear\PEAR.php" ["line"]=> int(526) ["function"]=> string(10) 
"pear_error" ["class"]=> string(10) "pear_error" ["type"]=> string(2) "->" 
["args"]=> array(5) { [0]=> string(52) "Failed to import application 
configuration for klutz" [1]=> NULL [2]=> int(1) [3]=> int(1024) [4]=> NULL 
} } [1]=> array(6) { ["file"]=> string(30) "C:\devl\horde\lib\Registry.php" 
["line"]=> int(668) ["function"]=> string(10) "raiseerror" ["class"]=> 
string(4) "pear" ["type"]=> string(2) "::" ["args"]=> array(1) { [0]=> 
string(52) "Failed to import application configuration for klutz" } } [2]=> 
array(6) { ["file"]=> string(30) "C:\devl\horde\lib\Registry.php" 
["line"]=> int(556) ["function"]=> string(12) "importconfig" ["class"]=> 
string(8) "registry" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> 
string(5) "klutz" } } [3]=> array(6) { ["file"]=> string(30) 
"C:\devl\horde\lib\Registry.php" ["line"]=> int(396) ["function"]=> 
string(7) "pushapp" ["class"]=> string(8) "registry" ["type"]=> string(2) 
"->" ["args"]=> array(1) { [0]=> string(5) "klutz" } } [4]=> array(6) { 
["file"]=> string(47) "C:\devl\horde\templates\admin\common-header.inc" 
["line"]=> int(12) ["function"]=> string(13) "callbypackage" ["class"]=> 
string(8) "registry" ["type"]=> string(2) "->" ["args"]=> array(2) { [0]=> 
string(5) "klutz" [1]=> string(10) "admin_list" } } [5]=> array(4) { 
["file"]=> string(29) "C:\devl\horde\admin\index.php" ["line"]=> int(23) 
["args"]=> array(1) { [0]=> string(47) 
"C:\devl\horde\templates\admin\common-header.inc" } ["function"]=> 
string(7) "require" } }
Notice: Undefined index: link in 
C:\devl\horde\templates\admin\common-header.inc on line 23

NULL
Thanks

Steve 




More information about the horde mailing list