JEvents 1.4

ERROR: EventCalendarCell_default::

Postby fxholic » Fri May 09, 2008 11:56 pm

Hi,

I am getting the following error when I open a day on which some event is present. This error is showing up in the same cell in which event is present but above the event listing, everything seems to be working fine.

Please suggest some solution to get rid of this problem, thanks.


Warning: Missing argument 2 for EventCalendarCell_default::EventCalendarCell_default(), called in /home/hunny8882/public_html/components/com_events/layouts/geraint/eventsView.php on line 77 and defined in /home/hunny8882/public_html/components/com_events/layouts/default/events_calendar_cell.php on line 18
fxholic
 
Posts: 8
Joined: Fri Apr 11, 2008 7:20 am

Postby Thomas » Sat May 10, 2008 5:35 am

Replace in components/com_events/layouts/geraint/eventsView.php in function _detailList() the line:
Code: Select all
$ecc = new $eventCellClass($row);

by
Code: Select all
$ecc = new $eventCellClass($row, $this->datamodel);
Thomas
Site Admin
 
Posts: 611
Joined: Mon Feb 18, 2008 11:51 am

Postby fxholic » Sun May 11, 2008 9:48 pm

Hi,

Thanks the issue is resolved now!
fxholic
 
Posts: 8
Joined: Fri Apr 11, 2008 7:20 am


Return to JEvents 1.4

  • Who is online
  • View new posts
  • View unanswered posts
  • In total there are 0 users online :: 0 registered and 0 hidden (based on users active over the past 5 minutes)
  • Most users ever online was 94 on Tue Sep 01, 2009 12:33 am
  • Users browsing this forum: No registered users