Author Topic: Currencies not updating exchange rate  (Read 1491 times)

reggaebkk

  • Beginner
  • *
  • Posts: 19
  • Website Designer in Cambodia
    • Khmer-Dev, Web Design in Cambodia
  • VirtueMart Version: V3
Currencies not updating exchange rate
« 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


Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9853
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Currencies not updating exchange rate
« Reply #1 on: November 11, 2016, 22:11:09 pm »
Maybe wrong file permissions?not allowed to delete files for security reasons?
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

roman5527

  • Jr. Member
  • **
  • Posts: 147
Re: Currencies not updating exchange rate
« Reply #2 on: October 20, 2018, 13:39:28 pm »
i have this problem too , did you manage to resolve it?

thanks

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8891
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.4.2
Re: Currencies not updating exchange rate
« Reply #3 on: October 20, 2018, 14:38:44 pm »
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation