Closed (won't fix)
Project:
DITA integration for Drupal
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Oct 2011 at 21:26 UTC
Updated:
11 Oct 2011 at 17:57 UTC
Drupal 6.22 on PHP 5.2.10-2ubuntu6.5
Attempting to set up a test site with the DITA module, I receive the following error from the DITA Conversion Server:
Parse error: syntax error, unexpected T_FUNCTION in /home/jjkd/d6/drupal-6.22/sites/all/modules/dita/dita_conversion_server/dita_conversion_server.module on line 85
Comments
Comment #1
jjkd commentedOk, it looks to me as this is due to using PHP 5.3 syntax for an anonymous function. Not sure if the intent is to require PHP 5.3 for this project...
Comment #2
tamasd commentedPHP 5.2 is reached its end of life, which means that it does not get any offical bugfix or security fix. That is why we dropped the support of PHP 5.2.
Comment #3
jjkd commentedNo problem, I switched to PHP 5.3.2 which indeed got rid of the issue.
Should the requirement for PHP 5.3 be listed on the module info page?
http://drupal.org/node/993560