Closed (won't fix)
Project:
Message 2 Log
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
3 Aug 2009 at 22:18 UTC
Updated:
4 Aug 2009 at 12:58 UTC
Parse error: syntax error, unexpected '&', expecting T_VARIABLE or '$' in /var/.../all/modules/msg2log/msg2log.module on line 72
Error received in a multilingual site. Had to remove module to get the site back.
Comments
Comment #1
kenorb commentedAre you using PHP4? ;(
Sorry, I've used PHP5 syntax.
Probably I'll not make support for PHP4 syntax (it could be quite complicated). I'm not using currently PHP4, so if you really want to use this module under PHP4, you should patch it by your-self.
Sorry for any problems caused by that.
http://drupal.org/requirements
Comment #2
kenorb commentedComment #3
jenpasch commentedthanks, should've guessed that.
Comment #4
kenorb commentedSome of the function could be emulated by php4 module (http://drupal.org/project/php4).
But not for the syntax.
What's the problem of upgrading to PHP5? Maybe I could help.
If it's the shared hosting, they should allow you to change the version of PHP.