Drush commands on sites using mongodb-dev doesn't work due php parse error.

PHP Parse error: parse error in /path/to/sites/all/modules/contrib/mongodb/mongodb_migrate/mongodb_migrate.drush.inc on line 69

Patch will come on comment.

Files: 
CommentFileSizeAuthor
#1 drush-php-parseerror-1918156-1.patch652 bytesexlin
Test request sent.
[ View ]

Comments

Status:Active» Needs review
StatusFileSize
new652 bytes
Test request sent.
[ View ]

Status:Needs review» Needs work

Ah, thats no better. sorry, i also need to do more proper testing and reading ;)

Ok, so noticed that you actually fixed issue but todays dev build had still issue there.

Tho i still keep getting php errors when using drush.

PHP Fatal error:  Class 'Mongo' not found in /path/to/sites/all/modules/contrib/mongodb/mongodb.module on line 34
Drush command terminated abnormally due to an unrecoverable error.   [error]
Error: Class 'Mongo' not found in
/path/to/sites/all/modules/contrib/mongodb/mongodb.module,
line 34
Drush was not able to start (bootstrap) Drupal.                      [error]
Hint: This error can only occur once the database connection has
already been successfully initiated, therefore this error generally
points to a site configuration issue, and not a problem connecting to
the database.

Status:Needs work» Closed (fixed)

Ok, this happends only on my mac currently. When trying on dev-stack (LAMP on virtualbox) it works fine so i would say issue closed. Cheers!

Version:7.x-1.x-dev» 7.x-1.0-rc2

I've recognised the same error an a debian installation with the stable release 7.x-1.0-rc2.

Any solutions?