Zen Cart Logo
Forums / Currencies & Sales Taxes, VAT, GST, etc. / Currency Update Goes to All Zeros

Currency Update Goes to All Zeros

Locked

Views: 2,006

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
19 Feb 2008, 5:00 PM
#1
soxophoneplayer avatar

soxophoneplayer

Totally Zenned

Join Date:
Feb 2008
Posts:
534
Plugin Contributions:
0

Currency Update Goes to All Zeros

I'm building new storefront. Newbie. Canada. US$default. Accepting multi currencies.

Initial testing, the update currencies generated one error line per currency, then a second green line indicated the update had been successfuly performed, and the new rates showed on the table.

Yesterday, on further testing, I got several redline errors per currency, then a green line of success statement per currency but all currencies on the table went to zero. Have tried update several times with same result.

I don't know if its relevant: I made change on tpl_modules_create_account.php, cutting and pasting the code for 'country' to above the code for 'state/province'. This was to eliminate error message when filling in state/province before country and then being redirected to a newly appeared drop down list with the states/provs for which ever country was entered. This change that I made worked on testing. (Not that this was such a big deal but I didn't want a new customer to start off with an error message when creating an account.)

In case this change somehow impacted on the currency thing I put back the original file, but the currency error still occurs. (So I put my changes back).

Only other info I can think of - the cart is on Dreamhost and the pages have been slow to load past 48 hours. I don't have a database yet other than 4 test items.

19 Feb 2008, 5:34 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Currency Update Goes to All Zeros

The failure to update will not be related to any changes you make to your storefront templates.

The slow communication could be the cause of zero values.

You may have to set your currency rates manually.
You can go to https://www.xe.com to find average rates.

15 Dec 2008, 1:13 PM
#3
moonchild avatar

moonchild

New Zenner

Join Date:
Dec 2008
Location:
Switzerland
Posts:
5
Plugin Contributions:
0

Re: Currency Update Goes to All Zeros

I think the zeroes have something to do with this:
"Fatal error: Call to undefined function curl_init() in ...zen/extras/curltest.php on line 28"
If the curl_init isn't working, can the currency update work???

18 Dec 2008, 5:38 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Currency Update Goes to All Zeros

If your host has allow_url_fopen disabled AND has no CURL support installed, then your server is unable to connect to external services, and you should be looking for another hosting company.