News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Currencies not updating exchange rate

Started by reggaebkk, November 05, 2016, 16:00:10 PM

Previous topic - Next topic

reggaebkk

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


Milbo

Maybe wrong file permissions?not allowed to delete files for security reasons?
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

roman5527

i have this problem too , did you manage to resolve it?

thanks

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation