This topic is locked

Fatal Error: dbvalue2time()

9/8/2010 11:19:20 AM
PHPRunner General questions
A
alandob author

Following on from thread http://www.asprunner.com/forums/topic/12608-fatal-error-undefined-function/pagehldbvalue2time%28%29fromsearch1 I am unable to resolve the error message and I keep getting:
Fatal error: Call to undefined function dbvalue2time() in D:\...\include\caldaily_events.php on line 687
I am using 5.2 (Build 5482) and Calendar Template 2010. This error only occurs with this template as far as I can see.
I did add the code discribed in the above thread, without any success:
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;
Many thanks

Sergey Kornilov admin 9/8/2010

You might be adding it to wrong place.
I recommend to post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program.