PHP 7 Support | General Questions and Support | Free Forums

All Wordpress Forum requests have been moved to Wordpress Support Forums

 

Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
PHP 7 Support
July 19, 2017
11:17 am
Avatar
Tim
Member
Forum Posts: 3
Member Since:
November 2, 2014
sp_UserOfflineSmall Offline

Hi,

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
Stack trace:
#0 /home/xxxx/public_html/xcloner/cloner.cron.php(98): require_once()
#1 {main}
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?

Many thanks

TT

May 4, 2018
5:19 am
Avatar
XCloner! Support
Admin
Forum Posts: 2485
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

Hi there, please feel free to download for now the updated XCloner version for php 7 https://github.com/ovidiul/XCloner-standalone/archive/master.zip , let me know if you have any issues with it

Regards, Ovidiu

Please consider our XCloner Premium Support or making a Donation XCloner.com – Backup Made Easy!
December 23, 2018
5:34 am
Avatar
Morten_1
New Member
Forum Posts: 2
Member Since:
August 30, 2015
sp_UserOfflineSmall Offline

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?

Forum Timezone: UTC 0

Most Users Ever Online: 867

Currently Online:
8 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

tom_1: 70

mlguru: 33

Django29: 29

D: 21

Andy: 21

Marcus: 20

Member Stats:

Guest Posters: 737

Members: 34921

Moderators: 1

Admins: 1

Forum Stats:

Groups: 3

Forums: 7

Topics: 2504

Posts: 8400

Newest Members:

ArvingStade ArvingStade

Moderators: Ovidiu - Support!: 0

Administrators: XCloner! Support: 2485

Quick contact

place

Hi there, my name is Ovidiu Liuta and i support the XCloner! project
XCloner is a Joomla backup component, Wordpress backup plugin and Free website backup tool.
Contact me here!

About company

XCloner.com is a dynamic company focusing on providing backup and recovery solutions for small to medium websites.
We are based in Romania and offer 24/7 support through forums and our private ticket system for Premium users support.

© 2019 XCloner - Website Backup and Restore made simple
All Rights Reserved | Privacy Policy