I'm using Drupal 5.1 on FreeBSD 6.1 using Apache 2.2.4, PHP 5.2.1 and MySQL 5.1.16. I installed WebCalendar 1.1.2 and it works just fine on it's own. However, when I try to access it through the integration module I get the error - Notice: Undefined offset: 1 in /usr/local/www/bwsd/webcalendar/includes/user-app-drupal.php on line 222. Even with the error the calendar will display correctly unless I'm logged on as admin. If I'm logged on as admin I get the additional error of Notice: Undefined offset: 1 in /usr/local/www/bwsd/webcalendar/includes/user-app-drupal.php on line 275 along with the first error and the calendar is all jumbled.

Any suggestions?

Comments

jaredwiltshire’s picture

Seems like your configuration doesnt like this php command:

list($fname, $lname) = split (" ",$row[1]);

I'll look into it.

jaredwiltshire’s picture

Status: Active » Fixed

Fixed in CVS

Anonymous’s picture

Status: Fixed » Closed (fixed)
brentratliff’s picture

I have the same issue with the latest Beta release running on Apache 1.3 MacOSX with Drupal 5.1 and WebCalendar 1.1.2. If I use the original user.php in settings.php from webcalendar it works without the session login passing and displays correctly but changing it to user-app-drupal.php causes these errors but the login works. Thanks.

brentratliff’s picture

Status: Closed (fixed) » Active

Is there a fix to the user-app-drupal.php that addresses this issue? Is it my PHP settings in apache? Thanks. I am unfamiliar with CVS. Right now I'm running it as advertised with the exception of leaving 'user_inc: user.php' instead of 'user_inc: user.php'. At least this way it's in drupal even if I have to login twice. Thanks, great module.

brentratliff’s picture

sorry, make that 'user_inc: user.php' in settings.php instead of 'user_inc: user-app-drupal.php'

duaelfr’s picture

Status: Active » Closed (won't fix)

This version of WebCalendar integration is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.

This issue has been automagically closed by a script.