roundcube recipient_to_contact plugin php error

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

roundcube recipient_to_contact plugin php error

David Mehler
Hello,

I've enabled the recipient_to_contact plugin in Roundcube. I can log
in, but whenever I go to the settings tab I get a blank screen and see
this in my logs/ssl-errors file:

[Fri Apr 13 10:01:46.359205 2018] [proxy_fcgi:error] [pid 81781:tid
34389192448] [client xxx.xxx.xxx.xxx:52490] AH01071: Got error 'PHP
message: PHP Fatal error:  Call to undefined function Q() in
/usr/local/www/roundcube/plugins/recipient_to_contact/recipient_to_contact.php
on line 323\n', referer:
https://webmail2.domain.com/?_task=mail&_mbox=INBOX

Suggestions welcome.

Thanks.
Dave.
_______________________________________________
Roundcube Users mailing list
[hidden email]
http://lists.roundcube.net/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: roundcube recipient_to_contact plugin php error

A.L.E.C
On 04/13/2018 04:07 PM, David Mehler wrote:

> Hello,
>
> I've enabled the recipient_to_contact plugin in Roundcube. I can log
> in, but whenever I go to the settings tab I get a blank screen and see
> this in my logs/ssl-errors file:
>
> [Fri Apr 13 10:01:46.359205 2018] [proxy_fcgi:error] [pid 81781:tid
> 34389192448] [client xxx.xxx.xxx.xxx:52490] AH01071: Got error 'PHP
> message: PHP Fatal error:  Call to undefined function Q() in
> /usr/local/www/roundcube/plugins/recipient_to_contact/recipient_to_contact.php
> on line 323\n', referer:
> https://webmail2.domain.com/?_task=mail&_mbox=INBOX

Looks like the code is not compatible with recent Roundcube versions. For Q() you can just
replace it with rcube::Q(), but there may be other issues. Here are some hints
https://github.com/roundcube/roundcubemail/blob/release-1.2/program/include/bc.php

--
Aleksander 'A.L.E.C' Machniak
Kolab Groupware Developer         [http://kolab.org]
Roundcube Webmail Developer   [http://roundcube.net]
----------------------------------------------------
PGP: 19359DC1 # Blog: https://kolabian.wordpress.com
_______________________________________________
Roundcube Users mailing list
[hidden email]
http://lists.roundcube.net/mailman/listinfo/users