Parse error: parse error, unexpected T_CONST

klance - October 24, 2007 - 19:12
Project:Taxonews
Version:5.x-1.0
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:duplicate
Description

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

#1

fgm - October 25, 2007 - 07:08
Category:bug report» support request
Priority:critical» normal
Status:active» 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.

 
 

Drupal is a registered trademark of Dries Buytaert.