The free forums are no longer in use. It remains available as read-only archive.
November 2, 2014
I’ve moved all my sites to PHP 7.0 as advised by the Joomla advisory and for general security on other sites.
However, it appears xcloner is not compatible with PHP 7.0 as shown in my error log:
[19-Jul-2017 05:04:02 UTC] PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/xxxx/public_html/xcloner/common.php:66
#0 /home/xxxx/public_html/xcloner/cloner.cron.php(98): require_once()
thrown in /home/xxxx/public_html/xcloner/common.php on line 66
[19-Jul-2017 09:23:50 UTC] PHP Fatal error: ‘continue’ not in the ‘loop’ or ‘switch’ context in /home/xxxx/public_html/xcloner/restore/TAR.php on line 1446
mysql_connect is removed in PHP 7
break not permitted outside a for, foreach or switch statement in PHP 7
Can you advise when a PHP 7compatible version will be available?
Hi there, please feel free to download for now the updated XCloner version for php 7 https://github.com/o…..master.zip , let me know if you have any issues with it
August 30, 2015
I just tried follow your instructions to restore a website on a PHP 7 enabled server. Unfortunately, it fails big time. First TAR.php fails due to small missing fixes. However, I was able to fix TAR.php myself with two small code changes. Then database connection fails due to PHP 7 doesn’t have mysql_connect available. This was too big for me to change consistently. My conclusion is that for now it is unsafe to rely on XCloner as backup tool for PHP 7 websites and very very soon older PHP versions are unsupported. Any chance that XCloner will become PHP 7 compliant?