Fatal error: Call to undefined function timezone_identifiers_list()

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',
    );
}

Thanks for the report. this is now fixed

[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.

Please download the latest.zip again, and the bug will be fixed.

I am still seeing the issue after downloading the updated zip.

The zip was probably cached in your proxy, try applying the patch manually

The bug was fixed in 1.0. If you still experience the issue, please let us know