6.0.0-alpha12
6/12/25

[#7741] delete on mysql addressbook fails
Summary delete on mysql addressbook fails
Queue Turba
Queue Version 2.3.1
Type Bug
State Resolved
Priority 1. Low
Owners Horde Developers (at) , mrubinsk (at) horde (dot) org
Requester falon (at) csi (dot) it
Created 12/01/2008 (6037 days ago)
Due
Updated 01/13/2010 (5629 days ago)
Assigned 12/12/2008 (6026 days ago)
Resolved 10/24/2009 (5710 days ago)
Github Issue Link
Github Pull Request
Milestone 2.3.3
Patch No

History
01/13/2010 12:14:31 AM CVS Commit Comment #9 Reply to this comment
10/25/2009 09:09:43 AM Jan Schneider Milestone ⇒ 2.3.3
 
10/24/2009 06:53:56 PM Michael Rubinsky Assigned to Michael Rubinsky
State ⇒ Resolved
 
10/24/2009 06:53:17 PM CVS Commit Comment #8 Reply to this comment
10/24/2009 06:48:24 PM CVS Commit Comment #7 Reply to this comment
Changes have been made in CVS for this ticket:

Catch error when VFS is not properly configured.
Bug: 7741
http://cvs.horde.org/diff.php/turba/lib/Object.php?rt=horde&r1=1.17.10.12&r2=1.17.10.13&ty=u
12/16/2008 07:51:27 AM falon (at) csi (dot) it Comment #6 Reply to this comment
I confirm that with

$conf['documents']['type'] = 'none';

"cancel" works.



With

$conf['documents']['type'] = 'horde'; in turba conf

and

$conf['vfs']['type'] = 'none'; in horde conf

the error happens as shown.



Thanks

Best Regards
12/12/2008 05:20:08 PM Jan Schneider Assigned to Horde DevelopersHorde Developers
 
12/12/2008 05:19:56 PM Jan Schneider Comment #5
Queue ⇒ Turba
State ⇒ Assigned
Version ⇒ 2.3.1
Reply to this comment
We should catch that error though.
12/12/2008 05:19:09 PM Jan Schneider Comment #4
State ⇒ Not A Bug
Reply to this comment
Log in as an administrator, go to the setup, and either configure a 
VFS backend in Horde's configuration, or disable adding of files to 
contacts in Turba's configuration.
12/01/2008 03:31:33 PM falon (at) csi (dot) it Comment #3 Reply to this comment
Ok, this is the error log when deletion fails:



[Mon Dec 01 16:23:56 2008] [error] [client 10.10.10.10] PHP Warning:   
VFS::include_once(VFS/none.php) [<a 
href='vfs.include-once'>vfs.include-once</a>]: failed to open stream: 
No such file or directory in 
/var/www/html/horde-webmail-1.2/lib/VFS.php on line 1061, referer: 
http://10.10.10.10/turba/contact.php?source=localsql&key=5be71b6c32ae9db7adeb84134fe4a12e

[Mon Dec 01 16:23:56 2008] [error] [client 10.10.10.10] PHP Warning:   
VFS::include_once() [<a href='function.include'>function.include</a>]: 
Failed opening 'VFS/none.php' for inclusion 
(include_path='.:/usr/share/pear:/var/www/html/horde-webmail-1.2/lib:/var/www/html/horde-webmail-1.2/lib/../pear') in /var/www/html/horde-webmail-1.2/lib/VFS.php on line 1061, referer: 
http://10.10.10.10/turba/contact.php?source=localsql&key=5be71b6c32ae9db7adeb84134fe4a12e

[Mon Dec 01 16:23:56 2008] [error] [client 10.10.10.10] PHP Fatal 
error:  Call to a member function exists() on a non-object in 
/var/www/html/horde-webmail-1.2/turba/lib/Object.php on line 291, 
referer: 
http://10.10.10.10/turba/contact.php?source=localsql&key=5be71b6c32ae9db7adeb84134fe4a12e



Thank you

Regards
12/01/2008 03:13:49 PM Chuck Hagenbuch Comment #2
State ⇒ Feedback
Reply to this comment
Please check horde's log for errors, your webserver logs for 
segfaults, and make sure that display_errors or log_errors are on so 
you see any PHP messages if there are any.
12/01/2008 09:52:31 AM falon (at) csi (dot) it Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ delete on mysql addressbook fails
Queue ⇒ Horde Groupware Webmail Edition
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
I would notice this error...

I have mysql turba addressbook.

I can create, delete, edit all personal contacts.

The follow is the only action that fails:



1) select "Address Book"

2) select "Browse"

3) from the list, open a contact by clicking over the Name.

4) from "view, edit, delete" select Delete.

5) Confirm delete

6) A blank page opens. No delete happen. No errors shown.



Instead, if from 2) I check a contact and I click over "Delete", then 
it works. I experience this problem  only if I open the contact and I 
try to delete it.



Best regards

marco

Saved Queries