Mustn't you update the installed_extensions.php in the webroot and in the company/#/ folder as well? ... and enable it for the company as well?
5,851 01/06/2013 11:14:32 am
Re: Installation in delete GL transaction module (1 replies, posted in Modules Add-on's)
5,852 01/06/2013 11:13:06 am
Re: UTF8 vs ISO8859-1 (7 replies, posted in Translations)
5,853 01/06/2013 11:04:11 am
Re: Printing to a Windows Shared Printer (2 replies, posted in Installation)
Windows Attached Printer on CUPS
Push Windows Printer Drivers to CUPS
64 bit CUPS Driver for Win7 not yet
Printing from CUPS to Windows-Attached Printers
Please see what works in the above urls and let us know so we can update the wiki accordingly.
5,854 01/06/2013 10:58:22 am
Re: Invoicing with Cash Basis accounting (3 replies, posted in Accounts Receivable)
The default language is "C" listed to include the "untranslated strings" as is from the code culled into the empty.po file. en_US is an example file to override entries in the empty.po.
5,855 01/05/2013 05:29:03 am
Re: ISO-8859-1 EUR symbol (2 replies, posted in Translations)
Wikied it.
Since the forum does not use any WYSIWYG Editor (saves bandwidth though), try the free BBCode Editor for windows.
5,856 01/05/2013 05:11:38 am
Re: Hard-coded problems in reports for translation (5 replies, posted in Reporting)
Thanks Joe for Changesets 3127/3131 addressing this problem. It however needs an entry in the empty.po file. Attempting to reconstruct the empty.po afresh yielded a file that is 341KB as against the current one in the fa repo that is 359KB. There are a lot of legacy entries with wrong filenames and line numbers in the repo one.
The shell script to generate the empty.po file I wrote is:
#!/bin/bash
FRONTACFILE=FrontAc_default_Mer_3127_2012-12-20.tar.gz
WEBROOT=/var/www/frontac
mkdir -p $WEBROOT
cd $WEBROOT
wget http://www.apmuthu.com/bugfixes/$FRONTACFILE
tar -xzf $FRONTACFILE
rm -f $FRONTACFILE
MAINDIR=`pwd`/
# Generate the main empty.po file
TPL=lang/new_language_template/LC_MESSAGES/empty
GTEXEC="xgettext -d empty --language=PHP --from-code=ISO-8859-1 \
-p $MAINDIR/lang/new_language_template/LC_MESSAGES "
# Backup the old main empty.po
mv $MAINDIR/$TPL.po $MAINDIR/$TPL.po.org
# Generate main header as well
$GTEXEC -k_ -n *.php
# set the charset
sed -i 's/charset=CHARSET/charset=ISO-8859-1/g' $MAINDIR/$TPL.po
mv install ..
$GTEXEC -k_ -n -j */*.php
$GTEXEC -k_ -n -j */*/*.php
$GTEXEC -k_ -n -j */*/*/*.php
$GTEXEC -k_ -n -j */*.inc
$GTEXEC -k_ -n -j */*/*.inc
$GTEXEC -k_ -n -j */*/*/*.inc
mv ../install .
# Generate the install empty.po file
TPL=install/lang/new_language_template/LC_MESSAGES/empty
GTEXEC="xgettext -d empty --language=PHP --from-code=ISO-8859-1 \
-p $MAINDIR/install/lang/new_language_template/LC_MESSAGES "
# Backup the old install empty.po
mv $MAINDIR/$TPL.po $MAINDIR/$TPL.po.org
# Generate install header as well
$GTEXEC -k_ -n install/*.php
# set the charset
sed -i 's/charset=CHARSET/charset=ISO-8859-1/g' $MAINDIR/$TPL.po
$GTEXEC -k_ -n -j install/*.inc
$GTEXEC -k_ -n -j includes/system_tests.inc
$GTEXEC -k_ -n -j includes/packages.inc5,857 01/05/2013 05:04:07 am
Re: Error when changing from Direct GRN to Direct Invoice (12 replies, posted in Report Bugs here)
Please test on fresh install using later Mercurial Build version from this post and see if the problem occurs.
5,858 01/05/2013 05:02:21 am
Re: Buttons missing from Sales, Purchase, etc. tables (14 replies, posted in Report Bugs here)
Also use the later Mercurial Build version of FA from this post.
5,859 01/05/2013 04:59:29 am
Re: discount to each item? (4 replies, posted in Items and Inventory)
Use a different pricelist.
5,860 01/05/2013 04:58:12 am
Re: Invoicing with Cash Basis accounting (3 replies, posted in Accounts Receivable)
Update the en_US .mo / .po files and submit to the the project what you consider to be real en_US.
5,861 01/05/2013 04:56:37 am
Re: Error on update of supplier (6 replies, posted in Accounts Payable)
Thanks Joe,
The change set 3130 is reproduced here to help detect and fix similar errors:
--- old/purchasing/manage/suppliers.php Thu Oct 04 13:09:47 2012
+++ new/purchasing/manage/suppliers.php Sat Jan 05 10:17:23 2013
@@ -214,7 +214,7 @@
$_POST['website'], $_POST['supp_account_no'], $_POST['bank_account'],
input_num('credit_limit', 0), $_POST['dimension_id'], $_POST['dimension2_id'], $_POST['curr_code'],
$_POST['payment_terms'], $_POST['payable_account'], $_POST['purchase_account'], $_POST['payment_discount_account'],
- $_POST['notes'], $_POST['tax_group_id'], @$_POST['tax_included']);
+ $_POST['notes'], $_POST['tax_group_id'], get_post('tax_included', 0));
update_record_status($_POST['supplier_id'], $_POST['inactive'],
'suppliers', 'supplier_id');5,862 01/05/2013 04:46:32 am
Re: Journal Entry (5 replies, posted in Banking and General Ledger)
Will Quick Entries help?
5,863 01/05/2013 04:41:37 am
Re: Fixing Usage - report generator (40 replies, posted in Modules Add-on's)
Thanks Janusz.
5,864 01/03/2013 02:32:00 am
Re: Hard-coded problems in reports for translation (5 replies, posted in Reporting)
Will deposit in bank suffice or possibly deposit with bank or deposit into bank ?
5,865 01/03/2013 02:28:37 am
Re: Can start Frontaccounting after installation... (1 replies, posted in Installation)
Looks like the said function is disabled in your php.ini - contact your system admin or see if your apache httpd.conf / .htaccess can be configured to allow it.
Please use the latest version of FA from the development repository if you are starting anew as many bugs have been fixed and not released as yet.
FrontAc_default_Mer_3127_2012-12-20.tar.gz.
Check out the release post.
5,866 01/01/2013 07:33:41 pm
Re: Event listeners API (5 replies, posted in FA Modifications)
1. Take a SQL dump of the FA db.
2. Manually add one journal transaction in FA that you would normally have imported from the remote db.
3. Take a second SQL Dump
4. Compare the changes from the first to the second SQL dump in an utility like WinMerge2
5. You can now see what tables have been affected: The sequence number table for the journal transactions, the transaction details itself, possibly some log tables that can rither be ignored or made to have a single entry that logs the summary of the whole import (when imported).
5,867 12/31/2012 10:43:53 pm
Re: Event listeners API (5 replies, posted in FA Modifications)
If I understand your needs, you have an offline database table containing Journal Entries that need to be sucked into the FA system when it is used for the first time in a day (or in specific time period) or on demand.
This is easily achieved using a function that kicks in thru includes/main.inc.
You can also build a standalone script that reads what the remote journal entry last voucher number is and checks with the local FA system of last imported remote voucher number (reference number) to decide if an update is in order and does the import of the recent records only.
The standalone script can be scheduled to be exectuted at whatever frequency necessary thru a cron job.
If the remote journal entries exist in another FrontAccounting Server, then use any RESTful API like the SimpleAPI.
5,868 12/31/2012 09:32:24 am
Re: Event listeners API (5 replies, posted in FA Modifications)
Hooks and Hook Activate.
Read the /includes/hooks.class.inc file.
Extend / modify the hooks class in it to have pre-load, post-load functions and activate them in appropriate places in the header.inc / footer.inc files in the includes/page folder.
In fact the includes/pages/header.inc file includes a JS function in the body onload attribute passed thru the function page_header() 's parameter list and used in line 136.
access/logout.phpincludes/page/ and in includes/main.inc files only. The latter calls it in it's function page().
All other pages that call the page function generally use only the first parameter (page title), but in your pages of choice, you can include the other parameters. The primitive for usage can be taken from the function constructs in the files referred to above.
5,869 12/31/2012 09:17:57 am
Re: [Error] write failed: No space left on device (28) in session.inc (1 replies, posted in Report Bugs here)
Please be specific about which version of FA you are using and on what platform (from the looks of your path, it appears to be some shared linux hosting).
I suggest you use the FA v2.3.13+ latest Mercurial Build available.
5,870 12/31/2012 09:10:38 am
Re: Trouble understanding entering bills/non-inventory items (10 replies, posted in Accounts Payable)
This might be possible natively in FA if the portion of the invoice that needs to go into an expense account be done using a secondary "Tax" for it and/or a quick entry be made for it.
5,871 12/31/2012 09:05:22 am
Re: Missing Account Group and Accounts (3 replies, posted in Banking and General Ledger)
You can use the 5 digit COAs.
Or start from scratch.
5,872 12/29/2012 03:46:40 pm
Re: Missing Account Group and Accounts (3 replies, posted in Banking and General Ledger)
1. Make the old fiscal year as active year
2. Import the Journal Entries
3. Make a fresh Journal Entry for transferring all P&L Balances to the Profit and Loss Account so that the Balance Sheet will truly reflect the closing balances.
4. Close the Old Fiscal Year.
5. Do the same in order for all previous fiscal years and then the opening balance in the current fiscal year will be correct.
I am not a chartered accountant.
5,873 12/27/2012 02:58:08 pm
Re: Arabic language (4 replies, posted in Translations)
You have a choice of Arabic Fonts installable at:
https://frontaccounting.com/wbt/pages/download/download-release-2.3.php
Check the wiki for encodings, PDF settings, etc., at
https://frontaccounting.com/fawiki/index.php?n=Help.InstallUpdateLanugages
Good Luck.
5,874 12/27/2012 02:52:54 pm
Re: How print invoice in 1/2 letter size page. (13 replies, posted in Reporting)
Lines 64-70 of reporting/includes/class.pdf.inc are:
class Cpdf extends FPDI {
function Cpdf($pageSize='A4', $lang=null, $pageOrientation='P')
{
$this->TCPDF($pageOrientation, 'pt', $pageSize);//, $uni, $enc);
$this->SetLang($lang);
$this->setPrintHeader(false);Line 68 shows the declaration of size units as 'pt'.
Also the default $pageSize='A4' which should correctly be overridden by whatever declaration or setting is given at instantiation time. Hence check the various reports as to how a "new Cpdf" instance is created - whether the default isallowed to be assumed or it is passed on properly as a variable.
Lines 104-110 declare the encodings - see if they are an issue as well.
5,875 12/26/2012 10:21:49 am
Re: Fixing Usage - report generator (40 replies, posted in Modules Add-on's)
Will need a bit of work to get it fully working. Check the wiki link in my previous post for the current state.
