Board Logo

line 403 calendar.php error fixed?
thanhnguyen - 6/11/2005 at 05:09 AM

I got this error after log in admin cpanel

Fatal error: Call to a member function on a non-object in /home/polestar/public_html/train_ticket_status/cl_files/calendar.php on line 403

and this is the code:
+++++++++++++++++++++++++++++++++++++++++++
$cur_time = mktime(0, 0, 0, $this->a_selected_date['m'], $d, $this->a_selected_date['y']);
$d = date('j', $cur_time);
$m = date('m', $cur_time);
$y = date('Y', $cur_time);
$ar = $this->events_class->short_item($d, $m, $y); <<< this line 403
$cset = $this->events_class->get_cell_settings($d, $m, $y);
if(is_array($ar)) {
$cbgc = $cset[0];
$cbgi = $cset[1];
$calign = $cset[2];
foreach($ar as $k=>$v) $ar_v[]=$v->title;
if(is_array($ar_v))$str = join($this->a_template['is_show_title']?"<br>":"n", $ar_v);
+++++++++++++++++++++++++++++++++++++

how to fix it? Please post


cmacalvary - 12/1/2005 at 10:33 PM

Which one is line 403?


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/