unknown
5/18/25

[#8874] add new list
Summary add new list
Queue Turba
Queue Version 2.3.3
Type Bug
State No Feedback
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester silvia (at) pqi (dot) ep (dot) usp (dot) br
Created 02/17/2010 (5569 days ago)
Due 02/17/2010 (5569 days ago)
Updated 08/16/2010 (5389 days ago)
Assigned 05/09/2010 (5488 days ago)
Resolved 06/15/2010 (5451 days ago)
Milestone
Patch No

History
06/15/2010 03:11:27 PM Jan Schneider State ⇒ No Feedback
 
05/09/2010 05:18:50 PM Michael Rubinsky Comment #13
State ⇒ Feedback
Reply to this comment
Looking at your var_dump, it looks like you have an enormous amount of 
address books. This leads me to believe there might be something wrong 
with your share configuration. Or perhaps a botched upgrade at some 
point in the past?
04/13/2010 04:02:36 PM Michael Rubinsky Comment #12
State ⇒ Assigned
Reply to this comment
ah well ... still can't reproduce this though.

04/13/2010 03:48:33 PM Jan Schneider Comment #11 Reply to this comment
jan, would this have been fixed by your recent turba contact list commits?
No, this was a different issue.
04/13/2010 03:27:36 PM Michael Rubinsky Comment #10
State ⇒ Feedback
Reply to this comment
jan, would this have been fixed by your recent turba contact list commits?
03/29/2010 04:15:13 PM silvia (at) pqi (dot) ep (dot) usp (dot) br Comment #9 Reply to this comment
Does this address book otherwise work normally?
Yes, it works
03/25/2010 01:41:31 PM Michael Rubinsky Comment #8 Reply to this comment
Does this address book otherwise work normally?
03/17/2010 03:45:35 PM Jan Schneider State ⇒ Assigned
 
02/25/2010 05:53:00 PM silvia (at) pqi (dot) ep (dot) usp (dot) br Comment #7
New Attachment: results_targetDriver.pdf Download
Reply to this comment
I´m sorry about the delay, but I had some problems.
Here is the begining (the results are enormous - I attached a pdf with 
everything) of the var_dump($targetdriver) results:

object(PEAR_Error)#25 (8) { ["error_message_prefix"]=>  string(0) "" 
["mode"]=>  int(1) ["level"]=>  int(1024) ["code"]=>  NULL 
["message"]=>  string(16) "Source not found" ["userinfo"]=>  NULL 
["backtrace"]=>  array(4) { [0]=>  array(6) { ["file"]=>  string(24) 
"/usr/share/pear/PEAR.php" ["line"]=>  int(576) ["function"]=>   
string(10) "PEAR_Error" ["class"]=>  string(10) "PEAR_Error" 
["type"]=>  string(2) "->" ["args"]=>  array(5) { [0]=>  string(16) 
"Source not found" [1]=>  NULL [2]=>  int(1) [3]=>  int(1024) [4]=>   
NULL } } [1]=>  array(7) { ["file"]=>  string(37) 
"/usr/share/horde/turba/lib/Driver.php" ["line"]=>  int(2097) 
["function"]=>  string(10) "raiseError" ["class"]=>  string(4) "PEAR" 
["object"]=>  object(Turba_View_Browse)#24 (1) { ["_params"]=>   
array(15) { ["vars"]=>  &object(Variables)#23 (2) { ["_vars"]=>   
array(12) { ["source"]=>  string(32) 
"b45bedca362c14a7d1536d684a335f14" ["objectkeys"]=>  array(1) { [0]=>   
string(65) 
"b45bedca362c14a7d1536d684a335f14:e7c8efb35ce74a298f2aa10ecd253d9e" } 
["actionID"]=>  string(3) "add" ["show"]=>  string(3) "all" ["key"]=>   
string(0) "" ["targetAddressbook"]=>  string(32) 
"b45bedca362c14a7d1536d684a335f14" ["targetList"]=>  string(1) "q" 
["targetNew"]=>  string(1) "1" ["default_imp_view"]=>  string(3) "imp" 
["Horde"]=>  string(26) "4i6oin4kiok7pc30gjnjhadss5" ["auth_key"]=>   
string(32) "ef0ae6b7b9d168c52e74b502dda9307d" ["imp_key"]=>   
string(32) "c60fab680d689ed7ff225bbfdbf00c64" } 
["_expectedVariables"]=>  array(0) { } } ["prefs"]=>   
&object(Prefs_sql)#8 (11) { ["_params"]=>  array(10) { ["phptype"]=>   
string(5) "mysql" ["persistent"]=>  bool(false) ["username"]=>   
string(5) "horde" ["password"]=>  string(7) "ve@#271" ["protocol"]=>   
string(4) "unix" ["database"]=>  string(5) "horde" ["charset"]=>   
string(10) "iso-8859-1" ["splitread"]=>  bool(false) 
["driverconfig"]=>  string(6) "custom" ["umask"]=>  int(63) } 
["_db"]=>  NULL ["_write_db"]=>  NULL ["_connected"]=>  bool(false) 
["_prefs"]=>  array(44) { ["default_identity"]=>  array(3) { ["v"]=>   
int(0) ["m"]=>  int(10) ["d"]=>  int(0) } ["identities"]=>  array(3) { 
["v"]=>  string(6) "a:0:{}" ["m"]=>  int(10) ["d"]=>  string(6) 
"a:0:{}" } ["confirm_email"]=>  array(3) { ["v"]=>  string(6) "a:0:{}" 
["m"]=>  int(10) ["d"]=>  string(6) "a:0:{}" } ["id"]=>  array(3) { 
["v"]=>  string(0) "" ["m"]=>  int(10) ["d"]=>  string(0) "" } 
["fullname"]=>  array(3) { ["v"]=>  string(0) "" ["m"]=>  int(10) 
["d"]=>  string(0) "" } ["from_addr"]=>  array(3) { ["v"]=>  string(0) 
"" ["m"]=>  int(10) ["d"]=>  string(0) "" } ["credentials"]=>   
array(3) { ["v"]=>  string(6) "a:0:{}" ["m"]=>  int(10) ["d"]=>   
string(6) "a:0:{}" } ["security_question"]=>  array(3) { ["v"]=>   
string(0) "" ["m"]=>  int(10) ["d"]=>  string(0) "" } 
["security_answer"]=>  array(3) { ["v"]=>  string(0) "" ["m"]=>   
int(10) ["d"]=>  string(0) "" } ["alternate_email"]=>  array(3) { 
["v"]=>  string(0) "" ["m"]=>  int(10) ["d"]=>  string(0) "" } 
["language"]=>  array(3) { ["v"]=>  string(0) "" ["m"]=>  int(10) 
["d"]=>  string(0) "" } ["timezone"]=>  array(3) { ["v"]=>  string(0) 
"" ["m"]=>  int(10) ["d"]=>  string(0) "" } ["twentyFour"]=>  array(3) 
{ ["v"]=>  bool(false) ["m"]=>  int(10) ["d"]=>  bool(false) } 
["date_format"]=>  array(3) { ["v"]=>  string(2) "%x" ["m"]=>  int(10) 
["d"]=>  string(2) "%x" } ["first_week_day"]=>  array(3) { ["v"]=>   
string(1) "0" ["m"]=>  int(10) ["d"]=>  string(1) "0" } ["theme"]=>   
array(3) { ["v"]=>  string(9) "bluewhite" ["m"]=>  int(10) ["d"]=>   
string(9) "bluewhite" } ["categories"]=>  array(3) { ["v"]=>   
string(0) "" ["m"]=>  int(10) ["d"]=>  string(0) "" } 
["category_colors"]=>  array(3) { ["v"]=>  string(0) "" ["m"]=>   
int(10) ["d"]=>  string(0) "" } ["summary_refresh_time"]=>  array(3) { 
["v"]=>  int(300) ["m"]=>  int(10) ["d"]=>  int(300) } 
["show_sidebar"]=>  array(3) { ["v"]=>  bool(true) ["m"]=>  int(10) 
["d"]=>  bool(true) } ["sidebar_width"]=>  array(3) { ["v"]=>   
int(150) ["m"]=>  int(10) ["d"]=>  int(150) } ["menu_view"]=>   
array(3) { ["v"]=>  string(4) "both" ["m"]=>  int(10) ["d"]=>   
string(4) "both" } ["menu_refresh_time"]=>  array(3) { ["v"]=>   
int(300) ["m"]=>  int(10) ["d"]=>  int(300) } ["do_maintenance"]=>   
array(3) { ["v"]=>  bool(true) ["m"]=>  int(10) ["d"]=>  bool(true) } 
["last_maintenance"]=>  array(3) { ["v"]=>  int(1267118569) ["m"]=>   
int(2) ["d"]=>  int(0) } ["confirm_maintenance"]=>  array(3) { ["v"]=> 
  bool(true) ["m"]=>  int(10) ["d"]=>  bool(true) } 
["initial_application"]=>  array(3) { ["v"]=>  string(5) "horde" 
["m"]=>  int(10) ["d"]=>  string(5) "horde" } ["widget_accesskey"]=>   
array(3) { ["v"]=>  bool(true) ["m"]=>  int(10) ["d"]=>  bool(true) } 
["portal_layout"]=>  array(3) { ["v"]=>  string(6) "a:0:{}" ["m"]=>   
int(10) ["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(62) 
"a:2:{s:4:"time";i:1267118569;s:4:"host";s:13:"192.168.0.227";}" 
["m"]=>  int(2) ["d"]=>  string(6) "a:0:{}" } ["show_last_login"]=>   
array(3) { ["v"]=>  bool(true) ["m"]=>  int(10) ["d"]=>  bool(true) } 
["editor_plugins"]=>  array(3) { ["v"]=>  string(49) 
"a:2:{i:0;s:8:"ListType";i:1;s:12:"CharacterMap";}" ["m"]=>  int(10) 
["d"]=>  string(49) 
"a:2:{i:0;s:8:"ListType";i:1;s:12:"CharacterMap";}" } 
["addressbooks"]=>  array(3) { ["v"]=>  string(12177) " 
7a2eff2e0639c2aafd3850a94f74f07c 7828184c7d4ae40b2a2d2a74c7678821 
dba20d9fb75330ff301719a5d6bbd7b2 3adf0919d78ce1ada0d51c796948821b 
32501d612434738fdf2db7f7f362afff f5f0c0a04ceac8e3a3a7442d15dc42b5 
3c1657265bf0b98d03a8cf2f1783c0c6 0dbaa8e14ffda52aefffb1f294a1bf1e 
1373531972ee88d8d5d2d8eec3f00342 7a6ee07901d43ee72baab8fe9d527128 
d05cf4c24dc171c1dd1503f43f378b8d 3b77165b4ee476c3bdbcac3a35c8e274 
5e7d1fdcedf9536958cdcb0697dca535 07358529cdf41b5987034eedb9411f15 
c100fdba22614c00bf55f3e77a10edd2 7e16ae267d44ad7de623232c48237cf9 
97cce4b5ceefa50c2da766540025ef1a 58aa818a08680c5a5c04936fd6e2891a 
c60ed22499ad9a0a3184a94f618591a2 f4da9dd3aea02bcf38de2fb7571a809d 
68fe668073adf74bc8d715d2884509ea 9c6b599821e7ceb7d4d95c92b42f5fe6 
c0c36b354c7225b808c08d313a5a211e 7eb5ec7b6eaa85f74e09dcd426f303cf 
11983b9ec27fd5df3ce52445a43591dd 453587f259d4e35e724ede8e953941f4 
ecf14d573754ed4a7054a2c27e890323 e0a12a93657c37d4311dae405997437d 
823574fffd941411b6ad49fb611f86e9 a9fe5b8f5f1fc18ddcb8b7bc3e22353
..what about the results of the var_dump() statement?
02/19/2010 06:04:19 PM Michael Rubinsky Comment #6 Reply to this comment
..what about the results of the var_dump() statement?
02/19/2010 05:00:02 PM silvia (at) pqi (dot) ep (dot) usp (dot) br Comment #5 Reply to this comment
I'm using mysql and the beginning of sources.php is:

$cfgSources['localsql'] = array(
     'title' => _("My Address Book"),
     'type' => 'sql',
     // The default connection details are pulled from the Horde-wide SQL
     // connection configuration.
//    'params' => array_merge($GLOBALS['conf']['sql'], array('table' 
=> 'turba_objects')),
      'params' => array(
          'phptype' => 'mysql',
          'hostspec' => 'localhost',
          'username' => 'horde',
          'password' => 'senha',
          'database' => 'localsql',
          'table' => 'turba_objects',
          'charset' => 'iso-8859-1'
     ),

[Show Quoted Text - 9 lines]
02/18/2010 02:23:40 PM Michael Rubinsky Comment #4
Assigned to Michael Rubinsky
Version ⇒ 2.3.3
Reply to this comment
I cannot reproduce this is the latest stable. What contact storage 
backend are you using?  You are probably going to need to debug this 
yourself.

Find out what line you are *now* getting the error on (after you 
upgraded, the line number will have changed).  Place a   
var_dump($targetDriver); statement right before the line you are 
getting the error on and post the results here after making sure no 
sensitive data (data base passwords etc...) are present.
02/18/2010 10:08:27 AM silvia (at) pqi (dot) ep (dot) usp (dot) br Comment #3 Reply to this comment
Thank you for your response
I have updated turba to the newest version and the error persists.
I'm creating the new list in the same address book as the contacts.
That error would be caused when the driver for the address book you 
are creating the new contact list in could not be loaded.  Are you 
creating the new list in the same address book as the contacts, or a 
different address book?

Also, 2.2.1 is an older release. Please update to a newer version, 
as this issue may have already been fixed. I cannot reproduce this 
in the current stable line.
02/17/2010 03:08:15 PM Michael Rubinsky Comment #2
State ⇒ Feedback
Priority ⇒ 1. Low
Reply to this comment
That error would be caused when the driver for the address book you 
are creating the new contact list in could not be loaded.  Are you 
creating the new list in the same address book as the contacts, or a 
different address book?

Also, 2.2.1 is an older release. Please update to a newer version, as 
this issue may have already been fixed. I cannot reproduce this in the 
current stable line.
02/17/2010 01:48:54 PM silvia (at) pqi (dot) ep (dot) usp (dot) br Comment #1
Priority ⇒ 3. High
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Due ⇒ 02/17/2010
Summary ⇒ add new list
Type ⇒ Bug
Queue ⇒ Turba
Reply to this comment
I installed Imp 4.2/Horde 3.2.1/Turba 2.2.1 on Fedora core 11. Everything is
working fine except the option "add " option to create a new list.

    I select the contacts I want to add and then select "add" option to
My address book. Turba asks me the name of the new list. I type the
list name and click ok. A blank screen appears and nothing happens.

    I found an error in ssl_error_log:

    [Thu Feb 11 08:56:25 2010] [error] [client 192.168.0.227] PHP Fatal
error:  Call to undefined method PEAR_Error::getContactOwner() in
/usr/share/horde/turba/lib/Views/Browse.php on line 284, referer:
https://192.168.0.232/horde/turba/browse.php[1]

    Thank you for any help!

Saved Queries