Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Unable To Update Currency


bitznbytes

Recommended Posts

Posted

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

  • 2 weeks later...
Posted
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.

Posted
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.

Posted
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?

  • 11 months later...
Posted

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

  • 4 weeks later...
Posted
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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...