VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: reggaebkk on November 05, 2016, 16:00:10 PM

Title: Currencies not updating exchange rate
Post by: reggaebkk on November 05, 2016, 16:00:10 PM
Hi,

I'm updating this post because I have maybe found the problem but don't know the best way to solve it.

My currencies don't update I think because the cache file daily.xml is not updated when the cache is cleared nor is it ever auto-updated.

If I delete that file manually and reload the website then it is recreated and currencies are updated.

So I guess the problem is just that the cache system (joomla cache or jot cache because I tried both) doesn't delete nor update the daily.xml file.

So my solution will be to create a cron job to delete it every hour or so, but is there something I should know to find a solution that is less "home-cooking"? Why isn't daily.xml deleted or updated by the system if it's what's supposed to happen for exchange rates to be updated?


--------------------------------------------------
BELOW IS MY POST BEFORE i FOUND OUT ABOUT DAILY.XML, JUST IN CASE IT HELPS PEOPLE WITH THE SAME PROBLEM LOOKING FOR ANSWERS USING KEYWORDS IN GOOGLE:
--------------------------------------------------
"I have read the related posts (all I think), but nothing solves my problem.
Currencies seem to not get updated.

- I checked in the Admin/cache/vm/currencies/....4d1f4d8403e63461a9a.php and the currency file timestamp is updated but the rates remain the same in the cache file.
- The currencies are listed in that file as well as daily.xml.
- I checked the page http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml, currencies have updated there but not on my site nor in the cache files.
- I tried with joomla cache enabled or disabled, clearing cache deletes the file and then it is recreated, all good there I guess.
- The currencies values are set properly at 0.000 in the config.
- "Select a currency converter module" is properly set to convertECB.php.
- All works savvy in the whole virtuemart website, but currencies are still not updated for product prices for the past 100 hours after installation.
- I've also whitelisted the IP 104.91.187.199 which seems to be the ECB's update IP, so it's not my firewall either... I also pinged and traceroute that IP and all seems fine.


So unless there is a place I repeatedly overlooked to enable currency conversion rates update, what can be going wrong please?

I there a cron job I have to setup? I didn't see anything about it anywhere... "

The website is http://www.i-gems.com (http://www.i-gems.com)

Title: Re: Currencies not updating exchange rate
Post by: Milbo on November 11, 2016, 22:11:09 PM
Maybe wrong file permissions?not allowed to delete files for security reasons?
Title: Re: Currencies not updating exchange rate
Post by: roman5527 on October 20, 2018, 13:39:28 PM
i have this problem too , did you manage to resolve it?

thanks
Title: Re: Currencies not updating exchange rate
Post by: GJC Web Design on October 20, 2018, 14:38:44 PM
Forum search??  See http://forum.virtuemart.net/index.php?topic=140909