Closed (fixed)
Project:
Currency
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Apr 2007 at 08:03 UTC
Updated:
8 Feb 2012 at 12:21 UTC
I got following error and failed to get any exchange rate information.
* warning: file_get_contents(): URL file-access is disabled in the server configuration in /home/kseauk.org/public_html/sig-p/modules/currency/currency_api/currency_api.module on line 126.
* warning: file_get_contents(http://finance.yahoo.com/d/quotes.csv?e=.csv&f=sl1d1t1&s=GBPKRW=X): failed to open stream: no suitable wrapper could be found in /home/kseauk.org/public_html/sig-p/modules/currency/currency_api/currency_api.module on line 126.
currency exchange error: currency: cannot contact Yahoo Finance host
Comments
Comment #1
kbahey commentedThis is a problem with your hosting server.
They do not allow PHP to open socket connections to remote hosts.
So, it is not a module problem.
Comment #2
nuno.alexandre commentedHi,
any suggestion how to solve this if the machine its hosted at home ?
Comment #3
kbahey commentedIt depends on the Linux distro (or Windows?) that you are using.
Check this page http://www.php.net/file_get_contents and that page http://www.php.net/manual/en/ref.filesystem.php#ini.allow-url-fopen
Comment #4
muthu22 commentedHi,
This is not a server problem now server update is going on after that it will work without any problem.This depending upon some software's like java, Linux... Thanks for sharing. Cheers..........
------------------------
Muthu
MLS