XCloner vs PHP 5.4 | Joomla Support | Forum Archive

The free forums are no longer in use. It remains available as read-only archive.

Avatar
Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
The forums are currently locked and only available for read only access
sp_TopicIcon
XCloner vs PHP 5.4
January 25, 2013
11:04 pm
Avatar
Boris
New Member
Members
Forum Posts: 2
Member Since:
January 25, 2013
sp_UserOfflineSmall Offline

Hi everybody,

using XCloner 3.2 since a while and beeing happy with that tool! 😉

But there is a reason why writing a post ^^

Since several hosters are changing from PHP5.2 to PHP5.4 we unfortunate cant't use XCloner anymore.

Error while viewing the backup-list:

Strict Standards: date(): It is not safe to rely on the system's
timezone settings. You are *required* to use the date.timezone setting
or the date_default_timezone_set() function. In case you used any of
those methods and you are still getting this warning, you most likely
misspelled the timezone identifier. We selected 'Europe/Berlin' for
'CET/1.0/no DST' instead in /xyz/xyz/xyz/htdocs/joomla/administrator/components/com_xcloner-backupandrestore/admin.cloner.html.php on line 1109

Errors while trying to backup:

Strict Standards: date(): It is not safe to rely on the system's
timezone settings. You are *required* to use the date.timezone setting
or the date_default_timezone_set() function. In case you used any of
those methods and you are still getting this warning, you most likely
misspelled the timezone identifier. We selected 'Europe/Berlin' for
'CET/1.0/no DST' instead in /xyz/xyz/xyz/htdocs/joomla/administrator/components/com_xcloner-backupandrestore/classes/mysqlBackup.class.php on line 54

and as the routine is trying to start dump the db:

Details: parsererror -- Invalid JSON:

Strict Standards: date(): It is not safe to rely on the system's
timezone settings. You are *required* to use the date.timezone setting
or the date_default_timezone_set() function. In case you used any of
those methods and you are still getting this warning, you most likely
misspelled the timezone identifier. We selected 'Europe/Berlin' for
'CET/1.0/no DST' instead in /xyz/xyz/xyz/htdocs/joomla/administrator/components/com_xcloner-backupandrestore/classes/mysqlBackup.class.php on line 54

Any idea how to fix that? For several reasons I can't / wouldn't like to switch back to PHP5.2.

Is there a chance for an update of XCloner?

Best, boschma

January 25, 2013
11:17 pm
Avatar
Ovidiu Liuta
Admin
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

Check here http://forums.powweb.....?t=82493 , it should help!

January 26, 2013
12:57 am
Avatar
Boris
New Member
Members
Forum Posts: 2
Member Since:
January 25, 2013
sp_UserOfflineSmall Offline

Thanks for prompt support – it works 😉

Best, boschma

 

Just for others (and my way is not the elegant one … ^^)

add

date_default_timezone_set('Europe/Berlin');

or

date_default_timezone_set('America/Los_Angeles');

or ...

in

/administrator/components/com_xcloner-backupandrestore/classes/mysqlBackup.class.php

54 date_default_timezone_set('Europe/Berlin');
55 $date = date("M j, Y @ H:i:s");

and within

/administrator/components/com_xcloner-backupandrestore/admin.cloner.html.php

1105 <?php
1106 date_default_timezone_set('Europe/Berlin');
1107 $k = 0;
1108    for ($i=0; $i <= (count( $files )-1); $i++) {
1109      $date = date ("D jS M Y H:i:s (GMT O)", filemtime($path.'/'.$files[$i]));
March 12, 2013
9:20 am
Avatar
Jens
Member
Members
Forum Posts: 4
Member Since:
August 17, 2012
sp_UserOfflineSmall Offline

Boris!

Many thanks for this very helpfull post!

It works now everything very fine!

 

BUT: @ Xcloner!

May you fix that very, very soon, I think - many ppl don't now how to manage this?!

Best regards, jrrabiCool

March 25, 2013
10:04 am
Avatar
ken
Member
Members
Forum Posts: 4
Member Since:
March 25, 2013
sp_UserOfflineSmall Offline

Hi, i'm getting similar error but on different page, really stuck on this one can does anyone have the same
problem, this started as soon as i moved to PHP 5.42. Would really
appreciate some help...Cry Regards Ken85

Strict Standards: date(): It is not safe to rely on the system's
timezone settings. You are *required* to use the date.timezone setting
or the date_default_timezone_set() function. In case you used any of
those methods and you are still getting this warning, you most likely
misspelled the timezone identifier. We selected 'Europe/Berlin' for
'CET/1.0/no DST' instead in /homepages/xx/xxxxxxxxx/htdocs/xxxxxxxx/administrator/components/com_xcloner-backupandrestore/cloner.functions.php on line 1314

Strict Standards: date(): It is not safe to rely on the system's
timezone settings. You are *required* to use the date.timezone setting
or the date_default_timezone_set() function. In case you used any of
those methods and you are still getting this warning, you most likely
misspelled the timezone identifier. We selected 'Europe/Berlin' for
'CET/1.0/no DST' instead in /homepages/xx/xxxxxxxxxx/htdocs/xxxxxxxx/administrator/components/com_xcloner-backupandrestore/cloner.functions.php on line 2032

Forum Timezone: America/Chicago
Most Users Ever Online: 867
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
mlguru: 30
Django29: 29
Andy: 21
D: 21
Marcus: 20
Jamie F: 19
Member Stats:
Guest Posters: 738
Members: 10030
Moderators: 2
Admins: 3
Forum Stats:
Groups: 3
Forums: 7
Topics: 2397
Posts: 8236
Newest Members:
Omar Vera
Moderators: TriP: 0, Steve Burge: 0
Administrators: Ovidiu Liuta: 2484, Victor Drover: 1, Valentin Barbu: 0