error upon install

mdowsett - March 3, 2008 - 19:27
Project:Feemanager
Version:4.7.x-1.x-dev
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

I get this error after I copy the module to my site and try to go to the admim/modules page:

Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/webusers/russfretenburg/gmft.org/www/sites/default/modules/feemanager/feemanager.module on line 716

I cant' even see my list of modules (ie the feemanager module hasn' even been activated).

The rest of the site works fine.

Any idea of a fix?

#1

megabyteIsland.com - June 3, 2008 - 20:49

I had the same issue. Here's what I did.

Open the feemanager.module file and change line 733 (or in your case line 716) from:
$maxFid = db_fetch_object($result)->max;
to:
$maxFid = db_fetch_object($result->max);

This fixes the parse error.

Sam

(I should mention, I'm using Drupal 5.7)

 
 

Drupal is a registered trademark of Dries Buytaert.