[Tickets #621] Got blank page while click "Return to Options"
bugs at bugs.horde.org
bugs at bugs.horde.org
Sun Sep 26 17:47:30 PDT 2004
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=621
-----------------------------------------------------------------------
Ticket | 621
Updated By | david at tmv.gov.tw
Summary | Got blank page while click "Return to Options"
Queue | Horde Base
Version | HEAD
State | Feedback
Priority | 1. Low
Type | Bug
Owners |
+Attachment | prefs.php
-----------------------------------------------------------------------
david at tmv.gov.tw (2004-09-26 17:47) wrote:
Here is what i changed to prefs.php for debug.Hope that's right
===============================================================
// default identity
// Set locked to true if you don't want the users to have multiple
identities.
var_dump($identity);
$_prefs['default_identity'] = array(
'value' => false,
'locked' => false,
'shared' => true,
'type' => 'enum',
'enum' => isset($identity) ? $identity->getAll('id') : array(),
'desc' => _("Your default identity:")
);
After this ,the debug info of "Option for Horde"
=================================================
Notice: Undefined variable: identity in
/usr/local/apache/horde.beta/config/prefs.php on line 138
NULL
debug info of "Option for Horde->Personal Information"
======================================================
object(identity)(5) { ["_identities"]=> array(2) { [0]=> array(14) {
["id"]=> string(21) "îAÔOµÄÉí·Ý×Re" ["fullname"]=> string(9) "Á¼ÎÄ"
["from_addr"]=> string(16) "david at tmv.gov.tw" ["replyto_addr"]=> string(0)
"" ["alias_addr"]=> string(0) "" ["tieto_addr"]=> string(0) ""
["bcc_addr"]=> string(0) "" ["mail_hdr"]=> string(0) "" ["signature"]=>
string(0) "" ["sig_first"]=> int(0) ["sig_dashes"]=> int(0)
["save_sent_mail"]=> int(1) ["sent_mail_folder"]=> string(9) "sent-mail"
["default_identity"]=> string(1) "0" } [1]=> array(14) {
["default_identity"]=> string(1) "0" ["id"]=> string(2) "dc"
["replyto_addr"]=> string(0) "" ["alias_addr"]=> array(0) { }
["tieto_addr"]=> array(0) { } ["bcc_addr"]=> array(0) { } ["mail_hdr"]=>
string(0) "" ["signature"]=> string(0) "" ["sig_dashes"]=> int(0)
["sig_first"]=> int(0) ["save_sent_mail"]=> int(0) ["sent_mail_folder"]=>
string(9) "sent-mail" ["fullname"]=> string(2) "dc" ["from_addr"]=>
string(15) "luca at tmv.gov.tw" } } ["_default"]=> string(1) "0" ["_user"]=>
NULL ["_properties"]=> array(3) { [0]=> string(2) "id" [1]=> string(8)
"fullname" [2]=> string(9) "from_addr" } ["_prefs"]=> &object(prefs_sql)(9)
{ ["_params"]=> array(10) { ["phptype"]=> string(5) "mysql" ["persistent"]=>
bool(true) ["port"]=> int(3306) ["protocol"]=> string(3) "tcp"
["hostspec"]=> string(16) "mysql.tmv.gov.tw" ["username"]=> string(4) "root"
["password"]=> string(8) "********" ["database"]=> string(10) "horde_beta"
["charset"]=> string(5) "Big-5" ["driverconfig"]=> string(5) "horde" }
["_db"]=> NULL ["_connected"]=> bool(false) ["_prefs"]=> array(38) {
["default_identity"]=> array(3) { ["v"]=> string(1) "0" ["m"]=> int(2)
["d"]=> bool(false) } ["identities"]=> array(3) { ["v"]=> string(773)
"a:2:{i:0;a:14:{s:2:"id";s:14:"?w?]??????O";s:8:"fullname";s:6:"?i?}?¦s:9:"
from_addr";s:16:"david at tmv.gov.tw";s:12:"replyto_addr";s:0:"";s:10:"alias_ad
dr";s:0:"";s:10:"tieto_addr";s:0:"";s:8:"bcc_addr";s:0:"";s:8:"mail_hdr";s:0
:"";s:9:"signature";s:0:"";s:9:"sig_first";i:0;s:10:"sig_dashes";i:0;s:14:"s
ave_sent_mail";i:1;s:16:"sent_mail_folder";s:9:"sent-mail";s:16:"default_ide
ntity";s:1:"0";}i:1;a:14:{s:16:"default_identity";s:1:"0";s:2:"id";s:2:"dc";
s:12:"replyto_addr";s:0:"";s:10:"alias_addr";a:0:{}s:10:"tieto_addr";a:0:{}s
:8:"bcc_addr";a:0:{}s:8:"mail_hdr";s:0:"";s:9:"signature";s:0:"";s:10:"sig_d
ashes";i:0;s:9:"sig_first";i:0;s:14:"save_sent_mail";i:0;s:16:"sent_mail_fol
der";s:9:"sent-mail";s:8:"fullname";s:2:"dc";s:9:"from_addr";s:15:"luca at tmv.
gov.tw";}}" ["m"]=> int(2) ["d"]=> string(6) "a:0:{}" } ["id"]=> array(3) {
["v"]=> string(0) "" ["m"]=> int(10) ["d"]=> string(0) "" } ["fullname"]=>
array(3) { ["v"]=> string(6) "?i?}?| ["m"]=> int(7) ["d"]=> string(0) "" }
["from_addr"]=> array(3) { ["v"]=> string(16) "david at tmv.gov.tw" ["m"]=>
int(7) ["d"]=> string(0) "" } ["security_question"]=> array(3) { ["v"]=>
string(6) "dsfsdf" ["m"]=> int(2) ["d"]=> string(0) "" }
["security_answer"]=> array(3) { ["v"]=> string(4) "dfdf" ["m"]=> int(2)
["d"]=> string(0) "" } ["alternate_email"]=> array(3) { ["v"]=> string(0) ""
["m"]=> int(2) ["d"]=> string(0) "" } ["language"]=> array(3) { ["v"]=>
string(5) "en_US" ["m"]=> int(2) ["d"]=> string(0) "" } ["timezone"]=>
array(3) { ["v"]=> string(0) "" ["m"]=> int(2) ["d"]=> string(0) "" }
["twentyFour"]=> array(3) { ["v"]=> string(1) "0" ["m"]=> int(2) ["d"]=>
bool(false) } ["date_format"]=> array(3) { ["v"]=> string(12) "%A %B %d, %Y"
["m"]=> int(2) ["d"]=> string(12) "%A %B %d, %Y" } ["theme"]=> array(3) {
["v"]=> string(7) "lucblue" ["m"]=> int(2) ["d"]=> string(7) "lucblue" }
["categories"]=> array(3) { ["v"]=> string(5) "david" ["m"]=> int(2) ["d"]=>
string(0) "" } ["category_colors"]=> array(3) { ["v"]=> string(84)
"1:_default_|2:_unfiled_|3:1|4:2|5:|david:#7F003B|_default_:#FFFFFF|_unfiled
_:#DDDDDD" ["m"]=> int(2) ["d"]=> string(0) "" } ["summary_refresh_time"]=>
array(3) { ["v"]=> string(3) "300" ["m"]=> int(2) ["d"]=> int(300) }
["show_sidebar"]=> array(3) { ["v"]=> string(1) "1" ["m"]=> int(2) ["d"]=>
bool(true) } ["sidebar_width"]=> array(3) { ["v"]=> string(3) "150" ["m"]=>
int(2) ["d"]=> int(150) } ["menu_view"]=> array(3) { ["v"]=> string(4)
"both" ["m"]=> int(2) ["d"]=> string(4) "both" } ["menu_refresh_time"]=>
array(3) { ["v"]=> string(3) "300" ["m"]=> int(2) ["d"]=> int(300) }
["do_maintenance"]=> array(3) { ["v"]=> bool(true) ["m"]=> int(10) ["d"]=>
bool(true) } ["confirm_maintenance"]=> array(3) { ["v"]=> bool(true) ["m"]=>
int(10) ["d"]=> bool(true) } ["initial_application"]=> array(3) { ["v"]=>
string(5) "horde" ["m"]=> int(2) ["d"]=> string(0) "" }
["widget_accesskey"]=> array(3) { ["v"]=> string(1) "0" ["m"]=> int(2)
["d"]=> bool(true) } ["portal_layout"]=> array(3) { ["v"]=> string(6)
"a:0:{}" ["m"]=> int(2) ["d"]=> string(6) "a:0:{}" } ["remote_summaries"]=>
array(3) { ["v"]=> string(6) "a:0:{}" ["m"]=> int(10) ["d"]=> string(6)
"a:0:{}" } ["last_login"]=> array(3) { ["v"]=> string(61)
"a:2:{s:4:"time";i:1096245037;s:4:"host";s:12:"17.192.244.4";}" ["m"]=>
int(2) ["d"]=> string(6) "a:0:{}" } ["show_last_login"]=> array(3) { ["v"]=>
string(1) "1" ["m"]=> int(2) ["d"]=> bool(true) } ["imsp_auth_user"]=>
array(3) { ["v"]=> string(0) "" ["m"]=> int(10) ["d"]=> string(0) "" }
["imsp_auth_pass"]=> array(3) { ["v"]=> string(0) "" ["m"]=> int(10) ["d"]=>
string(0) "" } ["contextmenu"]=> array(3) { ["v"]=> string(1) "1" ["m"]=>
int(2) ["d"]=> bool(true) } ["tableoperations"]=> array(3) { ["v"]=>
string(1) "0" ["m"]=> int(2) ["d"]=> bool(false) } ["listtype"]=> array(3) {
["v"]=> string(1) "1" ["m"]=> int(2) ["d"]=> bool(true) } ["add_source"]=>
array(3) { ["v"]=> string(8) "localsql" ["m"]=> int(2) ["d"]=> string(8)
"localsql" } ["display_contact"]=> array(3) { ["v"]=> string(1) "1" ["m"]=>
int(2) ["d"]=> string(1) "1" } ["sending_charset"]=> array(3) { ["v"]=>
string(4) "BIG5" ["m"]=> int(2) ["d"]=> string(4) "BIG5" } ["default_dir"]=>
array(3) { ["v"]=> string(8) "localsql" ["m"]=> int(2) ["d"]=> string(0) ""
} ["default_share"]=> array(3) { ["v"]=> string(16) "txg16 at tmv.gov.tw"
["m"]=> int(10) ["d"]=> string(16) "txg16 at tmv.gov.tw" } } ["_scope"]=>
string(5) "horde" ["_user"]=> string(16) "txg16 at tmv.gov.tw" ["_caching"]=>
bool(true) ["_hooks"]=> array(0) { } ["_hooksCalled"]=> NULL } }
Warning: Cannot modify header information - headers already sent by (output
started at /usr/local/apache/horde.beta/config/prefs.php:138) in
/usr/local/apache/horde.beta/templates/common-header.inc on line 4
Warning: Cannot modify header information - headers already sent by (output
started at /usr/local/apache/horde.beta/config/prefs.php:138) in
/usr/local/apache/horde.beta/templates/common-header.inc on line 5
debug info of clicking on "Return to Option"
============================================
string(2) "-2"
Fatal error: Call to a member function on a non-object in
/usr/local/apache/horde.beta/config/prefs.php on line 144
More information about the bugs
mailing list