Closed (fixed)
Project:
Statistics Pro
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
29 May 2009 at 09:34 UTC
Updated:
11 Jun 2010 at 13:00 UTC
I just installed the statspro module and all the necessary other modules, and when running cron, the following came up:
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /var/www/virtual/machine-control.org/htdocs/sites/all/modules/statspro/statspro.inc on line 12
Comments
Comment #1
alexandermeindl commentedHi Jochen,
statspro requires PHP5. Switching from PHP4 to PHP5 should solve your problem.
cu
Comment #2
rsevero commentedIncluded php version requirement in statspro.info file with commit http://drupal.org/cvs?commit=371426.
Comment #3
rsevero commented