1&1 hosting - Get File Contents Error

Feed 3 posts, 2 voices

Avatar
3 posts

Every plugin has this error in the Admin panel:

Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /homepages/26/d120294364/htdocs/frog/frog/app/models/Plugin.php on line 183
Warning: file_get_contents(http://www.madebyfrog.com/plugin-versions.xml) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /homepages/26/d120294364/htdocs/frog/frog/app/models/Plugin.php on line 183
error

from the 1and1 FAQ: Please note that in contrast to PHP 4, the default for the variable RegisterGlobals and allow_url_fopen is “off”.

I’ve tried creating a php.ini file (as 1and1 suggests, and added

allow_url_fopen = On

but that doesn’t work.

What other options are there? I read somewhere that curl is a better option… ?

Surely, 1and1 can’t be the ONLY host with fopen disabled….

 
Avatar
651 posts

In config.php:

define('CHECK_UPDATES', true);

Change to false. Note: this is for Frog 0.9.5