New Zenner
- Join Date:
- Nov 2007
- Posts:
- 40
- Plugin Contributions:
- 0
Post #1 by froldao
I've had a problem and my website was off for a few days.
My ISP runs PHP 5.3.
My ISP people told me that in order to correct the errors they made changes to:
/includes/functions/functions_general.php
and
/admin/includes/functions/general.php
The changes were:
if (!function_exists('date_diff')){
function date_diff($date1, $date2) {
//$date1 today, or any other day
//$date2 date to check against
$d1 = explode("-", $date1);
$y1 = $d1[0];
$m1 = $d1[1];
$d1 = $d1[2];
$d2 = explode("-", $date2);
$y2 = $d2[0];
$m2 = $d2[1];
$d2 = $d2[2];
$date1_set = mktime(0,0,0, $m1, $d1, $y1);
$date2_set = mktime(0,0,0, $m2, $d2, $y2);
return(round(($date2_set-$date1_set)/(606024)));
}
}
Now I can see the webshop and the admin but not products, for instance here: http://atxilipu.com/_zen-cart/index.php?main_page=index&cPath=1&language=en
And now the ISP people are saying that I need to upgrade my Zencart to a higher version, since the actual is not compatible with PHP 5.3.
I'm ok to do that, even thought it is a lot of work and trouble. But my question is, what about all the changes I have made over the years to so many Zencart files? Configurations and so on. How do I get them back?
Any help will be apreciated!