Closed (won't fix)
Project:
Agenda
Version:
6.x-1.6
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Mar 2010 at 09:10 UTC
Updated:
12 Mar 2010 at 00:43 UTC
When I attempt to enable the module, I get this error message:
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /homepages/36/d105421224/htdocs/cms/modules/agenda/agenda.module on line 493
From what I can see, line 493 is just this:
$event['start timestamp'] = strtotime($gd->when->attributes()->startTime);
I am running Drupal 6.15, PHP 4.4.9.
What can be causing this problem? Thank you!
Eric Lee
Comments
Comment #1
aidanlis commentedHi Eric,
You'll need to upgrade to PHP5, this syntax "$gd->when->attributes()->startTime" is not supported in PHP4.
Cheers,