Problems since upgrading to php v5.3.0 - PHP ereg_replace

Post your support requests/solutions for
MacOfTheEast
Working towards guru status...
Working towards guru status...
Posts: 7
Joined: Fri Aug 05, 2005 11:01 pm
Contact:

Problems since upgrading to php v5.3.0 - PHP ereg_replace

Postby MacOfTheEast » Sun Nov 01, 2009 7:57 pm

Dave,

Sorry to have to report this but since upgrading to php v5.3.0 from v5.2.11 phpMySQLAutoBackup no longer works. From apache2's error log:

[Sun Nov 01 07:46:25 2009] [error] [client 192.168.1.11] PHP Deprecated: Function ereg_replace() is deprecated in /Library/WebServer/Documents/demval/phpmysqlautobackup/files/schema_for_export.php
[Sun Nov 01 07:46:25 2009] [error] [client 192.168.1.11] PHP Deprecated: Function ereg_replace() is deprecated in /Library/WebServer/Documents/demval/phpmysqlautobackup/files/schema_for_export.php
[Sun Nov 01 07:46:25 2009] [error] [client 192.168.1.11] PHP Deprecated: Function ereg_replace() is deprecated in /Library/WebServer/Documents/demval/phpmysqlautobackup/files/schema_for_export.php
[Sun Nov 01 07:46:25 2009] [error] [client 192.168.1.11] PHP Deprecated: Function ereg_replace() is deprecated in /Library/WebServer/Documents/demval/phpmysqlautobackup/files/schema_for_export.php
[Sun Nov 01 07:46:25 2009] [error] [client 192.168.1.11] PHP Deprecated: Function ereg_replace() is deprecated in /Library/WebServer/Documents/demval/phpmysqlautobackup/files/schema_for_export.php
[Sun Nov 01 07:46:25 2009] [error] [client 192.168.1.11] PHP Deprecated: Function ereg_replace() is deprecated in /Library/WebServer/Documents/demval/phpmysqlautobackup/files/schema_for_export.php
[Sun Nov 01 07:46:25 2009] [error] [client 192.168.1.11] PHP Deprecated: Function ereg_replace() is deprecated in /Library/WebServer/Documents/demval/phpmysqlautobackup/files/schema_for_export.php
[Sun Nov 01 07:46:25 2009] [error] [client 192.168.1.11] PHP Deprecated: Function ereg_replace() is deprecated in /Library/WebServer/Documents/demval/phpmysqlautobackup/files/schema_for_export.php
[Sun Nov 01 07:46:25 2009] [error] [client 192.168.1.11] PHP Deprecated: Function ereg_replace() is deprecated in /Library/WebServer/Documents/demval/phpmysqlautobackup/files/schema_for_export.php
[Sun Nov 01 07:46:25 2009] [error] [client 192.168.1.11] PHP Deprecated: Function ereg_replace() is deprecated in /Library/WebServer/Documents/demval/phpmysqlautobackup/files/schema_for_export.php
[Sun Nov 01 07:46:25 2009] [error] [client 192.168.1.11] PHP Deprecated: Function ereg_replace() is deprecated in /Library/WebServer/Documents/demval/phpmysqlautobackup/files/schema_for_export.php
[Sun Nov 01 07:46:25 2009] [error] [client 192.168.1.11] PHP Deprecated: Function ereg_replace() is deprecated in /Library/WebServer/Documents/demval/phpmysqlautobackup/files/schema_for_export.php
[Sun Nov 01 07:46:25 2009] [error] [client 192.168.1.11] PHP Deprecated: Function ereg_replace() is deprecated in /Library/WebServer/Documents/demval/phpmysqlautobackup/files/schema_for_export.php
[Sun Nov 01 07:46:25 2009] [error] [client 192.168.1.11] PHP Deprecated: Function ereg_replace() is deprecated in /Library/WebServer/Documents/demval/phpmysqlautobackup/files/schema_for_export.php
[Sun Nov 01 07:46:25 2009] [error] [client 192.168.1.11] PHP Deprecated: Function ereg_replace() is deprecated in /Library/WebServer/Documents/demval/phpmysqlautobackup/files/schema_for_export.php
[Sun Nov 01 07:46:25 2009] [error] [client 192.168.1.11] PHP Deprecated: Function ereg_replace() is deprecated in /Library/WebServer/Documents/demval/phpmysqlautobackup/files/schema_for_export.php
[Sun Nov 01 07:46:25 2009] [error] [client 192.168.1.11] PHP Deprecated: Function ereg_replace() is deprecated in /Library/WebServer/Documents/demval/phpmysqlautobackup/files/schema_for_export.php
[Sun Nov 01 07:46:25 2009] [error] [client 192.168.1.11] PHP Deprecated: Function ereg_replace() is deprecated in /Library/WebServer/Documents/demval/phpmysqlautobackup/files/schema_for_export.php
[Sun Nov 01 07:46:25 2009] [error] [client 192.168.1.11] PHP Deprecated: Function ereg_replace() is deprecated in /Library/WebServer/Documents/demval/phpmysqlautobackup/files/schema_for_export.php
[Sun Nov 01 07:46:28 2009] [notice] child pid 28856 exit signal Segmentation fault (11)

I've tried a few versions of phpMySQLAutoBackup including the very latest.

Appreciate you having a look at it.

P.S. Also troubles with phpAutoMembersArea which I'll report in the appropriate forum.

Thank you,
B. Bodger

davidgwalker
MODS thats what I do that is! But definately NO mod music! It has to be ROCK!
Posts: 1810
Joined: Mon Oct 25, 2004 8:20 pm
Location: Huddersfield, UK
Contact:

Re: Problems since upgrading to php v5.3.0

Postby davidgwalker » Mon Nov 02, 2009 7:13 am

Hi, Many thanks for taking the time to post the issue :-)

Deprecation! Dont you just love it! NO THANK YOU :x
For those that dont know what this means - the error message means the integrated PHP function "ereg_replace" is nolonger supported and has been removed:
http://php.net/manual/en/function.ereg-replace.php

I will have a look today and issue an update.

Cheers

Dave

davidgwalker
MODS thats what I do that is! But definately NO mod music! It has to be ROCK!
Posts: 1810
Joined: Mon Oct 25, 2004 8:20 pm
Location: Huddersfield, UK
Contact:

Re: Problems since upgrading to php v5.3.0

Postby davidgwalker » Mon Nov 02, 2009 8:48 am


davidgwalker
MODS thats what I do that is! But definately NO mod music! It has to be ROCK!
Posts: 1810
Joined: Mon Oct 25, 2004 8:20 pm
Location: Huddersfield, UK
Contact:

Re: Problems since upgrading to php v5.3.0 - PHP ereg_replace

Postby davidgwalker » Mon Nov 02, 2009 3:11 pm

New version which corrects the above issue has now been released:
http://www.dwalker.co.uk/phpmysqlautobackup/

Any problems please let me know...

Cheers

Dave


Return to “phpMySQLAutoBackup [forum]”

Who is online

Users browsing this forum: No registered users and 2 guests

cron