View Single Post
  #1  
Old 28th March 2012, 16:36
gdhia gdhia is offline
Junior Member
 
Join Date: Mar 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default problem with Simple Groupware

Hello every body,

As i'am working on a simple groupware i've installed on a remote server, and after 16 calendar entries, i suddently have the error:
Fatal error: Cannot use string offset as an array in .../cspace/httpdocs/bin/core/classes/date.php on line 362

The error appears only when trying to access the Calendar folder.

the correspondant line is:
Quote:
if ($type=="month" or $type=="year" or $type=="gantt") {
$daylabels = array();
foreach ($days as $today) {
$then = $today+86399;
$today_arr = sys_getdate($today);
foreach ($t["data"] as $item) {
$item_start = $item[$fields[0]]["data"][0];
$item_end = $item[$fields[1]]["data"][0]; <<<<-------------------------
if (!isset($fields[3])) {
$item_until = 0;
$item_allday = 1;
$item_recurrence = "";
$item_interval = 1;
$item_exclusions = "";
Can any one of you help me resolve this problem please?

Thank you
Reply With Quote
Sponsored Links