Error when running cron

Jochen Wendebaum - May 29, 2009 - 09:34
Project:Statistics Pro
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

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

#1

mr3dblond - May 31, 2009 - 06:28

Hi Jochen,

statspro requires PHP5. Switching from PHP4 to PHP5 should solve your problem.

cu

 
 

Drupal is a registered trademark of Dries Buytaert.