This module requires PHP5 but doesn't say so?

dww - January 9, 2008 - 01:36
Project:Open Flash Chart API
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

I tried enabling this module on a D6 test site, to try out some new update.module functionality and fixes I'm working on (http://drupal.org/node/197186). As soon as I enabled it, I was getting syntax errors like so:

Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in .../sites/all/modules/open_flash_chart_api/open_flash_chart_api.module on line 83

My site is PHP 4.4.7. I'm guessing this module depends on PHP5. If so:

A) You should clearly state this on the project node.
B) The .info file should specify this requirement. See http://drupal.org/node/114774#info-php

Thanks,
-Derek

#1

redndahead - February 23, 2008 - 18:41

Sorry for the delay. The issue with PHP4 has been fixed. It should show up in the next dev release. At least in version 6.x Unfortunately I'm having issues releasing the 5.x dev.

#2

redndahead - February 23, 2008 - 18:41
Status:active» fixed

#3

Anonymous (not verified) - March 8, 2008 - 18:42
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.