The Embedded Media Thumbnail and Embedded Image contrib modules both use the file_get_contents() function to retrieve files via external URLs. This creates a "URL file-access is disabled in the server configuration" error in some PHP configurations, and enabling URL file access can create a security issue.

The file_get_contents() function calls should therefore be replaced with drupal_http_request() function calls.

Comments

sheldon rampton’s picture

StatusFileSize
new1.6 KB

Here's a patch that should address the problem.

aaron’s picture

Status: Active » Fixed

fixed; thanks @sheldon

Status: Fixed » Closed (fixed)

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