Hi, Just downloaded mb. Get the following error from the command below:

aegir@xyz:...$ drush mb clockmein menu cron --write
Parse error: syntax error, unexpected T_STRING in .../module_builder/Task/Generate.php on line 8
Drush command terminated abnormally due to an unrecoverable error. [error]
Error: syntax error, unexpected T_STRING in .../module_builder/Task/Generate.php, line 8

Downloaded 30th July, 2013 @ around 8:30am BST

Comments

mshepherd’s picture

same error when accessing admin/modules/module_builder

joachim’s picture

Status: Active » Postponed (maintainer needs more info)

I've recently added use of namespaces to Module Builder, and that's what your system is choking on.

Namespaces are new to PHP 5.3. What version of PHP are you using?

mshepherd’s picture

Ah, 5.2.
Little chance of upgrading in the immediate future.

joachim’s picture

Title: PHP parse error in generate.php » No longer works with PHP 5.2
Status: Postponed (maintainer needs more info) » Closed (works as designed)

PHP 5.2 has been unsupported since 6 Jan 2011... http://www.php.net/eol.php

You can roll back to commit 171de59665ea497d7f2dcfcb52e2ec0b5c0e3537 -- that's the last one before I added namespaces.

mshepherd’s picture

Thanks for the tip.