<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — FA2.4.2 error getting exchange rate from Google]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=7072</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=7072&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in FA2.4.2 error getting exchange rate from Google.]]></description>
		<lastBuildDate>Sun, 17 Dec 2017 06:51:27 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: FA2.4.2 error getting exchange rate from Google]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30067#p30067</link>
			<description><![CDATA[<p>At the moment the extremes seem to be Kuwaiti Dinar (KWD) to the Iranian Rial (IRR) if that works they all will. Not sure if your need extra decimal places</p>]]></description>
			<author><![CDATA[null@example.com (poncho1234)]]></author>
			<pubDate>Sun, 17 Dec 2017 06:51:27 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30067#p30067</guid>
		</item>
		<item>
			<title><![CDATA[Re: FA2.4.2 error getting exchange rate from Google]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30066#p30066</link>
			<description><![CDATA[<p>Bloomberg seems to provide USD based rates only. Will check on Google decimal digits since inverted value is available for reverse rates.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sun, 17 Dec 2017 04:53:33 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30066#p30066</guid>
		</item>
		<item>
			<title><![CDATA[Re: FA2.4.2 error getting exchange rate from Google]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30063#p30063</link>
			<description><![CDATA[<p>I&#039;ve also found a problem with bloomberg</p><p>Directly accessing:-</p><p><a href="https://www.bloomberg.com/quote/GBPCOP:CUR">https://www.bloomberg.com/quote/GBPCOP:CUR</a></p><p>gives:-</p><p>The search for GBPCOP:CUR produced no matches. Try the symbol search. </p><p>and</p><p><a href="https://www.bloomberg.com/quote/CADCOP:CUR">https://www.bloomberg.com/quote/CADCOP:CUR</a></p><p>The search for CADCOP:CUR produced no matches. Try the symbol search. </p><p>???????</p><p>Whilst:</p><p><a href="https://www.bloomberg.com/quote/USDCOP:CUR">https://www.bloomberg.com/quote/USDCOP:CUR</a></p><p>gives the exchange rate.</p><p>So... does anyone else get the same results as me for the above url&#039;s?</p><p>If you are then Bloomberg does not give full currency exchange rates, if not there is probably regional restrictions.</p>]]></description>
			<author><![CDATA[null@example.com (poncho1234)]]></author>
			<pubDate>Sat, 16 Dec 2017 20:54:50 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30063#p30063</guid>
		</item>
		<item>
			<title><![CDATA[Re: FA2.4.2 error getting exchange rate from Google]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30062#p30062</link>
			<description><![CDATA[<p>For google only:-</p><p>File: \gl\includes\db\gl_db_rates.inc<br /></p><div class="codebox"><pre><code>219:         if (empty($val) || $val+0 &lt;= 0.00001) {</code></pre></div><p>changed to </p><div class="codebox"><pre><code>219:         if (empty($val) || $val+0 &lt;= 0.1) {</code></pre></div><p>works for all currencies tested before</p>]]></description>
			<author><![CDATA[null@example.com (poncho1234)]]></author>
			<pubDate>Sat, 16 Dec 2017 20:17:03 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30062#p30062</guid>
		</item>
		<item>
			<title><![CDATA[Re: FA2.4.2 error getting exchange rate from Google]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30060#p30060</link>
			<description><![CDATA[<p><strong>document.write</strong> is used only in lines 1438 and 1439 in <strong>includes/ui/ui_view.inc</strong>.<br />This affects the js_cache which you may choose to purge from the company folder.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sat, 16 Dec 2017 18:46:01 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30060#p30060</guid>
		</item>
		<item>
			<title><![CDATA[Re: FA2.4.2 error getting exchange rate from Google]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30057#p30057</link>
			<description><![CDATA[<p>?????</p><p>I created a non ssl directory, still getting same results.</p><p>Not sure if relevant; but in network, I&#039;m getting this error in firefox:-</p><p>An unbalanced tree was written using document.write() causing data from the network to be reparsed. For more information https://developer.mozilla.org/en/Optimizing_Your_Pages_for_Speculative_Parsing<br />exchange_rates.php:6</p><p>Nothing similar in chrome</p><p><s>in ie 10:-</s></p><p><s>DOM7011: The code on this page disabled back and forward caching. For more information, see: http://go.microsoft.com/fwlink/?LinkID=291337<br />File: exchange_rates.php<br />HTML1300: Navigation occurred.<br />File: exchange_rates.php<br />HTML1524: Invalid HTML5 DOCTYPE. Consider using the interoperable form &quot;&lt;!DOCTYPE html&gt;&quot;.<br />File: exchange_rates.php, Line: 1, Column: 1<br />HTML1512: Unmatched end tag.<br />File: exchange_rates.php, Line: 6, Column: 541<br />HTML1514: Extra &quot;&lt;body&gt;&quot; tag found. Only one &quot;&lt;body&gt;&quot; tag should exist per document.<br />File: exchange_rates.php, Line: 7, Column: 1<br />HTML1423: Malformed start tag. Attributes should be separated by whitespace.<br />File: exchange_rates.php, Line: 19, Column: 299<br />HTML1409: Invalid attribute name character. Attribute names should not contain (&quot;),(&#039;),(&lt;), or (=).<br />File: exchange_rates.php, Line: 19, Column: 299</s></p>]]></description>
			<author><![CDATA[null@example.com (poncho1234)]]></author>
			<pubDate>Sat, 16 Dec 2017 17:54:52 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30057#p30057</guid>
		</item>
		<item>
			<title><![CDATA[Re: FA2.4.2 error getting exchange rate from Google]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30036#p30036</link>
			<description><![CDATA[<p>Then Google must be playing random tricks for your IP range....<br />Their search results have become very diluted in the last 6 months or so.<br />Time for a brand new human vetted one sans corporate control.<br />I will revert when I ave a new test OpenVZ install ready.<br />You can PM me a temporary PPTP VPN for your ISP for me to test.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sat, 16 Dec 2017 02:45:24 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30036#p30036</guid>
		</item>
		<item>
			<title><![CDATA[Re: FA2.4.2 error getting exchange rate from Google]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30029#p30029</link>
			<description><![CDATA[<p>Open ssl would affect all exchange rates? Its working for some, but not for others?</p>]]></description>
			<author><![CDATA[null@example.com (poncho1234)]]></author>
			<pubDate>Fri, 15 Dec 2017 18:34:54 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30029#p30029</guid>
		</item>
		<item>
			<title><![CDATA[Re: FA2.4.2 error getting exchange rate from Google]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30025#p30025</link>
			<description><![CDATA[<p>OpenSSL issue?</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Fri, 15 Dec 2017 16:58:23 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30025#p30025</guid>
		</item>
		<item>
			<title><![CDATA[Re: FA2.4.2 error getting exchange rate from Google]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30024#p30024</link>
			<description><![CDATA[<p>So, if your installations are functioning, it would seem I have additional setup issues with my servers, any ideas on fault finding?</p>]]></description>
			<author><![CDATA[null@example.com (poncho1234)]]></author>
			<pubDate>Fri, 15 Dec 2017 16:57:05 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30024#p30024</guid>
		</item>
		<item>
			<title><![CDATA[Re: FA2.4.2 error getting exchange rate from Google]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=29997#p29997</link>
			<description><![CDATA[<p>Done that, php info is giving the following:-</p><p>Directive&nbsp; &nbsp; Local Value&nbsp; &nbsp; Master Value<br />allow_url_fopen&nbsp; &nbsp; On&nbsp; &nbsp; On<br />allow_url_include&nbsp; &nbsp; Off&nbsp; &nbsp; Off</p><p>so fopen is enabled</p><p>fopen faults now do not appear</p><p>But I&#039;m am still getting the same results</p>]]></description>
			<author><![CDATA[null@example.com (poncho1234)]]></author>
			<pubDate>Thu, 14 Dec 2017 19:07:09 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=29997#p29997</guid>
		</item>
		<item>
			<title><![CDATA[Re: FA2.4.2 error getting exchange rate from Google]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=29994#p29994</link>
			<description><![CDATA[<p>Looks like you have a php.ini issue as well.</p><p>Set in php.ini: <strong>allow_url_fopen=1</strong> and restart your webserver.<br />It works well in PHP 5.3.1, 5.3.3 and 5.5.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Thu, 14 Dec 2017 17:32:50 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=29994#p29994</guid>
		</item>
		<item>
			<title><![CDATA[Re: FA2.4.2 error getting exchange rate from Google]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=29986#p29986</link>
			<description><![CDATA[<p>For v7.1.12</p><p>I&#039;m getting these faults for CAD &amp; GBP using Bloomberg and the exchange rate is blank:- (Obviously the currency code changes accordingly in the fault)</p><div class="codebox"><pre><code>file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in file: /gl/includes/db/gl_db_rates.inc at line 161
file_get_contents(https://www.bloomberg.com/quote/CADCOP:CUR): failed to open stream: no suitable wrapper could be found in file: /gl/includes/db/gl_db_rates.inc at line 161
number_format() expects parameter 2 to be integer, float given in file: /includes/current_user.inc at line 319</code></pre></div><p>For CLP, euro, MXN, PEN &amp; USD using Bloomberg these faults, but the correct exchange rate:-(Obviously the currency code changes accordingly in the fault)</p><div class="codebox"><pre><code>file_get_contents(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in file: /gl/includes/db/gl_db_rates.inc at line 161
file_get_contents(https://www.bloomberg.com/quote/CLPCOP:CUR): failed to open stream: no suitable wrapper could be found in file: /gl/includes/db/gl_db_rates.inc at line 161</code></pre></div><p>Google gives the same results, under 1000 working fine, over gives weird rates as above</p><p>I only have access to change PHP versions to:</p><p>v5.6.32<br />v7.0.26<br />v7.1.12</p><p>Although I can go backwards, but don&#039;t think thats applicable - unless you tell me otherwise?</p>]]></description>
			<author><![CDATA[null@example.com (poncho1234)]]></author>
			<pubDate>Thu, 14 Dec 2017 14:46:21 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=29986#p29986</guid>
		</item>
		<item>
			<title><![CDATA[Re: FA2.4.2 error getting exchange rate from Google]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=29982#p29982</link>
			<description><![CDATA[<p>Only v5.6.32,</p><p>I&#039;ll test some other versions as well..</p>]]></description>
			<author><![CDATA[null@example.com (poncho1234)]]></author>
			<pubDate>Thu, 14 Dec 2017 12:56:35 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=29982#p29982</guid>
		</item>
		<item>
			<title><![CDATA[Re: FA2.4.2 error getting exchange rate from Google]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=29974#p29974</link>
			<description><![CDATA[<p>What versions of PHP did you check earlier?</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Thu, 14 Dec 2017 04:16:31 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=29974#p29974</guid>
		</item>
	</channel>
</rss>
