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 |
Jump to:
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
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.