phpgroupware-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-tracker] [Bug #380] I get a fatal error when I trie to add


From: nobody
Subject: [Phpgroupware-tracker] [Bug #380] I get a fatal error when I trie to add addresses into the Addressbook
Date: Sun, 02 Jun 2002 16:06:17 -0400

=================== BUG #380: FULL BUG SNAPSHOT ===================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=380&group_id=509

Submitted by: VolkerH                   Project: phpGroupWare                   
Submitted on: 2002-May-11 10:47
Category:  addressbook                  Bug Group:  0.9.14 RC3                  
Severity:  5 - Major                    Priority:  Low                          
Resolution:  None                       Assigned to:  milosch                   
Status:  Open                           Platform Version:  Other                
Reproducibility:  Every Time            

Summary:  I get a fatal error when I trie to add addresses into the Addressbook

Original Submission:  Fatal error: Unsupported operand types in 
/www/phpgroupware/addressbook/inc/class.uiaddressbook.inc.php on line 821

Where can I investigate more?


Follow-up Comments
*******************

-------------------------------------------------------
Date: 2002-Jun-02 20:06             By: courtney
This also can occur at line 681 in the same module when clicking on "edit" from 
a listing of existing addresses.

My workaround was this (PSEUDOCODE):

OLD:   $newarray = $array1 + $array2 + $array3;

NEW:   $newarray = $array1;

I made this change at lines 681 and 821.

This isn't really a fix, but it got me up and running. The implication seems to 
be that certain custom fields (which I haven't defined anyway) aren't added.

The question is, are the two add-on arrays not defined, are they not arrays, or 
is PHP refusing the "+" operand?
I've only started fooling with PHPGW a few days ago; haven't had time to 
investigate this in detail.

-------------------------------------------------------
Date: 2002-May-29 11:34             By: None
It's a problem with the special fields.

To work with addressbook just put the line 821 in comment's e.g. 
/*$qfields = $this->contacts->stock_contact_fields + $this->extrafields + 
$customfields; */ 

and also the line 681

/*$qfields = $this->contacts->stock_contact_fields + $this->extrafields + 
$customfields;*/.

This doesn't solve the problem, but you are able to work with Adressbook on the 
normal way.

cu,
Frank

 

-------------------------------------------------------
Date: 2002-May-16 11:00             By: None
I've got the same bug.
Please help!

-------------------------------------------------------
Date: 2002-May-14 11:32             By: None
I'm not able to get your modification from CVS. Would it be possible to make 
them available using a tar or something ?

Thanks for your help.

Xavier

-------------------------------------------------------
Date: 2002-May-11 14:39             By: milosch
This has been corrected in CVS.

To grab a complete update of all fixes:

1)  Check to see if you have cvs installed: 'cvs --help'.
1a) If not, install a copy of cvs-cli from your favorite 
distro.

2)  Then just type:
    'cd <your phpgroupware dir>; cvs update -dP'.

You can do step 2 as many times in a day as you wish, and 
will always get the most current bug fixes.

Thanks,





No files currently attached


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=380&group_id=509



reply via email to

[Prev in Thread] Current Thread [Next in Thread]