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
On 18. 11. 2010 20:18, shawn wilson wrote:
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.
I have seen the same error when I upgraded php from 5.2 to 5.3. Downgrading back to 5.2 solved the problem. It seems some modules (among others calendar) are not compatible with php 5.3.x yet...
Jarry
On Thu, Nov 18, 2010 at 2:30 PM, Jarry mr.jarry@gmail.com wrote:
On 18. 11. 2010 20:18, shawn wilson wrote:
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.
I have seen the same error when I upgraded php from 5.2 to 5.3. Downgrading back to 5.2 solved the problem. It seems some modules (among others calendar) are not compatible with php 5.3.x yet...
i saw that here: http://drupal.org/node/613528
so, is there any alternative calendar module that i could use? i don't really want to downgrade php (at least not when i migrate this into production).
Jarry
-- _______________________________________________________________ This mailbox accepts e-mails only from selected mailing-lists! Everything else is considered to be spam and therefore deleted. -- [ Drupal support list | http://lists.drupal.org/ ]
You need to downgrade your php. Sorry, but it's what we all have to do. You've just hit the first roadblock of many you are about to encounter if you don't do this.
http://drupal.org/requirements
On 11/18/2010 02:48 PM, shawn wilson wrote:
On Thu, Nov 18, 2010 at 2:30 PM, Jarry <mr.jarry@gmail.com mailto:mr.jarry@gmail.com> wrote:
On 18. 11. 2010 20:18, shawn wilson wrote: > 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. I have seen the same error when I upgraded php from 5.2 to 5.3. Downgrading back to 5.2 solved the problem. It seems some modules (among others calendar) are not compatible with php 5.3.x yet...i saw that here: http://drupal.org/node/613528
so, is there any alternative calendar module that i could use? i don't really want to downgrade php (at least not when i migrate this into production).
Jarry -- _______________________________________________________________ This mailbox accepts e-mails only from selected mailing-lists! Everything else is considered to be spam and therefore deleted. -- [ Drupal support list | http://lists.drupal.org/ ]
If it was me, I would install a drupal site the "old fashioned way" and see if you get the same errors. I suspect you have some sort of permissions issue.
1. download latest tar at drupal.org 2. untar into your default apache folder more than likely /var/www for ubuntu if this is a fresh install and no other virtual hosts etc 3. create database in mysql 4. browse to yoururl.com and follow the onscreen instructions to complete installation
It's about a 5-10 minute process.
Ryan LeTulle
bayousoft.com http://www.bayousoft.com twitter.com/bayousoft http://www.twitter.com/bayousoft
On Thu, Nov 18, 2010 at 1:18 PM, shawn wilson ag4ve.us@gmail.com wrote:
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
-- [ Drupal support list | http://lists.drupal.org/ ]