<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — exchange-rates.org update]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=10708&amp;type=atom" />
	<updated>2026-03-24T14:44:12Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=10708</id>
		<entry>
			<title type="html"><![CDATA[Re: exchange-rates.org update]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=43846#p43846" />
			<content type="html"><![CDATA[<p>There now seems to be a Cloudflare check before exchange rates are given, causing a delay of 1 or 2 seconds.</p><p>Which means that FA is not getting exchange rates from exchange-rates.org.</p><p>Any ideas of a workaround for this?</p>]]></content>
			<author>
				<name><![CDATA[ckrosco]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=1158</uri>
			</author>
			<updated>2026-03-24T14:44:12Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=43846#p43846</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: exchange-rates.org update]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=43838#p43838" />
			<content type="html"><![CDATA[<p>Fixed and committed to stable repo. Thanks @boxygen.</p><p>joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2026-02-26T13:39:24Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=43838#p43838</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: exchange-rates.org update]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=43837#p43837" />
			<content type="html"><![CDATA[<p>Cool @boxygen,</p><p>I will fix this asap too <img src="https://frontaccounting.com/punbb/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2026-02-26T10:27:10Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=43837#p43837</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: exchange-rates.org update]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=43836#p43836" />
			<content type="html"><![CDATA[<p>EXCHANGE-RATES.ORG can also fetch historical rates</p><div class="codebox"><pre><code>elseif ($provider == &#039;EXCHANGE-RATES.ORG&#039;)
    {
        if ($date != Today())
            $filename = &quot;/exchange-rate-history/{$curr_b}-{$curr_a}-&quot;.date2sql($date);
        else
            $filename = &quot;/converter/{$curr_b}-{$curr_a}&quot;;
        $site = &quot;exchange-rates.org&quot;;
        $proto = &#039;https://&#039;;
        $contents=file_get_contents($proto.$site.$filename);

    
    }</code></pre></div>]]></content>
			<author>
				<name><![CDATA[boxygen]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=20175</uri>
			</author>
			<updated>2026-02-23T21:03:14Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=43836#p43836</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: exchange-rates.org update]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=43832#p43832" />
			<content type="html"><![CDATA[<p>This has been fixed and committed. The stable repo is updated.</p><p>Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2026-02-09T23:56:09Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=43832#p43832</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: exchange-rates.org update]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=43830#p43830" />
			<content type="html"><![CDATA[<p>I will fix this asap.</p><p>Thanks for detecting this!</p><p>Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2026-02-08T15:50:05Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=43830#p43830</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: exchange-rates.org update]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=43827#p43827" />
			<content type="html"><![CDATA[<p>Nice catch.</p>]]></content>
			<author>
				<name><![CDATA[trafficpest]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=42061</uri>
			</author>
			<updated>2026-02-06T15:52:15Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=43827#p43827</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[exchange-rates.org update]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=43826#p43826" />
			<content type="html"><![CDATA[<p>Since the end of January 2026 I have not been able to retrieve exchange rates from exchange-rates.org</p><p>It seems they&#039;ve changed their URL.</p><p>This seems to fix it:</p><p>gl/includes/db/gl_db_rates.inc</p><p>line 168 change:</p><div class="codebox"><pre><code>$filename = &quot;/converter/{$curr_b}/{$curr_a}/1&quot;;</code></pre></div><p>to:</p><div class="codebox"><pre><code>$filename = &quot;/converter/{$curr_b}-{$curr_a}&quot;;</code></pre></div><p>Starting line 166 this section will be:</p><div class="codebox"><pre><code>elseif ($provider == &#039;EXCHANGE-RATES.ORG&#039;)
    {
        //$filename = &quot;/converter/{$curr_b}/{$curr_a}/1&quot;;
        $filename = &quot;/converter/{$curr_b}-{$curr_a}&quot;;
        $site = &quot;exchange-rates.org&quot;;
        $proto = &#039;https://&#039;;
        $contents=file_get_contents($proto.$site.$filename);
    }</code></pre></div>]]></content>
			<author>
				<name><![CDATA[ckrosco]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=1158</uri>
			</author>
			<updated>2026-02-05T16:48:59Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=43826#p43826</id>
		</entry>
</feed>
