Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] roundcube error while saving contacts
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Elleni
Veteran
Veteran


Joined: 23 May 2006
Posts: 1029

PostPosted: Mon Dec 23, 2019 9:01 pm    Post subject: [solved] roundcube error while saving contacts Reply with quote

I became aware that saving contacts in current roundube install does not work. More precisely the contact is created, but the mailadress within is not saved. Corresponding error in /path/to/roundcube/webroot/logs/errors:
Code:
PHP Warning:  preg_replace(): Compilation failed: escape sequence is invalid in character class at offset 8 in /path/to/roundcube/webroot/program/lib/Roundcube/rcube_vcard.php on line 547

Found the following solution:
Replace
Code:
/^(N:[^;\R]*)$/m
with
Code:
/^(N:[^;\r\n]*)$/m
in
Code:
/path/to/roundcube/webroot/program/lib/Roundcube/rcube_vcard.php
fixed it.
Solution found here
Should I file a bug in bugs.gentoo.org? Is this a known error?
Back to top
View user's profile Send private message
Banana
Guru
Guru


Joined: 21 May 2004
Posts: 331
Location: Germany

PostPosted: Thu Dec 26, 2019 7:46 pm    Post subject: Reply with quote

So there is a bug and fix for the software itself? Which means the version in gentoo needs to be updated?
_________________
My personal space
Back to top
View user's profile Send private message
Elleni
Veteran
Veteran


Joined: 23 May 2006
Posts: 1029

PostPosted: Fri Dec 27, 2019 1:33 am    Post subject: Reply with quote

Aparently fixed by upstream in roundcube 1.3.10 and 1.4.1 which have unstable flag on gentoo, so yes, either installation of updated unstable versions or above fix will solve the problem.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum