Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Programming/Scripts

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
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:
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
Old 29th March 2012, 16:17
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts

Does the last calendar entry look like the others, or is there anything special (special characters, etc.) about it?
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Old 30th March 2012, 10:19
sjau sjau is offline
Local Meanie
Join Date: Apr 2006
Location: Switzerland
Posts: 1,158
Thanks: 4
Thanked 58 Times in 54 Posts

if I may ask:

What do you need simple Groupware for? I've been using Horde 4 for some time and it works great.. the "webmail" install installs a webmail, calendar, todo and contacts tool that can by synchronized with syncml/active sync on cell phones.

I finally got it also running on ISPC 3 and if you want, I could write a little howto.
"Common sense is not as common as commonly believed" by sjau

Auto-Install Script for ISPConfig and Horde on a Vanilla Debian Stable

Need more Repos for Ubuntu? Repository Generator
Need more Repos for Debian? Debian Repository Generator
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
table lookup problem aurelius Installation/Configuration 5 2nd November 2011 20:12
Apache boot problem / GlusterFS loading stefanm Installation/Configuration 2 9th August 2011 15:25
Strange email problem for one of my domains... any help appreciated paulrobert_a Installation/Configuration 5 9th August 2010 15:15
BIG Problem Postfix issue admins Installation/Configuration 11 13th November 2009 11:05
TLS Problem admins Installation/Configuration 1 19th September 2009 11:55

All times are GMT +2. The time now is 07:20.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.