Download & Extend

Parse error: parse error, unexpected T_CONST

Project:Taxonews
Version:5.x-1.0
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (duplicate)

Issue Summary

I just installed Taxonews on my Drupal 5.2 site, and this error appeared. I had to manually disable the module in the database.

Parse error: parse error, unexpected T_CONST, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /vol1/Services/webserver/codebase/drupal/modules/5/taxonews/taxonews.module on line 38

Comments

#1

Category:bug report» support request
Priority:critical» normal
Status:active» closed (duplicate)

It looks like you have not checked the module prerequisites.

Specifically, which version of PHP are you using ? The module requires PHP > 5

See http://drupal.org/node/170063 for details.