bitznbytes Posted March 21, 2008 Posted March 21, 2008 Hi, I'm getting the following error messages when I try and update my currencies in oscommerce: Warning Warning: The primary exchange rate server (oanda) failed for US Dollar (USD) - trying the secondary exchange rate server. Error Error: The exchange rate for US Dollar (USD) was not updated via xe. Is it a valid currency code? Warning Warning: The primary exchange rate server (oanda) failed for CAD Dollar (CAD) - trying the secondary exchange rate server. Error Error: The exchange rate for CAD Dollar (CAD) was not updated via xe. Is it a valid currency code? I've added the line: ini_set("allow_url_fopen","1"); into catalog\admin\includes\functions\localization.php but that did not make any difference. Anyone have any suggestions? Thanks, B
gunolcamlibel Posted April 1, 2008 Posted April 1, 2008 Hi, I'm getting the following error messages when I try and update my currencies in oscommerce:Warning Warning: The primary exchange rate server (oanda) failed for US Dollar (USD) - trying the secondary exchange rate server. Error Error: The exchange rate for US Dollar (USD) was not updated via xe. Is it a valid currency code? Warning Warning: The primary exchange rate server (oanda) failed for CAD Dollar (CAD) - trying the secondary exchange rate server. Error Error: The exchange rate for CAD Dollar (CAD) was not updated via xe. Is it a valid currency code? I've added the line: ini_set("allow_url_fopen","1"); into catalog\admin\includes\functions\localization.php but that did not make any difference. Anyone have any suggestions? Thanks, B I have the same problem after moving my site to a new host. Icoulnt solve my problem yet. But I think it is because of a permission problem.
Guest Posted April 1, 2008 Posted April 1, 2008 Hi, I'm getting the following error messages when I try and update my currencies in oscommerce:Warning Warning: The primary exchange rate server (oanda) failed for US Dollar (USD) - trying the secondary exchange rate server. Error Error: The exchange rate for US Dollar (USD) was not updated via xe. Is it a valid currency code? Warning Warning: The primary exchange rate server (oanda) failed for CAD Dollar (CAD) - trying the secondary exchange rate server. Error Error: The exchange rate for CAD Dollar (CAD) was not updated via xe. Is it a valid currency code? I've added the line: ini_set("allow_url_fopen","1"); into catalog\admin\includes\functions\localization.php but that did not make any difference. Anyone have any suggestions? Thanks, B Did it ever work? If it did, then my guess is that your webhost has restricted access. You could ask them if this is the case, but be specific about your problem.
gunolcamlibel Posted April 1, 2008 Posted April 1, 2008 Did it ever work? If it did, then my guess is that your webhost has restricted access. You could ask them if this is the case, but be specific about your problem. It never work for me. My host technicians said I have to use "fsockopen". is there anyone who can help how to solve currency updating problem?
gellnsh Posted March 24, 2009 Posted March 24, 2009 The solution is to insert this code into the .htaccess file in the catalog/ directory: php_flag allow_url_fopen on php_value max_execution_time 45 That should do the trick, good luck
countrystyle Posted April 20, 2009 Posted April 20, 2009 The solution is to insert this code into the .htaccess file in the catalog/ directory: php_flag allow_url_fopen on php_value max_execution_time 45 That should do the trick, good luck I tried that but now all I get is an internal server error (500) which I don't have otherwise.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.