The free forums are no longer in use. It remains available as read-only archive.
11:04 pm
January 25, 2013
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
Check here http://forums.powweb.....?t=82493Â , it should help!
12:57 am
January 25, 2013
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]));
10:04 am
March 25, 2013
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... 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
1 Guest(s)