i'm new to drupal. i've installed the ubuntu package and gotten it up with apache and mysql. i tried installing a calendar module: http://drupal.org/project/calendar (which required date and view) which i copied to: /usr/share/drupal6/sites/all/modules where 'sites' is a symlink to /etc/drupal/6/sites when the packages are untarred, they have different different uid and gid, so i fixed that with a: chown -R root.root *
the packages show up in drupal under admin > site building > modules. however, i got an error when i enabled the modules (don't recall the exact error, but i'm thinking it is the same) and am now getting an error when i try to configure them. for instance, the error for view is: warning: Attempt to modify property of non-object in /etc/drupal/6/sites/all/modules/calendar/includes/calendar_plugin_display_page.inc on line 47.
this is the error i get under admin > site building > views btw.
it seems that i can still use these modules even with the warning. however, what is this about and how do i fix this? google seems to indicate that it might be a change in how newer php handles arrays?
so, i'm not sure if there is an issue with how or where i placed the modules, my version of php, or drupal or just the module. if it is the module, can someone offer suggestions to a good alternative?
root@swilson-laptop:/usr/share/drupal6# apache2ctl -v Server version: Apache/2.2.14 (Ubuntu) Server built: Sep 28 2010 12:52:38 root@swilson-laptop:/usr/share/drupal6# php5 --version PHP 5.3.2-1ubuntu4.5 with Suhosin-Patch (cli) (built: Sep 17 2010 13:41:55) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies root@swilson-laptop:/usr/share/drupal6# apt-cache show drupal6 | grep Version Version: 6.16-1 root@swilson-laptop:/usr/share/drupal6# cat /proc/version Linux version 2.6.32-25-generic (buildd@palmer) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #45-Ubuntu SMP Sat Oct 16 19:48:22 UTC 2010 root@swilson-laptop:/usr/share/drupal6# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 10.04.1 LTS Release: 10.04 Codename: lucid