<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Big Bad Install . . .]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=1106</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=1106&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Big Bad Install . . ..]]></description>
		<lastBuildDate>Tue, 09 Mar 2010 23:21:43 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Big Bad Install . . .]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=5206#p5206</link>
			<description><![CDATA[<p>Sorry for sharing this&nbsp; thread; just felt that a single thread for installation issues would do.</p><p>Downloaded a fresh new installation instance last week. Tried installing it; terminated with following message:</p><p>Parse error: syntax error, unexpected $end, expecting &#039;]&#039; in /home/xxxxxxx/public_html/acs/admin/db/maintenance_db.inc on line 34<br />The url on browser address bar had changed to http://xxxxxx/xxx/install/save.php</p><p>Able to display login page, but after many sql error statements.</p><p>Update.... went snooping into the file public_html/acs/admin/db/maintenance_db.inc :</p><div class="codebox"><pre><code>&lt;?php
/**********************************************************************
    Copyright (C) FrontAccounting, LLC.
    Released under the terms of the GNU General Public License,
    GPL, as published by the Free Software Foundation, either version 
    3 of the License, or (at your option) any later version.
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
    See the License here &lt;http://www.gnu.org/licenses/gpl-3.0.html&gt;.
***********************************************************************/

/**
 * @return Returns the array sorted as required
 * @param $aryData Array containing data to sort
 * @param $strIndex name of column to use as an index
 * @param $strSortBy Column to sort the array by
 * @param $strSortType String containing either asc or desc [default to asc]
 * @desc Naturally sorts an array using by the column $strSortBy
 */
function array_natsort($aryData, $strIndex, $strSortBy, $strSortType=false)
{
   //    if the parameters are invalid
   if (!is_array($aryData) || !$strSortBy)
       //    return the array
       return $aryData;

   //    create our temporary arrays
   $arySort = $aryResult = array();

   //    loop through the array
   foreach ($aryData as $key =&gt; $aryRow)
       //    set up the value in the array
       $arySort[$strIn</code></pre></div><p>Looks truncated, checked file sizes...all different from distribution. The ftp process must have gone bersek, for many files are effected. Iam doing a complete delete and re-upload/installation.</p>]]></description>
			<author><![CDATA[null@example.com (zenx)]]></author>
			<pubDate>Tue, 09 Mar 2010 23:21:43 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=5206#p5206</guid>
		</item>
		<item>
			<title><![CDATA[Re: Big Bad Install . . .]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=4919#p4919</link>
			<description><![CDATA[<p>that dood it. !!! now for the real work.</p><p>Need coffee ?</p><p>www.mawkercoffee.com</p>]]></description>
			<author><![CDATA[null@example.com (mawker)]]></author>
			<pubDate>Sun, 21 Feb 2010 19:02:20 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=4919#p4919</guid>
		</item>
		<item>
			<title><![CDATA[Re: Big Bad Install . . .]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=4917#p4917</link>
			<description><![CDATA[<p>If you are setting this on the command line then type:</p><p>chmod 777 [directory name]</p><p>for example:</p><p>chmod 777 frontaccounting</p><p>For the company directory use:</p><p>chmod -R 777 company</p><p>The -R is for recursive so it sets the permissions on all the sub files and folders in the given directory.</p><p>If you have an FTP server running you can always use a client such a Filezilla and set the permissions on the directories using this - much easier and less chance of making an error.</p>]]></description>
			<author><![CDATA[null@example.com (kerrsmith)]]></author>
			<pubDate>Sun, 21 Feb 2010 18:24:23 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=4917#p4917</guid>
		</item>
		<item>
			<title><![CDATA[Re: Big Bad Install . . .]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=4915#p4915</link>
			<description><![CDATA[<p>looked up the chmod cmd for ubuntu 9.10..... somewhat formidable any specifics on the correct syntax. undersand that this is major MOJO for novices. </p><p>sorry, I was reared as a chemist and only had to take pascal or basic made a B+ lucky to have survived.</p>]]></description>
			<author><![CDATA[null@example.com (mawker)]]></author>
			<pubDate>Sun, 21 Feb 2010 18:14:33 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=4915#p4915</guid>
		</item>
		<item>
			<title><![CDATA[Re: Big Bad Install . . .]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=4913#p4913</link>
			<description><![CDATA[<p>It might be worth setting the permissions on the directories to 777 at the start as it sounds like it is still having problems writing the config files.</p><p>Were all the ticks at the top green when you started?</p>]]></description>
			<author><![CDATA[null@example.com (kerrsmith)]]></author>
			<pubDate>Sun, 21 Feb 2010 17:55:34 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=4913#p4913</guid>
		</item>
		<item>
			<title><![CDATA[Re: Big Bad Install . . .]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=4912#p4912</link>
			<description><![CDATA[<p>ok.....<br />dropped db from MySql,<br />Purged Account folder from www Dir and re-tar-ed to www Dir.<br />Assigned permission to user for RW access to the following: www, account,company,0,tmp.<br />Loaded browser and set cookies to accept all.<br />Called the FrontAccounting Instalation Wizard html page.<br />Set OS to Linux/Unix os Based.<br />Selected&nbsp; World-writeable file permissions (777)<br />Set hostname to localhost.<br />Set user to root.<br />DB name set to frontaccount<br />Set password to root login password for OS.<br />Accepted defaults for 0_ prefix, Install tables, and Fill database with demo data<br />Set admin e-mail.<br />Set admin password to same as root.<br />Clicked on &quot;Install Front Accounting;<br />received the following:<br />Warning: copy(../config.php) [function.copy]: failed to open stream: Permission denied in /var/www/account/install/save.php on line 300</p><p>Warning: Cannot modify header information - headers already sent by (output started at /var/www/account/install/save.php:300) in /var/www/account/install/save.php on line 58</p><p>Returned to previous page, and at the top of the page an error message, Error: Cannot open the extension setup file &#039;../installed_extensions.php&#039; for writing.</p><p>installed_extensions.php cannot be found.</p><p>what next.</p>]]></description>
			<author><![CDATA[null@example.com (mawker)]]></author>
			<pubDate>Sun, 21 Feb 2010 16:20:43 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=4912#p4912</guid>
		</item>
		<item>
			<title><![CDATA[Re: Big Bad Install . . .]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=4911#p4911</link>
			<description><![CDATA[<p>If the database is empty you can just leave it as it is.</p><p>The install process creates all the config files you just need to make sure the installation directory is writeable. If unsure just chmod it to 777 for the install and then change it back once everything is installed and working.</p><p>As long as all the tick boxes are green on the top of the setup page then the install will work fine.</p>]]></description>
			<author><![CDATA[null@example.com (kerrsmith)]]></author>
			<pubDate>Sun, 21 Feb 2010 15:58:23 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=4911#p4911</guid>
		</item>
		<item>
			<title><![CDATA[Re: Big Bad Install . . .]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=4910#p4910</link>
			<description><![CDATA[<p>as there is no tables that were installed and therefore no data can i just delete the db and recreate? </p><p>also, the creation of the config.php file in the dir is done by the Install page and therefore is shown as &quot;unwritable&quot; ?</p>]]></description>
			<author><![CDATA[null@example.com (mawker)]]></author>
			<pubDate>Sun, 21 Feb 2010 15:22:26 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=4910#p4910</guid>
		</item>
		<item>
			<title><![CDATA[Re: Big Bad Install . . .]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=4909#p4909</link>
			<description><![CDATA[<p>To start over just delete all the files in the directory where you installed Front Accounting and then delete all the tables from the MySQL database you were using for the install.</p><p>Once this is done just re-upload the files to the directory and start the install again.</p><p>Make sure all the green ticks are lit up on the setup page and everything will install and be created as expected.</p>]]></description>
			<author><![CDATA[null@example.com (kerrsmith)]]></author>
			<pubDate>Sun, 21 Feb 2010 14:35:27 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=4909#p4909</guid>
		</item>
		<item>
			<title><![CDATA[Re: Big Bad Install . . .]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=4908#p4908</link>
			<description><![CDATA[<p>Is there any way to &quot;zero out&quot; this install and start over fresh ?</p>]]></description>
			<author><![CDATA[null@example.com (mawker)]]></author>
			<pubDate>Sun, 21 Feb 2010 14:04:26 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=4908#p4908</guid>
		</item>
		<item>
			<title><![CDATA[Re: Big Bad Install . . .]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=4905#p4905</link>
			<description><![CDATA[<p>Main directory of FA have to be writable at the time of installation/upgrade, otherwise config file cannot be written and you end with above messages.<br />Do not ignore the checks displayed in red during install - you have to fix them before install.<br />Janusz</p>]]></description>
			<author><![CDATA[null@example.com (itronics)]]></author>
			<pubDate>Sat, 20 Feb 2010 18:46:46 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=4905#p4905</guid>
		</item>
		<item>
			<title><![CDATA[Re: Big Bad Install . . .]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=4904#p4904</link>
			<description><![CDATA[<p>tried that and now getting this set of warnings:</p><p>Warning: copy(../config.php) [function.copy]: failed to open stream: Permission denied in /var/www/account/install/save.php on line 300</p><p>Warning: Cannot modify header information - headers already sent by (output started at /var/www/account/install/save.php:300) in /var/www/account/install/save.php on line 58</p><p>my sys is:</p><p>ubuntu 9.10 server ed. , AMD 64 </p><p>thanx in advance</p>]]></description>
			<author><![CDATA[null@example.com (mawker)]]></author>
			<pubDate>Sat, 20 Feb 2010 12:44:02 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=4904#p4904</guid>
		</item>
		<item>
			<title><![CDATA[Re: Big Bad Install . . .]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=4886#p4886</link>
			<description><![CDATA[<p>Remove config.php from your main FA directory and retry install.<br />Janusz</p>]]></description>
			<author><![CDATA[null@example.com (itronics)]]></author>
			<pubDate>Fri, 19 Feb 2010 09:09:13 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=4886#p4886</guid>
		</item>
		<item>
			<title><![CDATA[Big Bad Install . . .]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=4872#p4872</link>
			<description><![CDATA[<p>have Karmic 9.10, all was going well with the install until a power failure occurred during&nbsp; the FrontAccount html creation page and the first login page.</p><p>Have tries to delete and re-install files for the tar package yet still get the same errors:<br />Warning: include_once(./installed_extensions.php) [function.include-once]: failed to open stream: No such file or directory in /var/www/account/frontaccounting.php on line 22</p><p>Warning: include_once() [function.include]: Failed opening &#039;./installed_extensions.php&#039; for inclusion (include_path=&#039;.:/usr/share/php:/usr/share/pear&#039;) in /var/www/account/frontaccounting.php on line 22</p><p>Warning: include_once(./lang/installed_languages.inc) [function.include-once]: failed to open stream: No such file or directory in /var/www/account/includes/lang/language.php on line 15</p><p>Warning: include_once() [function.include]: Failed opening &#039;./lang/installed_languages.inc&#039; for inclusion (include_path=&#039;.:/usr/share/php:/usr/share/pear&#039;) in /var/www/account/includes/lang/language.php on line 15</p><p>Warning: include_once(./config_db.php) [function.include-once]: failed to open stream: No such file or directory in /var/www/account/includes/session.inc on line 147</p><p>Warning: include_once() [function.include]: Failed opening &#039;./config_db.php&#039; for inclusion (include_path=&#039;.:/usr/share/php:/usr/share/pear&#039;) in /var/www/account/includes/session.inc on line 147</p><p>Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /var/www/account/frontaccounting.php:22) in /var/www/account/includes/session.inc on line 161</p><p>Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /var/www/account/frontaccounting.php:22) in /var/www/account/includes/session.inc on line 161</p><p>Warning: Cannot modify header information - headers already sent by (output started at /var/www/account/frontaccounting.php:22) in /var/www/account/includes/session.inc on line 163</p><p>Warning: Invalid argument supplied for foreach() in /var/www/account/includes/current_user.inc on line 489</p><p>Warning: Invalid argument supplied for foreach() in /var/www/account/includes/current_user.inc on line 489<br />FrontAccounting 2.2.5 - Login</p><p>So as a chemist I am lost. as a programer never had a chance.</p>]]></description>
			<author><![CDATA[null@example.com (mawker)]]></author>
			<pubDate>Thu, 18 Feb 2010 17:54:14 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=4872#p4872</guid>
		</item>
	</channel>
</rss>
