Hi,
i’m using CentOS with PHP 5.1.6 and after updating of piwik to 0.9.9 i got this:
Fatal error: Call to undefined function timezone_identifiers_list() in /var/www/vhosts/*/httpdocs/st/core/Updates/0.9.1.php on line 21
How can i fix this?
This function is only avaiable when php was compiled with “-DEXPERIMENTAL_DATE_SUPPORT”.
greets
Was able to fix this problem.
I just add an dummy function above the main code:
function timezone_identifiers_list() {
return array(
'495' => 'Europe/Berlin',
);
}
matthieu
(Matthieu Aubry)
August 27, 2010, 6:43am
3
Thanks for the report. this is now fixed
earwax
(earwax)
August 27, 2010, 2:42pm
4
[quote=tongo91 @ Aug 27 2010, 06:33 AM]Was able to fix this problem.
I just add an dummy function above the main code:
function timezone_identifiers_list() {
return array(
'495' => 'Europe/Berlin',
);
}
[/quote]
What’s the identifier code for US/Pacific? I am having this problem even though matthieu claims it is fixed. For the time being, I just copied your ‘495’=>‘Europe/Berlin’, but not sure what effect this has, if any.
matthieu
(Matthieu Aubry)
August 28, 2010, 7:23am
5
What’s the identifier code for US/Pacific? I am having this problem even though matthieu claims it is fixed. For the time being, I just copied your ‘495’=>‘Europe/Berlin’, but not sure what effect this has, if any.
Please download the latest.zip again, and the bug will be fixed.
rharrison
(rharrison)
August 28, 2010, 7:49pm
6
I am still seeing the issue after downloading the updated zip.
matthieu
(Matthieu Aubry)
August 28, 2010, 8:10pm
7
The zip was probably cached in your proxy, try applying the patch manually
matthieu
(Matthieu Aubry)
August 28, 2010, 11:52pm
8
The bug was fixed in 1.0. If you still experience the issue, please let us know