<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — ECB URLs moved permanently]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=5316</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=5316&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in ECB URLs moved permanently.]]></description>
		<lastBuildDate>Mon, 17 Nov 2014 10:09:41 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: ECB URLs moved permanently]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=21483#p21483</link>
			<description><![CDATA[<p>This has now been fixed and HG repository default is update. Change goes to next minor release.</p><p>If you need a new file, you can download <a href="http://https:/sourceforge.net/p/frontaccounting/mercurial/ci/default/tree/gl/includes/db/gl_db_rates.inc">here</a> and replace it in folder /gl/includes/db folder</p><p>joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Mon, 17 Nov 2014 10:09:41 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=21483#p21483</guid>
		</item>
		<item>
			<title><![CDATA[Re: ECB URLs moved permanently]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=21475#p21475</link>
			<description><![CDATA[<p>I will have a look at this.</p><p>Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Sun, 16 Nov 2014 15:19:11 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=21475#p21475</guid>
		</item>
		<item>
			<title><![CDATA[ECB URLs moved permanently]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=21474#p21474</link>
			<description><![CDATA[<p>ECB Exchange rate provider (FA default 0) needs the following patch since the URL has been moved permanently and the IP has changed. </p><p>It is <strong>safe_mode</strong> setting that needed to be checked and not the non existent <strong>save_mode</strong> as listed.</p><div class="codebox"><pre><code>--- old/gl/includes/db/gl_db_rates.inc    Mon Sep 29 21:21:28 2014
+++ new/gl/includes/db/gl_db_rates.inc    Sun Nov 16 20:31:15 2014
@@ -112,7 +112,7 @@
     if ($provider == &#039;ECB&#039;)
     {
         $filename = &quot;/stats/eurofxref/eurofxref-daily.xml&quot;;
-        $site = &quot;www.ecb.int&quot;;
+        $site = &quot;www.ecb.europa.eu&quot;;
     }
     elseif ($provider == &#039;YAHOO&#039;)
     {
@@ -141,15 +141,15 @@
            curl_setopt ($ch, CURLOPT_COOKIEJAR, &quot;$path_to_root/tmp/cookie.txt&quot;);
            curl_setopt ($ch, CURLOPT_HEADER, 0);
            curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
-           // prevent warning while save_mode/open_basedir on (redireciton doesn&#039;t occur at least on ECB page)
-           if (!ini_get(&#039;save_mode&#039;) &amp;&amp; !ini_get(&#039;open_basedir&#039;))
+           // prevent warning while safe_mode/open_basedir on (redireciton doesn&#039;t occur at least on ECB page)
+           if (!ini_get(&#039;safe_mode&#039;) &amp;&amp; !ini_get(&#039;open_basedir&#039;))
                curl_setopt ($ch, CURLOPT_FOLLOWLOCATION, 1);
            curl_setopt ($ch, CURLOPT_TIMEOUT, 3);
            $contents = curl_exec ($ch);
            curl_close($ch);
             // due to resolver bug in some curl versions (e.g. 7.15.5) 
             // try again for constant IP.
-           $site=&quot;195.128.2.97&quot;;
+           $site=&quot;172.230.157.137&quot;;
        } while( ($contents == &#039;&#039;) &amp;&amp; $retry--);
        
     } else {</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sun, 16 Nov 2014 15:16:02 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=21474#p21474</guid>
		</item>
	</channel>
</rss>
