I just downloaded and installed this module and upon installation, I get the error :

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of preg_match(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. in /public_html/web/sites/all/modules/encl_remote/encl_remote.module on line 296

which that line in the module file is as follows:
preg_match('/\.(\w*)$/', $url, &$m);

which is part of the function _encl_remote_mime_type($url, $default)

I removed the "&" character from the line and reinstalled. I did not get the error again.

Comments

ewlloyd’s picture

Assigned: Unassigned » ewlloyd

Thanks for that. It looks like your patch should run just fine. I'll have it fixed in the next release.

ewlloyd’s picture

Status: Active » Fixed

This has been fixed in 0.4.

ewlloyd’s picture

Status: Fixed » Closed (fixed)