1

Topic: roundcube: php error: failed to load plugin file...

==== Provide required information to help troubleshoot and get quick answer ====
- Linux/BSD distribution name and version: Ubuntu 11.10
- iRedMail version and backend (LDAP/MySQL): iRedMail-0.7.4-rc3
- Any related log? Log is helpful for troubleshooting.
====
Hello!
Please tell me what could be the problem. Iredmail set, mail is sent and received normally, but in the logs (mail.log) constantly write the error as follows:
roundcube: php error: failed to load plugin file /var/www/mysite1/mail/plugins/settings/settings.php in /var/www/mysite1/mail/program/include/rcube_plugin_api.php on line 196 (GET /)
Also, I noticed that the specified path "/var/www/mysite1/mail/plugins/settings/" there is no folder "settings", where did this the way I do not understand.
Thanks!

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: roundcube: php error: failed to load plugin file...

Please check Roundcube config file, make sure all enabled plugins are available under directory '/usr/share/apache2/roundcubemail/plugins/'. For example:

$rcmail_config['plugins'] = array('password', 'managesieve');

3

Re: roundcube: php error: failed to load plugin file...

ZhangHuangbin wrote:

Please check Roundcube config file, make sure all enabled plugins are available under directory '/usr/share/apache2/roundcubemail/plugins/'. For example:

$rcmail_config['plugins'] = array('password', 'managesieve');

I checked what you told me. Along the way, '/usr/share/apache2/roundcubemail/plugins/' has all the plugins I mentioned in the configuration file main.inc.php.

The line plug-ins in the configuration file looks like this:
$rcmail_config ['plugins'] = array ("password","managesieve","jqueryui","lang_sel","remember_me","compose_in_taskbar","archive",);

Showing the full version of the log file mail.log:
Mar 23 19:53:33 s03 roundcube: PHP Error: Failed to load plugin file /var/www/mysite1/mail/plugins/settings/settings.php in /var/www/mysite1/mail/program/include/rcube_plugin_api.php on line 196 (GET /)
Mar 23 19:53:41 s03 roundcube: PHP Error: Failed to load plugin file /var/www/mysite1/mail/plugins/settings/settings.php in /var/www/mysite1/mail/program/include/rcube_plugin_api.php on line 196 (POST /?_task=login&_action=login)
Mar 23 19:53:41 s03 roundcube: PHP Error: Failed to load plugin file /var/www/mysite1/mail/plugins/settings/settings.php in /var/www/mysite1/mail/program/include/rcube_plugin_api.php on line 196 (GET /?_task=mail)
Mar 23 19:53:41 s03 roundcube: PHP Error: Failed to load plugin file /var/www/mysite1/mail/plugins/settings/settings.php in /var/www/mysite1/mail/program/include/rcube_plugin_api.php on line 196 (GET /?_task=mail&_action=list&_mbox=INBOX&_refresh=1&_remote=1&_unlock=loading1332518021529&_=1332518021535)
Mar 23 19:53:41 s03 roundcube: PHP Error: Failed to load plugin file /var/www/mysite1/mail/plugins/settings/settings.php in /var/www/mysite1/mail/program/include/rcube_plugin_api.php on line 196 (GET /?_task=mail&_action=getunread&&_remote=1&_unlock=0&_=1332518021537)
Mar 23 19:53:45 s03 roundcube: PHP Error: Failed to load plugin file /var/www/mysite1/mail/plugins/settings/settings.php in /var/www/mysite1/mail/program/include/rcube_plugin_api.php on line 196 (GET /?_task=mail&_action=preview&_uid=210&_mbox=INBOX&_framed=1)
Mar 23 19:53:46 s03 roundcube: PHP Error: Failed to load plugin file /var/www/mysite1/mail/plugins/settings/settings.php in /var/www/mysite1/mail/program/include/rcube_plugin_api.php on line 196 (GET /?_task=mail&_action=preview&_uid=211&_mbox=INBOX&_framed=1)
Mar 23 19:54:41 s03 roundcube: PHP Error: Failed to load plugin file /var/www/mysite1/mail/plugins/settings/settings.php in /var/www/mysite1/mail/program/include/rcube_plugin_api.php on line 196 (GET /?_task=mail&_action=check-recent&_mbox=INBOX&_list=1&_quota=1&_remote=1&_unlock=0&_=1332518081552)
Mar 23 19:55:41 s03 roundcube: PHP Error: Failed to load plugin file /var/www/mysite1/mail/plugins/settings/settings.php in /var/www/mysite1/mail/program/include/rcube_plugin_api.php on line 196 (GET /?_task=mail&_action=check-recent&_mbox=INBOX&_list=1&_quota=1&_remote=1&_unlock=0&_=1332518141550)
Mar 23 19:56:31 s03 postfix/anvil[2912]: statistics: max connection rate 1/60s for (smtp:209.85.212.176) at Mar 23 19:52:39
Mar 23 19:56:31 s03 postfix/anvil[2912]: statistics: max connection count 1 for (smtp:209.85.212.176) at Mar 23 19:52:39
Mar 23 19:56:31 s03 postfix/anvil[2912]: statistics: max cache size 1 at Mar 23 19:52:39
Mar 23 19:56:41 s03 roundcube: PHP Error: Failed to load plugin file /var/www/mysite1/mail/plugins/settings/settings.php in /var/www/mysite1/mail/program/include/rcube_plugin_api.php on line 196 (GET /?_task=mail&_action=check-recent&_mbox=INBOX&_list=1&_quota=1&_remote=1&_unlock=0&_=1332518201550)
Mar 23 19:56:47 s03 roundcube: PHP Error: Failed to load plugin file /var/www/mysite1/mail/plugins/settings/settings.php in /var/www/mysite1/mail/program/include/rcube_plugin_api.php on line 196 (GET /?_task=logout)

4

Re: roundcube: php error: failed to load plugin file...

I just realized that you're running iRedMail-0.7.4-rc3, which ships Roundcubemail-0.6.

Seems there's a bug in file 'program/include/rcube_plugin_api.php', i suggest you try to disable some plugins to verify which plugin causes this issue. If it doesn't work, please considering upgrading Roundcubemail to the latest stable release (0.7.2).

Also, i found MyRoundcube plugin has file 'plugins/settings/settings.php', did you copy MyRoundcube plugin(s) to Roundcube directly?
http://code.google.com/p/myroundcube/so … p;start=47

5

Re: roundcube: php error: failed to load plugin file...

By the way, tell you how I set the mail server. Installation made according to the instructions on the site http://www.iredmail.org. Next, i moving the plugins folder to the directory '/usr/share/apache2/roundcubemail/plugins/' and ordered them into line as written in my previous answer. Then in '/var/www/' I created three folders (mysite1, mysite2, mysite3) and under each of them is a folder "mail". In each of these folders, "mail", I copied everything from the directory '/usr/share/apache2/roundcubemail/' retain all rights (privileges).
After I corrected as I have logos and words of welcome to each of these folders. After I ordered aliases to welcome page opened in accordance with:
"www.mydomail1.com/mail" from /var/www/mysite1/mail
"www.mydomail2.ru/mail" from /var/www/mysite2/mail
"www.mydomail3.ru/mail" from /var/www/mysite3/mail
No other changes I did not do.