Closed (won't fix)
Project:
erp
Version:
master
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
7 Jul 2006 at 08:30 UTC
Updated:
7 Dec 2006 at 23:25 UTC
Hi:
I have downloaded the cvs version (7/7/2006) but when I go to admin/modules to enable it, the page is blank.
On the logs I can see:
PHP Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /Applications/MAMP/htdocs/drupal/sites/default/modules/erp/asset/asset.module on line 1214
As you can see I'm using MAMP (OSX), and 4.7.0 modules when available (not cvs).
I have only installed the modules recommended in the erp-README:
actions, workflow, dba, event, jstools, og, urlfilter, views
There is another bug report on T_OBJECT_OPERATOR but I didn't understand if it was fixed or not.
Thanks in advance!
Comments
Comment #1
jax commentedI'm having the same problem and it is caused by using PHP4. PHP4 does not support method/property chaining with objects. While browsing the code it looks like the author used chaining extensively and might thus require PHP5.
What are the plans for drupal 5.0. Will it still support PHP4? If it doesn't and the ERP module is scheduled for drupal 5 (4.8?) it is unnecessary to support PHP4. Maybe the author can chime in?
Comment #2
mjolley@buy-hot.com commentedI removed the asset directory and the rest works ok. I've been getting this error with things other than erp, or even Drupal, so I'm seriously considering upgrading to php5.
Comment #3
mjolley@buy-hot.com commentedRenamed.
Comment #4
singularoThe asset module is being orphaned due to to many problems when running the javascript that collects data from the PC. If anybody wants to pick it up, I'll happily keep it as part of the erp package, but we wont be doing any more development ourselves at this stage.