When tying to enable the Lingwo modules on fresh Drupal installation, I got blank screen.
Trying to enable modules with Drush gave me this error(s):
PHP Fatal error: Call-time pass-by-reference has been removed in /home/localhost/drupal6/sites/all/modules/lingwo/includes/misc.inc on line 79
I've deleted all "&" in front of "$" in the misc.inc file and was able to enable the modules.

After enabling I've came across the following error (displayed in Lingwo settings):
strict warning: Only variables should be assigned by reference in /home/localhost/drupal6/sites/all/modules/lingwo/lingwo_senses/lingwo_senses.admin.inc on line 9.
Again, deleting "&" removed the error message.

Comments

dsnopek’s picture

Status: Active » Fixed

Sorry for not responding! I don't know how I missed this issue when you first posted it. :-/

What version of PHP are you using?

Lingwo requires PHP 5.3, so if you're using 5.2 or lower, there's going to be problems. One of the major changes in 5.3 had to do with how passing arguments by reference worked.

I've updated all the .info files to include 'php = 5.3' so people using lower versions should see an error.

I'm going to close this issue for now - but if someone else has this problem and is using PHP 5.3, feel free to re-open it.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.