Page 1 of 1

Mailwatch Deprecated Function?

Posted: 19 Apr 2013, 03:15
by nootkan
I am starting to see these php error lines in my logs and was wondering if something has changed in mailwatch/mailscanner to cause this:
PHP Deprecated: Function ereg_replace() is deprecated in /usr/local/cpanel/whostmgr/docroot/cgi/mailwatch/functions.php on line 926
I'm also seeing this:
Possible syntax error on line 75 of /usr/mailscanner/etc/filename.rules.conf : 29 Time(s)
Has anyone else seen this? Is this a bug or type O with this version of mailscanner? I have looked at the lines in the files mentioned but not knowing much about php I haven't been able to determine the solution. Any ideas?

Re: Mailwatch Deprecated Function?

Posted: 23 Apr 2013, 01:47
by nootkan
I am still see this in my logs everyday, is this a cpanel issue or a mailwatch issue?
PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/cpanel/whostmgr/docroot/cgi/mailwatch/pear/DB.php on line 470
PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/cpanel/whostmgr/docroot/cgi/mailwatch/pear/DB.php on line 547
PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/cpanel/whostmgr/docroot/cgi/mailwatch/pear/DB.php on line 1124
PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/cpanel/whostmgr/docroot/cgi/mailwatch/pear/DB.php on line 470
PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/cpanel/whostmgr/docroot/cgi/mailwatch/pear/DB.php on line 547
PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/cpanel/whostmgr/docroot/cgi/mailwatch/pear/DB.php on line 1124
PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/cpanel/whostmgr/docroot/cgi/mailwatch/pear/DB.php on line 470
PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/cpanel/whostmgr/docroot/cgi/mailwatch/pear/DB.php on line 547
PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/cpanel/whostmgr/docroot/cgi/mailwatch/pear/DB.php on line 1124
PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/cpanel/whostmgr/docroot/cgi/mailwatch/pear/DB.php on line 470
PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/cpanel/whostmgr/docroot/cgi/mailwatch/pear/DB.php on line 547
PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/cpanel/whostmgr/docroot/cgi/mailwatch/pear/DB.php on line 1124
PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/cpanel/whostmgr/docroot/cgi/mailwatch/pear/DB.php on line 470
PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/cpanel/whostmgr/docroot/cgi/mailwatch/pear/DB.php on line 547
PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/cpanel/whostmgr/docroot/cgi/mailwatch/pear/DB.php on line 1124
PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/cpanel/whostmgr/docroot/cgi/mailwatch/pear/DB.php on line 470
PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/cpanel/whostmgr/docroot/cgi/mailwatch/pear/DB.php on line 547
PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/cpanel/whostmgr/docroot/cgi/mailwatch/pear/DB.php on line 1124