file_get_contents error
onderd - August 6, 2008 - 12:22
| Project: | Home (Real Estate) |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
my host(1and1) does not support file_get_contents function. i ve heard that i can turn it to curl. but i couldn't do that. how can i do that
i get always this error when i add a home or search a home:
* warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /homepages/6/d239740050/htdocs/property/modules/home/home.module on line 656.
* warning: file_get_contents(http://maps.google.com/maps/geo?q=ayd%C4%B1n&output=xml&key=ABQIAAAAg_Bu...) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /homepages/6/d239740050/htdocs/property/modules/home/home.module on line 656.

#1
Check out this site http://forum.thepollfactory.com/phpBB2/viewtopic.php?f=2&t=27 or http://it.toolbox.com/wiki/index.php/Switch_from_file_get_contents_to_curl They explain how to fix your problem with 1and1 by using curl instead. Best of Luck and let us know how is works out.
iCreate
#2
Automatically closed -- issue fixed for two weeks with no activity.