This topic is locked

error with 5.3b

10/8/2010 1:11:28 AM
Calendar Template general questions
S
smith author

still in build 6533 it shows

Fatal error: Call to undefined function dbvalue2time() in \include\calmonthly_events.php on line 596

but works fine in v 5.2 PHPR

smith

A
ann 10/8/2010

Smith,
templates pack isn't fully compatible with the latest version yet.

We're working on the update.

Also it could happen if you modified events manually (and delete the function).

Meanwhile you can add the function manually to the After application initialized event:

function dbvalue2time($value)

{

$t = "";

if ($value!="")

{

$tm1 = localtime(strtotime($value));

$arr = array(0,0,0,$tm1[2],$tm1[1],0);

$t = str_format_time($arr);

}

return $t;

}