In AtMail Error
[Mon Apr 02 15:29:39 2012] [error] [client *******] PHP Notice: Undefined index: debug_sql in /var/www/atmail/libs/Atmail/SQL.php on line 50, referer:
http://webmail.**.by/compose.php?func=attachment&unique=60721
[Mon Apr 02 15:47:36 2012] [error] [client ******] File does not exist: /var/www/atmail/javascript/fckeditor/editor/javascript, referer:
http://webmail.*****.by/javascript/...ml?InstanceName=ComposeMsgText&Toolbar=Atmail
[Mon Apr 02 15:47:37 2012] [error] [client ******] PHP Notice: Undefined index: debug_sql in /var/www/atmail/libs/Atmail/SQL.php on line 50, referer:
http://webmail.*****.by/parse.php?f...showmail_interface.html&ajax=1&func=Inbox&To=
[Mon Apr 02 15:47:49 2012] [error] [client ******] PHP Notice: Undefined index: debug_sql in /var/www/atmail/libs/Atmail/SQL.php on line 50, referer:
http://webmail.*****.by/compose.php?func=attachment&unique=89506
[Mon Apr 02 15:47:55 2012] [error] [client ******] PHP Notice: Undefined index: debug_sql in /var/www/atmail/libs/Atmail/SQL.php on line 50, referer:
http://webmail.*****.by/compose.php?sending_attachment=1&unique=89506
[Mon Apr 02 15:48:57 2012] [error] [client ******] PHP Notice: Undefined index: debug_sql in /var/www/atmail/libs/Atmail/SQL.php on line 50, referer:
http://webmail.*****.by/parse.php?f...showmail_interface.html&ajax=1&func=Inbox&To=
[Mon Apr 02 15:49:04 2012] [error] [client *****] PHP Notice: Undefined index: debug_sql in /var/www/atmail/libs/Atmail/SQL.php on line 50, referer:
http://webmail.*****.by/compose.php?func=attachment&unique=89506
[Mon Apr 02 15:49:06 2012] [error] [client ******] PHP Notice: Undefined index: debug_sql in /var/www/atmail/libs/Atmail/SQL.php on line 50, referer:
http://webmail.*****.by/compose.php?sending_attachment=1&unique=89506
[Mon Apr 02 15:50:22 2012] [error] [client ******] PHP Notice: Undefined index: debug_sql in /var/www/atmail/libs/Atmail/SQL.php on line 50, referer:
http://webmail.*****.by/parse.php?f...showmail_interface.html&ajax=1&func=Inbox&To=
[Mon Apr 02 15:50:41 2012] [error] [client ******] PHP Warning: POST Content-Length of 621849201 bytes exceeds the limit of 58720256 bytes in Unknown on line 0, referer:
http://webmail.******.by/compose.php?func=attachment&unique=89506
[Mon Apr 02 15:50:41 2012] [error] [client ******] PHP Notice: Undefined index: debug_sql in /var/www/atmail/libs/Atmail/SQL.php on line 50, referer:
http://webmail.*****.by/compose.php?func=attachment&unique=89506
[Mon Apr 02 15:51:31 2012] [error] [client ******] PHP Warning: POST Content-Length of 390417006 bytes exceeds the limit of 58720256 bytes in Unknown on line 0, referer:
http://webmail.*******.by/compose.php?sending_attachment=1&unique=89506
cat /etc/psa-webmail/atmail/atmail.conf
Alias = atmail
Name = AtMail
Version = 1.04
Release = rhel6.build1012110623.16
Docroot = /var/www/atmail
Enabled = true
File Config.php standart, i not changed it.
To 'fix' problem i comment string:
in file var/www/atmail/libs/Atmail/SendMsg.php
// if ($_FILES['fileupload']['error'] == 1 || $_FILES['fileupload']['error'] == 2 || $_FILES['fileupload']['size'] > ( $pref['max_msg_size'] * 1048576 )) { // return false; // }
Now, our clients can add attachement not greater, than php value in php.ini