Errors in the Apache logs

sten88

Verified User
Joined
Feb 22, 2018
Messages
23
Hello. I did not find a suitable topic. The situation is this. After adding and deleting the record, to enable the "managesieve" plug-in in config.inc.php (/ var / www / html / roundcube / config /), now Apache logs show more than 3k entries when entering the roundcube:

Code:
[Thu Feb 22 18:32:38.410779 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined index: nl in /var/www/html/roundcubemail-1.3.4/program/lib/Roundcube/html.php on line 80, referer: 
[Thu Feb 22 18:32:38.410790 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined index: nl in /var/www/html/roundcubemail-1.3.4/program/lib/Roundcube/html.php on line 80, referer: 
[Thu Feb 22 18:32:38.410801 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined index: noclose in /var/www/html/roundcubemail-1.3.4/program/lib/Roundcube/html.php on line 84, referer: 
[Thu Feb 22 18:32:38.410818 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined index: rowsonly in /var/www/html/roundcubemail-1.3.4/program/lib/Roundcube/html.php on line 897, referer: 
[Thu Feb 22 18:32:38.410848 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined index: nl in /var/www/html/roundcubemail-1.3.4/program/lib/Roundcube/html.php on line 80, referer: 
[Thu Feb 22 18:32:38.410864 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined index: nl in /var/www/html/roundcubemail-1.3.4/program/lib/Roundcube/html.php on line 80, referer:
[Thu Feb 22 18:32:38.410876 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined index: noclose in /var/www/html/roundcubemail-1.3.4/program/lib/Roundcube/html.php on line 84, referer: 
[Thu Feb 22 18:32:38.410892 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined variable: hide_host in /var/www/html/roundcubemail-1.3.4/program/include/rcmail_output_html.php on line 1915, 
[Thu Feb 22 18:32:38.410914 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined index: uk_ua in /var/www/html/roundcubemail-1.3.4/program/lib/Roundcube/rcube.php on line 620, referer: 
[Thu Feb 22 18:32:38.410924 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined index: en_us in /var/www/html/roundcubemail-1.3.4/program/lib/Roundcube/rcube.php on line 620, referer: 
[Thu Feb 22 18:32:38.410933 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined index: vars in /var/www/html/roundcubemail-1.3.4/program/lib/Roundcube/rcube.php on line 633, referer: 
[Thu Feb 22 18:32:38.410956 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined index: uppercase in /var/www/html/roundcubemail-1.3.4/program/lib/Roundcube/rcube.php on line 643, referer: 
[Thu Feb 22 18:32:38.410965 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined index: ucfirst in /var/www/html/roundcubemail-1.3.4/program/lib/Roundcube/rcube.php on line 643, referer: 
[Thu Feb 22 18:32:38.410973 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined index: uppercase in /var/www/html/roundcubemail-1.3.4/program/lib/Roundcube/rcube.php on line 646, referer: 
[Thu Feb 22 18:32:38.410980 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined index: lowercase in /var/www/html/roundcubemail-1.3.4/program/lib/Roundcube/rcube.php on line 649, referer: 
[Thu Feb 22 18:32:38.411007 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined index: nl in /var/www/html/roundcubemail-1.3.4/program/lib/Roundcube/html.php on line 80, 
[Thu Feb 22 18:32:38.411091 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined index: nl in /var/www/html/roundcubemail-1.3.4/program/lib/Roundcube/html.php on line 80, 
[Thu Feb 22 18:32:38.411103 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined index: nl in /var/www/html/roundcubemail-1.3.4/program/lib/Roundcube/html.php on line 80, 
[Thu Feb 22 18:32:38.411115 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined index: noclose in /var/www/html/roundcubemail-1.3.4/program/lib/Roundcube/html.php on line 84, 
[Thu Feb 22 18:32:38.411347 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined index: nl in /var/www/html/roundcubemail-1.3.4/program/lib/Roundcube/html.php on line 80, referer: 
[Thu Feb 22 18:32:38.411378 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined index: noclose in /var/www/html/roundcubemail-1.3.4/program/lib/Roundcube/html.php on line 84, referer: 
[Thu Feb 22 18:32:38.411521 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined index: expression in /var/www/html/roundcubemail-1.3.4/program/include/rcmail_output_html.php on line 1058, 
[Thu Feb 22 18:32:38.411563 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined index: uk_ua in /var/www/html/roundcubemail-1.3.4/program/lib/Roundcube/rcube.php on line 620, referer: 
[Thu Feb 22 18:32:38.411575 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined index: en_us in /var/www/html/roundcubemail-1.3.4/program/lib/Roundcube/rcube.php on line 620, referer: 
[Thu Feb 22 18:32:38.411608 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined index: uppercase in /var/www/html/roundcubemail-1.3.4/program/lib/Roundcube/rcube.php on line 643, referer: 
[Thu Feb 22 18:32:38.411619 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined index: ucfirst in /var/www/html/roundcubemail-1.3.4/program/lib/Roundcube/rcube.php on line 643, referer: 
[Thu Feb 22 18:32:38.411627 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined index: uppercase in /var/www/html/roundcubemail-1.3.4/program/lib/Roundcube/rcube.php on line 646, referer:
[Thu Feb 22 18:32:38.411634 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined index: lowercase in /var/www/html/roundcubemail-1.3.4/program/lib/Roundcube/rcube.php on line 649, referer:
[Thu Feb 22 18:32:38.411644 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined index: html in /var/www/html/roundcubemail-1.3.4/program/include/rcmail_output_html.php on line 1066, referer: 
[Thu Feb 22 18:32:38.411658 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined index: noshow in /var/www/html/roundcubemail-1.3.4/program/include/rcmail_output_html.php on line 1069, referer:
[Thu Feb 22 18:32:38.411758 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined index: productname in /var/www/html/roundcubemail-1.3.4/program/include/rcmail_output_html.php on line 1139, referer:
[Thu Feb 22 18:32:38.412061 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined index: content in /var/www/html/roundcubemail-1.3.4/program/lib/Roundcube/rcube_plugin_api.php on line 657, referer: 
[Thu Feb 22 18:32:38.412078 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined index: loginfooter in /var/www/html/roundcubemail-1.3.4/program/lib/Roundcube/rcube_plugin_api.php on line 657, referer: 
[Thu Feb 22 18:32:38.412092 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined index: break in /var/www/html/roundcubemail-1.3.4/program/lib/Roundcube/rcube_plugin_api.php on line 445, referer: 
[Thu Feb 22 18:32:38.412197 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined index: skinpath in /var/www/html/roundcubemail-1.3.4/program/include/rcmail_output_html.php on line 1098, referer: 
[Thu Feb 22 18:32:38.412865 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined index: _task in /var/www/html/roundcubemail-1.3.4/program/include/rcmail_output_html.php on line 1949, referer: 
[Thu Feb 22 18:32:38.413079 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined index: _unlock in /var/www/html/roundcubemail-1.3.4/program/include/rcmail_output_html.php on line 676, referer: 
[Thu Feb 22 18:32:38.413402 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined variable: parent_prefix in /var/www/html/roundcubemail-1.3.4/program/include/rcmail_output_html.php on line 707, 
[Thu Feb 22 18:32:38.413435 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined index: framed in /var/www/html/roundcubemail-1.3.4/program/include/rcmail_output_html.php on line 530, referer: 
[Thu Feb 22 18:32:38.413558 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined index: noclose in /var/www/html/roundcubemail-1.3.4/program/lib/Roundcube/html.php on line 84, referer:
[Thu Feb 22 18:32:38.413630 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined index: noclose in /var/www/html/roundcubemail-1.3.4/program/lib/Roundcube/html.php on line 84, referer:
[Thu Feb 22 18:32:38.413694 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined index: noclose in /var/www/html/roundcubemail-1.3.4/program/lib/Roundcube/html.php on line 84, referer:
[Thu Feb 22 18:32:38.413757 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined index: noclose in /var/www/html/roundcubemail-1.3.4/program/lib/Roundcube/html.php on line 84, referer:
[Thu Feb 22 18:32:38.413821 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined index: noclose in /var/www/html/roundcubemail-1.3.4/program/lib/Roundcube/html.php on line 84, referer:
[Thu Feb 22 18:32:38.413874 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined index: foot in /var/www/html/roundcubemail-1.3.4/program/include/rcmail_output_html.php on line 1623,
[Thu Feb 22 18:32:38.413902 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined index: noclose in /var/www/html/roundcubemail-1.3.4/program/lib/Roundcube/html.php on line 84, referer:
[Thu Feb 22 18:32:38.413962 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined variable: is_empty in /var/www/html/roundcubemail-1.3.4/program/include/rcmail_output_html.php on line 1672, 
[Thu Feb 22 18:32:38.415488 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined index: nl in /var/www/html/roundcubemail-1.3.4/program/lib/Roundcube/html.php on line 80, referer:
[Thu Feb 22 18:32:38.416101 2018] [:error] [pid 18460] [client 193.xxx.xxx.xxx:36064] PHP Notice:  Undefined variable: add in /var/www/html/roundcubemail-1.3.4/program/lib/Roundcube/rcube_db.php on line 935, referer:

Please give a hint. Perhaps in more detail I am a novice in this. Thank you.
 
These errors indicates that a variable is not defined or known to the server. So probably when you edited the config.inc.php in the roundcube folder you made a mistake. I assume you did not make any changes in other files..?
 
This are just notices, you can turn these off by adding ~E_NOTICES to the php.ini's error_reporting
 
Hello. Thanks for answers.

Errors when editing config.inc.php should not be allowed. But there are all kinds ...
I just added an entry for the plugin, then deleted only it.

I reinstalled the entire roundcube, but the problem remained. Mistakes are coming.

How critical is the disabling of these notifications? They publish in great caliber when using the roundcube ?.

I would like to eliminate their source, rather than disconnect.
 
Friends, other than the option to turn off notifications, there are no more options to resolve? Thank you.
 
Maybe you could try
Code:
./build clean
./build update
./build roundcube
 
Hello,

Custombuild 2.x support dovecot+pigeonhole (sieve) + roundcube+managesieve from a box. It means you enable pigeonhole in options.conf and re-build dovecot and roundcube and that's it. You don't need to modify roundcube's configuration any longer manually.
 
Hello. Unfortunately did not help ...:(
I rebuilt devecot and roundcube by setting pigeonhole = yes in options.conf

The result of the errors is almost the same.

Are there any other options?


Hello,

Custombuild 2.x support dovecot+pigeonhole (sieve) + roundcube+managesieve from a box. It means you enable pigeonhole in options.conf and re-build dovecot and roundcube and that's it. You don't need to modify roundcube's configuration any longer manually.
 
After rebuilding the devecot in maillog it's constantly:

Code:
Mar 17 11:16:02  dovecot[21960]: stats: Fatal: master: service(stats): child 29850 killed with signal 9
Mar 17 11:16:02  dovecot[21960]: managesieve-login: Fatal: master: service(managesieve-login): child 29849 killed with signal 9
Mar 17 11:16:02  dovecot[21960]: managesieve-login: Fatal: master: service(managesieve-login): child 29851 killed with signal 9
Mar 17 11:16:02  dovecot[21960]: managesieve-login: Fatal: master: service(managesieve-login): child 29852 killed with signal 9
Mar 17 11:16:02  dovecot[21960]: managesieve-login: Fatal: master: service(managesieve-login): child 29853 killed with signal 9
 
try and remove roundcube from directories /var/www/html/ and /usr/local/directadmin/custombuid/, and then re-install roundcube once more time.
 
Hello.
Carried out with fifty experiments, the reason was in the ban function ini_set in php.in.

Thank you all for your advice.
We searched globally and everything was much simpler.
 
Back
Top