Hi,
Im getting the following error when I login to the Admin Panel;
PHP Deprecated: Assigning the return value of new by reference is deprecated in C:\Web Sites\Pivotal Help Desk New\include\pear\Mail\mimeDecode.php on line 335 PHP Deprecated: Function eregi_replace() is deprecated in C:\Web Sites\Pivotal Help Desk New\include\class.format.php on line 84 PHP Deprecated: Function eregi_replace() is deprecated in C:\Web Sites\Pivotal Help Desk New\include\class.format.php on line 86 PHP Deprecated: Function eregi_replace() is deprecated in C:\Web Sites\Pivotal Help Desk New\include\class.format.php on line 87
PHP 5.3.0
mySQL 5.4
I'm not a PHP expert but I've followed the advice on other sistes and changed the php.ini file to not show deprecation warnings but it hasn't worked.
Can anyone tell me where I can solve this problem?
Thanks,
Steve
Was having the same issue with PEAR in php 5.3... The fix below helped.
* * * * * Deprecated: Assigning the return value of new by reference is
deprecated in pear/Mail/mimeDecode.php
according to this is a wontfix
bug. Official suggestion is to upgrade to MDB2, the successor of DB.
hack: remove ampersand in all allocations in pear/Mail/mimeDecode.php and
pear/DB.php
old version
@$obj =& new $classname;
becomes
@$obj = new $classname;