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.
Reply
 
Thread Tools Display Modes
  #1  
Old 28th March 2012, 15: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
  #2  
Old 29th March 2012, 15:17
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Does the last calendar entry look like the others, or is there anything special (special characters, etc.) about it?
__________________
Falko
--
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
  #3  
Old 30th March 2012, 09:19
sjau sjau is offline
Local Meanie
 
Join Date: Apr 2006
Location: Switzerland
Posts: 1,146
Thanks: 4
Thanked 55 Times in 51 Posts
 
Default

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
Reply

Bookmarks

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 19:12
Apache boot problem / GlusterFS loading stefanm Installation/Configuration 2 9th August 2011 14:25
Strange email problem for one of my domains... any help appreciated paulrobert_a Installation/Configuration 5 9th August 2010 14:15
BIG Problem Postfix issue admins Installation/Configuration 11 13th November 2009 10:05
TLS Problem admins Installation/Configuration 1 19th September 2009 10:55


All times are GMT +2. The time now is 16:15.


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