<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Invalid argument supplied for foreach() in file:]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=3627</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=3627&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Invalid argument supplied for foreach() in file:.]]></description>
		<lastBuildDate>Wed, 19 Dec 2012 20:29:25 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Invalid argument supplied for foreach() in file:]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=14724#p14724</link>
			<description><![CDATA[<p>Oh yes, thanks. Lines 238-240 in <strong>system_tests.inc</strong> do it:<br /></p><div class="codebox"><pre><code>    $fname =  $path_to_root.&#039;/lang&#039;;
    $test[&#039;test&#039;] = $fname;
    if (!(is_dir($fname) &amp;&amp; is_writable($fname))) {</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Wed, 19 Dec 2012 20:29:25 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=14724#p14724</guid>
		</item>
		<item>
			<title><![CDATA[Re: Invalid argument supplied for foreach() in file:]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=14721#p14721</link>
			<description><![CDATA[<p>The lang folder check is included in system_test.inc, and result is displayed on leading installer page.<br />Janusz</p>]]></description>
			<author><![CDATA[null@example.com (itronics)]]></author>
			<pubDate>Wed, 19 Dec 2012 19:45:32 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=14721#p14721</guid>
		</item>
		<item>
			<title><![CDATA[Re: Invalid argument supplied for foreach() in file:]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=14718#p14718</link>
			<description><![CDATA[<p>Yes, the <strong>function check_write()</strong> in <strong>includes/main.inc</strong> should cover the lang folder check as well.</p><p>In <strong>install/index.php</strong> mustn&#039;t there be a check to see if <strong>lang</strong> folder is writeable?</p><div class="codebox"><pre><code>    if (!file_exists($path_to_root . &quot;/lang/installed_languages.inc&quot;)) {
        $installed_languages = array (
            0 =&gt; array (&#039;code&#039; =&gt; &#039;C&#039;, &#039;name&#039; =&gt; &#039;English&#039;, &#039;encoding&#039; =&gt; &#039;iso-8859-1&#039;));
            $dflt_lang = &#039;C&#039;;
            write_lang();
    }</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Wed, 19 Dec 2012 19:18:36 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=14718#p14718</guid>
		</item>
		<item>
			<title><![CDATA[Re: Invalid argument supplied for foreach() in file:]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=14710#p14710</link>
			<description><![CDATA[<p>The installed_extensions.php file is properly created during installation. Nevertheless I have found small bug in system tests (main FA folder was not tested properly whether it is writable or not). Fixed for next release.<br />Janusz</p>]]></description>
			<author><![CDATA[null@example.com (itronics)]]></author>
			<pubDate>Wed, 19 Dec 2012 16:21:49 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=14710#p14710</guid>
		</item>
		<item>
			<title><![CDATA[Re: Invalid argument supplied for foreach() in file:]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=14608#p14608</link>
			<description><![CDATA[<p>If the file installed_extensions.php does not exist, why not hard code it&#039;s content into the script? And if the content needs to be written and saved and the file is still missing, then it can be created!</p><p>Alternatively, just create it if it is missing - with some acceptable default content - and then read it back into the current script!</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Thu, 13 Dec 2012 07:11:59 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=14608#p14608</guid>
		</item>
		<item>
			<title><![CDATA[Re: Invalid argument supplied for foreach() in file:]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=14607#p14607</link>
			<description><![CDATA[<p>Thanks Joe, maybe an &quot;@&quot; should do it!.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Thu, 13 Dec 2012 07:09:33 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=14607#p14607</guid>
		</item>
		<item>
			<title><![CDATA[Re: Invalid argument supplied for foreach() in file:]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=14606#p14606</link>
			<description><![CDATA[<p>No, this is because of a missing include file ...../installed_extensions.php. It only appears when starting up. The include file is coming later in session.inc. It is totally harmless, however do not look nice.</p><p>Janusz is going to fix this asap.</p><p>/Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Thu, 13 Dec 2012 06:45:56 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=14606#p14606</guid>
		</item>
		<item>
			<title><![CDATA[Re: Invalid argument supplied for foreach() in file:]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=14596#p14596</link>
			<description><![CDATA[<p>Hi Joe, expect that this issue has been solved in the latest Mercurial 3122 in <a href="https://frontaccounting.hg.sourceforge.net/hgweb/frontaccounting/frontaccounting/raw-file/257613419f2a/includes/session.inc">session.inc</a></p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Thu, 13 Dec 2012 03:58:20 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=14596#p14596</guid>
		</item>
		<item>
			<title><![CDATA[Re: Invalid argument supplied for foreach() in file:]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=14557#p14557</link>
			<description><![CDATA[<p>You are right rajbirdhaka. Although the bug is quite harmless, it will be fixed to next minor. The bug shows up when starting up FA, but only if you have specific warnings enabled.</p><p>/Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Sun, 09 Dec 2012 07:56:48 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=14557#p14557</guid>
		</item>
		<item>
			<title><![CDATA[Invalid argument supplied for foreach() in file:]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=14546#p14546</link>
			<description><![CDATA[<p>When I Open Page I saw That</p><p>Invalid argument supplied for foreach() in file: /home/choudh1/domains/choudharyenterprises.tk/public_html/includes/session.inc at line 342</p><br /><p>Give Solutin Please</p>]]></description>
			<author><![CDATA[null@example.com (rajbirdhaka)]]></author>
			<pubDate>Thu, 06 Dec 2012 16:21:14 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=14546#p14546</guid>
		</item>
	</channel>
</rss>
