<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Install FA 2.4.3 with PHP7.2.2 MySQL5.7 and IIS problems]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=7346</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=7346&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Install FA 2.4.3 with PHP7.2.2 MySQL5.7 and IIS problems.]]></description>
		<lastBuildDate>Sat, 03 Mar 2018 15:42:33 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Install FA 2.4.3 with PHP7.2.2 MySQL5.7 and IIS problems]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30989#p30989</link>
			<description><![CDATA[<p>@cempamj: Very nice documentation indeed. The wiki will certainly benefit from it once done.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sat, 03 Mar 2018 15:42:33 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30989#p30989</guid>
		</item>
		<item>
			<title><![CDATA[Re: Install FA 2.4.3 with PHP7.2.2 MySQL5.7 and IIS problems]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30986#p30986</link>
			<description><![CDATA[<p>Success!&nbsp; Here is what I have had to do in order to install on Windows 10 with IIS 7, PHP 7.1.14 and FA 2.4.3</p><p><strong>in order to handle the error message:</strong><br /></p><div class="codebox"><pre><code>::language.inc:15: include_once(./lang/installed_languages.inc): failed to open stream: No such file or directory ::language.inc:15: include_once(): Failed opening &#039;./lang/installed_languages.inc&#039; for inclusion (include_path=&#039;.;C:\php\pear&#039;) </code></pre></div><p>Apparently the @ is not suppressing the error of the missing file and not letting it continue with the initial install.&nbsp; This is probably better programming practice to avoid throwing an error in the first place by checking for the existence of the file.&nbsp; Maybe should be addressed by the development group.</p><p>Change line 15 in C:\inetpub\wwwroot\frontaccounting\includes\lang\language.inc<br />from <br /></p><div class="codebox"><pre><code>@include_once($path_to_root . &quot;/lang/installed_languages.inc&quot;);</code></pre></div><p>to<br /></p><div class="codebox"><pre><code>if (file_exists($path_to_root.&#039;/lang/installed_languages.inc&#039;))
    @include_once($path_to_root . &quot;/lang/installed_languages.inc&quot;);</code></pre></div><br /><p><strong>to handle the error message:</strong><br /></p><div class="codebox"><pre><code>4 Domain file &quot;../lang/C/LC_MESSAGES/C.po&quot; not found. 4 Domain file &quot;../install/lang/C/LC_MESSAGES/C.po&quot; not found.</code></pre></div><p>Add en_US language<br />Download the FA24Extensions in order to get the en_US language (unpack it and copy FA24extensions-master\Languages\en_US folder to C:\inetpub\wwwroot\frontaccounting\install\lang and to C:\inetpub\wwwroot\frontaccounting\lang</p><p>Create a surrogate for the missing C language extension using en_US as a basis</p><p>make a copy of&nbsp; C:\inetpub\wwwroot\frontaccounting\install\lang\en_US to C:\inetpub\wwwroot\frontaccounting\install\lang\C<br />then rename the en_US.mo &amp; en_US.po files in the C\LC_MESSAGES to C.mo and C.po.&nbsp; Then edit&nbsp; and change the name inside the files from en_US to C</p><p>now copy the new C language folder to C:\inetpub\wwwroot\frontaccounting\lang&nbsp; (I think it needs to be in both places)</p><p>I would like to get an actual copy of the C language definitions but this seems to have worked so far.</p><br /><p><strong>Changes to the default php.ini file (copied from the php.ini-development template)</strong></p><p>uncomment lines:<br />extension=php_mysqli.dll<br />extension=php_pdo_mysql.dll<br />extension=php_openssl.dll</p><p>added:<br />magic_quotes_gpc = 0 ;don&#039;t think this is needed in PHP.7.1.x but added it anyways based on FA install instructions</p><br /><p>I think that is it so far.&nbsp; I will try to post up a full set of instructions and links to the getting IIS installed, PHP installed and IIS configured for it, Installing MySQL and phpMyAdmin on a windows 10 machine.&nbsp; I&#039;ll also try to include additional resources I used to debug with.</p><p>Thank you for all your quick responses and keen insight <strong>apmuthu</strong></p>]]></description>
			<author><![CDATA[null@example.com (cempamj)]]></author>
			<pubDate>Sat, 03 Mar 2018 15:28:15 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30986#p30986</guid>
		</item>
		<item>
			<title><![CDATA[Re: Install FA 2.4.3 with PHP7.2.2 MySQL5.7 and IIS problems]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30981#p30981</link>
			<description><![CDATA[<p>Take all translation files for the core from my <a href="https://github.com/apmuthu/FA24extensions">FA24extensions</a> repo. Note that the en_US locale comes in 2 flavours - iso-8859-1 and utf-8.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sat, 03 Mar 2018 11:24:13 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30981#p30981</guid>
		</item>
		<item>
			<title><![CDATA[Re: Install FA 2.4.3 with PHP7.2.2 MySQL5.7 and IIS problems]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30978#p30978</link>
			<description><![CDATA[<p>Well that makes more sense right now.&nbsp; I&#039;d prefer to stay with IIS if possible as that is already on window&#039;s machines.&nbsp; I&#039;ll start looking into the locales issue.&nbsp; In the meanwhile is it possible for you to attach all the files needed for en_US language (the .mo and .po files)&nbsp; I suspect If I create a directory in the install/languages for C it might solve the issue.</p>]]></description>
			<author><![CDATA[null@example.com (cempamj)]]></author>
			<pubDate>Fri, 02 Mar 2018 18:19:11 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30978#p30978</guid>
		</item>
		<item>
			<title><![CDATA[Re: Install FA 2.4.3 with PHP7.2.2 MySQL5.7 and IIS problems]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30976#p30976</link>
			<description><![CDATA[<p>This probably a locale issue for IIS. Apache defaults to &quot;C&quot;. The system does not seem to have gettext and is trying to use the fallback php file with an array of translated strings.copy over the empty.po file as the C.po file with appropriate changes for language in it&#039;s header and place it in the path where it should be.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Fri, 02 Mar 2018 16:13:15 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30976#p30976</guid>
		</item>
		<item>
			<title><![CDATA[Re: Install FA 2.4.3 with PHP7.2.2 MySQL5.7 and IIS problems]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30973#p30973</link>
			<description><![CDATA[<p>I did not put the installed_languages.inc that you attached in the folder, the install instructions do say that it will be created.</p><p>Yes&nbsp; I changed the line to test if the file exists first and it now fails to find install/lang/C files which of course are not there.&nbsp; I assume that is the default language as that is what is in the installed_languages.inc file that you attached.&nbsp; </p><p>4 Domain file &quot;../lang/C/LC_MESSAGES/C.po&quot; not found. 4 Domain file &quot;../install/lang/C/LC_MESSAGES/C.po&quot; not found.</p>]]></description>
			<author><![CDATA[null@example.com (cempamj)]]></author>
			<pubDate>Fri, 02 Mar 2018 12:31:51 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30973#p30973</guid>
		</item>
		<item>
			<title><![CDATA[Re: Install FA 2.4.3 with PHP7.2.2 MySQL5.7 and IIS problems]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30963#p30963</link>
			<description><![CDATA[<p>Do you have the said file in place?<br />You can precede the said line with if(file_exists(....</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Fri, 02 Mar 2018 08:28:45 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30963#p30963</guid>
		</item>
		<item>
			<title><![CDATA[Re: Install FA 2.4.3 with PHP7.2.2 MySQL5.7 and IIS problems]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30959#p30959</link>
			<description><![CDATA[<p>no it doesn&#039;t make it past line 15 in language.inc</p><p>@include_once($path_to_root . &quot;/lang/installed_languages.inc&quot;);</p><p>From what I have just read, the @ symbol should suppress errors&nbsp; &quot;the at sign (@). When prepended to an expression in PHP, any error messages that might be generated by that expression will be ignored.&quot;</p><p>Based on this I expect that if installed_languages.inc does not exist it ignores it and somewhere else it must create it and save it to the includes/lang folder.&nbsp; Hunting for the code for that but it seems that the @ is not ignoring the error.</p>]]></description>
			<author><![CDATA[null@example.com (cempamj)]]></author>
			<pubDate>Fri, 02 Mar 2018 06:10:17 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30959#p30959</guid>
		</item>
		<item>
			<title><![CDATA[Re: Install FA 2.4.3 with PHP7.2.2 MySQL5.7 and IIS problems]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30958#p30958</link>
			<description><![CDATA[<p>There is certainly something wrong with your installation. When you first browse to the frontaccounting folder (http://...../frontaccounting and not http://inetpub/wwwroot/frontaccounting), the said default installed files and config.php and config_db.php files should have been created. If not, check if the database is present but no tables in it and then try again.</p><p>Were you able to go thru the install sequence at all? The .po file is of no use during usage but it is used to compile as the .mo file which is used.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Fri, 02 Mar 2018 06:01:41 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30958#p30958</guid>
		</item>
		<item>
			<title><![CDATA[Re: Install FA 2.4.3 with PHP7.2.2 MySQL5.7 and IIS problems]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30957#p30957</link>
			<description><![CDATA[<p>So I don&#039;t get it.&nbsp; I thought that you download the archive from sourceforge and extract the contents to inetpub/wwwroot/frontaccounting (for example) then just point the browser to the folder you extracted it to.&nbsp; That should load the index.php file from there and if FA hasn&#039;t been configured (config_db.php doesn&#039;t exist) it runs the installer in the install folder.&nbsp; Digging through the code the language.inc file includes the installed_languages.inc&nbsp; Since this file isn&#039;t in the archive where is it supposed to come from.&nbsp; I tried unpacking the one you attached in the previous post and editing to point at the en_US language dir.&nbsp; However this directory is missing the en_US.po file so that doesn&#039;t work either.&nbsp; Am I missing something on how to do the initial install?&nbsp; </p><p>I looked at 2.3.xx archive and it looks the same so I don&#039;t see how going back to an earlier version will make any difference.&nbsp; </p><p>On a side note this is forcing me to get a collection of PHP editing and debugging tools and start learning PHP...&nbsp; I&#039;m sure this isn&#039;t supposed to be this difficult so I must be missing something basic.</p><p>From the install.html file <br /></p><div class="quotebox"><blockquote><p>Step 1.&nbsp; All the files inside this archive should be copied to a directory under the web server root directory.</p><p>Step 2.&nbsp; Enter your_url/account (or whatever directory you entered). This will run the install wizard if this is the first time you run FrontAccounting, setup a drill company and optional populating with initial demo data. You can later on create your own real company. It is a good idea to get familiar with the system before starting your own company.</p></blockquote></div>]]></description>
			<author><![CDATA[null@example.com (cempamj)]]></author>
			<pubDate>Fri, 02 Mar 2018 05:51:01 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30957#p30957</guid>
		</item>
		<item>
			<title><![CDATA[Re: Install FA 2.4.3 with PHP7.2.2 MySQL5.7 and IIS problems]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30954#p30954</link>
			<description><![CDATA[<p>When you just copy over the FA install files, you will not have any <strong>lang/installed_languages.inc</strong> file The other files that get generated during an FA install are: <strong>installed_extensions.php</strong> and <strong>company/#/installed_extensions.php</strong>.</p><p>Attached are the files that get created during a default FA install.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Thu, 01 Mar 2018 15:54:56 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30954#p30954</guid>
		</item>
		<item>
			<title><![CDATA[Re: Install FA 2.4.3 with PHP7.2.2 MySQL5.7 and IIS problems]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30951#p30951</link>
			<description><![CDATA[<p>Slowly making progress.&nbsp; Switched to PHP 7.1.14, got index.php set as the default document on IIS.&nbsp; Learning a bit more about PHP.&nbsp; Looks like I&#039;m missing some languages based on this error message:</p><p>::language.inc:15: include_once(./lang/installed_languages.inc): failed to open stream: No such file or directory ::language.inc:15: include_once(): Failed opening &#039;./lang/installed_languages.inc&#039; for inclusion (include_path=&#039;.;C:\php\pear&#039;) </p><p>From what I can tell it&#039;s looking for installed_languages.inc which I can&#039;t find either.&nbsp; Ideas?</p><p>Also looks like register_globals is depreciated and as of PHP 4.2 its been set to off anyways</p>]]></description>
			<author><![CDATA[null@example.com (cempamj)]]></author>
			<pubDate>Thu, 01 Mar 2018 04:00:59 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30951#p30951</guid>
		</item>
		<item>
			<title><![CDATA[Re: Install FA 2.4.3 with PHP7.2.2 MySQL5.7 and IIS problems]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30891#p30891</link>
			<description><![CDATA[<p>FA now natively supports upto PHP 7.1.x only. PHP 7.2.x is not yet supported.</p><p>PHP 5.3.x is still the most widely used and texted version for FA so far for long time users though later versions happen to be discussed in the forum as newbies try to grapple with their maiden installs.</p><p>Most script based installs (Scriptaculous, cPanel, SimpleScripts, Fantastico, public OpenVZ templates, etc) rely on outdated versions of FA where the hosting providers make several versions of PHP available on a per application basis possibly in CGI mode.</p><p><a href="http://php.net/manual/en/migration72.incompatible.php">PHP 7.2 Incompatibilities</a>.</p><p>PHP 7.1 to 7.2 <a href="http://php.net/manual/en/migration72.php">Migration Notes</a>.</p><p><a href="https://kinsta.com/blog/php-7-2/">What&#039;s New in PHP 7.2</a>.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sun, 25 Feb 2018 00:42:50 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30891#p30891</guid>
		</item>
		<item>
			<title><![CDATA[Re: Install FA 2.4.3 with PHP7.2.2 MySQL5.7 and IIS problems]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30890#p30890</link>
			<description><![CDATA[<p>Hi, although I have no experience of IIs, it is mentioned in the installation page of the wiki found <a href="https://frontaccounting.com/fawiki/index.php?n=Main.Installation">here</a><br /></p><div class="quotebox"><blockquote><p>On IIS, use PHP Manager for IIS. It is a tool for managing one or many PHP installations on IIS 7 and IIS 7.5 servers. Will need MSVC runtimes.</p></blockquote></div><p>Can you also change the line&nbsp; </p><div class="codebox"><pre><code>$go_debug         = 0;  
to 
$go_debug         = 1; </code></pre></div><p> in config.php in the root directory of FA and post any errors on here.</p><p>You could also try running phpinfo - and comparing results with some of the php settings mentioned on the wiki installation page; eg magic_quotes_gpc = 0 and register_globals = 0, etc. Then make the necessary changes to php.ini and restart your server. (Keep a record of what you change with line #)</p><p>Basic troubleshooting advice can be found <a href="https://frontaccounting.com/fawiki/index.php?n=Devel.TrobleshootingFrontAccounting">here</a></p>]]></description>
			<author><![CDATA[null@example.com (poncho1234)]]></author>
			<pubDate>Sat, 24 Feb 2018 18:26:07 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30890#p30890</guid>
		</item>
		<item>
			<title><![CDATA[Install FA 2.4.3 with PHP7.2.2 MySQL5.7 and IIS problems]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=30889#p30889</link>
			<description><![CDATA[<p>The latest release of FA says it&#039;s PHP 7.x compatible.&nbsp; I&#039;m attempting to install on my windows 10 machine.&nbsp; I have PHP installed and phpMyAdmin works without issue.&nbsp; I&#039;ve been trying to get this configured and I find that php settings listed in the FA wiki and install directions don&#039;t exist in the php.ini file.&nbsp; When I try http://localhost/frontaccounting/frontaccounting.php I get Restricted Access and that is it.</p><p>I guess what I&#039;m looking for is a definitive guide to follow.&nbsp; I&#039;m somewhat computer literate but don&#039;t have experience with PHP so this is quite challenging.</p>]]></description>
			<author><![CDATA[null@example.com (cempamj)]]></author>
			<pubDate>Sat, 24 Feb 2018 17:36:42 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=30889#p30889</guid>
		</item>
	</channel>
</rss>
