Discussion:
[RCU] roundcube recipient_to_contact plugin php error
David Mehler
2018-04-13 14:07:46 UTC
Permalink
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.
A.L.E.C
2018-04-14 12:00:03 UTC
Permalink
Post by 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
[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
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
Loading...