Forum
Welcome, Guest
  • Page:
  • 1

TOPIC: Failed to open stream

Failed to open stream 2 years, 11 months ago #225

I have followed the install directions and have almost everything working. My only problem is the map doesn't display with the search results...just a bunch of errors.

This is the error I see:

Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in D:\Hosting\xxxxxxx\html\GoogleMapAPI.class.php on line 1343

The code at line 1343 is:

return file_get_contents($url);

Environment:

Joomla 1.5.10
Sobi2 RC 2.9.1.0
GoDaddy shared hosting


Maybe this is a simply fix that I am completely overlooking?

Thanks in advance for your help.

Re:Failed to open stream 2 years, 11 months ago #226

  • jerry
  • OFFLINE
  • Moderator
  • Posts: 407
The Google Map API requires that the following setting be in your PHP configuration:

allow_url_fopen On

Some servers (we have only encountered 1 other) do not have that setting turned on. You either have to get them to turn it on or figure out how your server setup allows for overriding PHP settings and do it there.

Jerry

Re:Failed to open stream 2 years, 11 months ago #228

Thanks for the quick reply Jerry!

Looks like GoDaddy turned this option off...bummer.. and I am sure their customer support will give me the default "no" when I ask them how to override.

I'll try to figure out how to override or just switch to the lat/long option.

Thanks!
  • Page:
  • 1
Moderators: jasper, nicholas, henry, jerry
Time to create page: 0.48 seconds

Login