I'm a complete Drupal dummy (just started using it). However, I get errors when trying to Enable this module in 5.x. As soon as it is enabled, every Drupal page gives me the following error:

parse error: syntax error, unexpected T_CLASS in /home/toonstru/public_html/testDrupal/modules/og2mlm/og2mlm.module on line 1171

I have to FTP in and delete the directory in order to get my site working again.

Any idea what is going on/wrong?

Thanks very much

Comments

adixon’s picture

Status: Active » Closed (works as designed)

That line (1171) is:

abstract class abstract_og2mlm_connection {

so i'll hazard a guess that you're using PHP4. The nusoap code that his module uses required PHP5 - I'll update the documentation to make sure that's clearer.

Thanks.