Parse error on line 32

fran-k - January 17, 2008 - 13:33
Project:G2 Glossary
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

After I have installed an activated the module I'll get a white page with the following Message:

Parse error: parse error, unexpected ',', expecting '(' in /var/www/vhosts/*****/httpdocs/sites/all/modules/g2/g2.module on line 32

I have to delete the g2 from the webspace to get rid off this message.

#1

fgm - January 17, 2008 - 21:41
Status:active» postponed (maintainer needs more info)

Thanks for the report.

Can you confirm which version of PHP you are using ? In branches 5.x/6.x, this module needs PHP 5.x, and an error on line 32, which is the first line needing PHP5.x in the file, seems to imply you are using PHP 4.x.

BTW, as you have probably noticed from the various warnings during install/enable of the module, this version is unsupported. I suggest you try the new version committed tonight, as it includes a check for the PHP version, along with various minor fixes.

#2

fgm - January 22, 2008 - 08:01
Status:postponed (maintainer needs more info)» fixed

No answer after 5 days, assuming user was using PHP4.x in spite of the installation instructions.

Feel free to reopen.

#3

Anonymous (not verified) - February 5, 2008 - 08:12
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.