I believe this post originates from the desire to have one's own currency as the default at setup time of said company.

I have noticed that the default currency depends on the setup script that is specified and used for setting up new company under Setup->Creating/Update Companies menu selection. What I did was use a setup script for Singapore chart of accounts and ended up with currency defaulted to SG$ while using default script results in US$.

1) Am I right to infer that in order to have the main currency default to home currency,it is necessary to  modify the setup script to  customize one's currency and do this for the setup script that defines chart of accounts?

2) I expect this default currency is the based used for all rate lookups? Would deviating from US$ cause any issues in rates look-up?

When you get a message that says that the currency rate cannot be retrieved from the ECB you can do as the message says. Enter an exrate yourself. You don't have to do this every day. Probably once a week. FA will always use the nearest value.

The routine will try to get the best value, but will always fall back to your last entered value.

3) The above statement implies that the system defaults to the currency at setup time of company(not entire system). Then each supplier or customer can have dealing with this company using their respective currency, defined in respective debtor/creditor maintenance?

4) It would make business sense if  my company currency were MYR and I had someone from Thailand supply me stuff, they would bill me in THB and expect to be paid in THB. Therefore, when I receive an invoice, I would accrue it in my creditor list  AP as THB amount. As long as this amount remains outstanding, FA would go about calculating at the last rate that is defined for the currency THB against home currency of MYR? I am a littleunsure how the historical rate change updates will be reflected in the system & reports?

I think the documentation lacks a thorough explanation of how currency is handled and that is why new comers get confused. Perhaps this thread can be usedto further gather information before actually summarizing into the wiki?

2

(20 replies, posted in Setup)

Perhaps this is something to do with sub-domains.
I have found that FrontAccounting gets quirky when using the subdomain

ex. Installing on http://sub.domain.com/ wnet through fine except for some last screen hang. The files etc all created ok but could not login. The alternative http://domain.com/sub/ worked out for me.

Imay be off base on this but this issue troubled my installation.

3

(13 replies, posted in Installation)

Sorry for sharing this  thread; just felt that a single thread for installation issues would do.

Downloaded a fresh new installation instance last week. Tried installing it; terminated with following message:

Parse error: syntax error, unexpected $end, expecting ']' in /home/xxxxxxx/public_html/acs/admin/db/maintenance_db.inc on line 34
The url on browser address bar had changed to http://xxxxxx/xxx/install/save.php

Able to display login page, but after many sql error statements.

Update.... went snooping into the file public_html/acs/admin/db/maintenance_db.inc :

<?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 <http://www.gnu.org/licenses/gpl-3.0.html>.
***********************************************************************/

/**
 * @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 => $aryRow)
       //    set up the value in the array
       $arySort[$strIn

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.

4

(6 replies, posted in Installation)

Ihave not tried this, but the above instructions seem to contradict instruction at https://frontaccounting.com/punbb/viewtopic.php?id=4

Me thinks, that index.php will "sense" new installation and redirect accordingly?
Anyway I will be trying this out and will post reply to clarify this thread.