4,901

(12 replies, posted in Installation)

Please check the config.php file for any missing entries that became available after your initial version was installed.

Also ss if you can hardcode the actual session path in your php.ini or since you are on a shared hosting platform see if a local php.ini overides file is possible.

4,902

(12 replies, posted in Installation)

Try to increase the Company Setup's Time out from 600 seconds to something bigger.

Make the title be part of the first name in this instance!

4,904

(2 replies, posted in Wish List)

Idea for a custom fix:
During login, another field (drop down box of application tab links and reporting links) can be used if a mobile user agent is detected and a bootstrap based mobile theme can kick into place.
The reports page for pdf download option may be a good place to use the mobile theme.
The Reports page must actually be a tab in FA!

Better still, replace lines 1003 to 1006:

$to = str_replace(",", "", $contact['name'].' '.$contact['name2'])
    ." <" . $contact['email'] . ">";
$msg = _("Dear") . " " . $contact['name2'] . ",\n\n" 
    . _("Attached you will find ") . " " . $subject ."\n\n";

with

$to = str_replace(",", "", $contact['name'].' '.$contact['name2']);
$msg = _("Dear") . " " . $to . ",\n\n" 
    . _("Attached you will find ") . " " . $subject ."\n\n";
$to .= " <" . $contact['email'] . ">";

In some places it may be rude to address one by first name or by full name unless you are sufficiently acquainted with them. Hence such a change may be done with a flag in the config file or in the per company based sys_prefs table.

Alternatively, it may be included in the core as is since this will avoid ambiguity with many persons having the same last name!

4,906

(6 replies, posted in Installation)

1. Login to the default company.
2. Activate the language for the specific company.
3. Logout.
4. Login to the specific company.
5. Choose the language for the specific company in it's setup page.
6. Choose the language for the specific user.
7. Logout/Login to the specific company again.

4,907

(2 replies, posted in Report Bugs here)

Try a contra entry.

"Yes they are" what ??

general customers/suppliers

OR

journal debtors/creditors only?

Pass a contra entry!

If it is windows XP, there there should not be user permissions issue. If it is Win7/8/8.1 then there could be user permissions issues for the folders having the FA code. Are you running it on XAMPP (if so please see the wiki for OpenSSL extension inclusion in php.ini). Check your php.ini settings to see if it satisfies FA's requirements. Also see that some of the .htaccess files are not causing you problems by renaming them temporarily.

debtors and creditors go into debtor_master table and possibly have customer / branch tables to be populated as well.

Are these debtors/creditors general suppliers / customers or are they journal debtors/creditors only?

The GL and Dashboard will automatically pick up the entries from the database tables when populated.

If only search is required outside of FA code, it can be hammered out using other tools with canned SQLs. If search is required within FA, the see if any similar functionality exists in other parts of FA and then try to port it.

Better still is to avoid the drop down entirely and choose the ajax method by toggling the checkboxes in the company Setup page.

The auto Google translate bash oneliner was requested to make translation easier as native speakers of the language can afterwards correct only the ones that are wrong.

Sales Invoice
Sales Invoice:

The above two could have been handled by just one instance without the colon and the colon could have been hard coded in the scripts. If the colon comes in between the string, then it can be handled individually.

Search Window Facility for Items, Customers, Suppliers already exists with Ajax and without it (drop down select box) - based on Company Setup checkboxes settings.

4,915

(9 replies, posted in Reporting)

If by July you have introduced new accounts then the two would not match.

Hence use something like WinMerge or some diff program to compare both reports and then you can make do with the reports as they are.

4,916

(2 replies, posted in Translations)

The fix for this issue is attached herein.

--- old/admin/inst_lang.php    Mon Sep 29 21:21:28 2014
+++ new/admin/inst_lang.php    Mon Oct 13 07:15:53 2014
@@ -77,7 +77,7 @@
 
         $support = $GetText->check_support($lang, $charset);
 
-        if (function_exists('gettext') && !$support && !get_post('DisplayAll')) continue;
+        if (function_exists('gettext') && !$support && !get_post('DisplayAll') && $lang != 'C') continue;
 
         label_cell($lang);
         label_cell($available ? get_package_view_str($lang, $lang_name) : $lang_name);

4,917

(2 replies, posted in Translations)

The default page that comes up when we navigate to Setup -> Install/Update Languages is the one that has the checkbox "Display also languages not supported by server locales" unchecked and it does not display the default "C" language so important to revert to English!

A fix to remedy this is needed - otherwise we will have to continually check the checkbox and then choose "C".

There are lots of strings with and without a colon(:) at the end - can they not all be consolidated?
Minimizing number of strings would make for quicker translations.

Also ucfirst() can be used to capitalise the first letter of a string to minimize the number of strings in translations as well.

Any bash oneliner to make a quick Google translate and work from there?

4,919

(6 replies, posted in Report Bugs here)

It is Login Timeout and is the last but one in the right hand side.

All system details are at Setup -> Maintenance -> System Diagnostics.

4,920

(12 replies, posted in FA Modifications)

@Janusz - please check to see if it can be included in the core with or without a flag in the config.

4,921

(6 replies, posted in Report Bugs here)

Setup -> Company Setup -> Browser Timeout -> change from default 600 (10 minutes) to say 28800 (8 hours).

Platform: Windows/Linux ?
PHP, Apache, MySQL versions?
JS should not be disabled to use FA.
Check your browser type and version and see if it has been infected. Remove all cache from the browser.

4,923

(5 replies, posted in Setup)

Make a file with the following contents:

<?php
echo phpinfo();
?>

and upload it to your webroot and browse to it - you will get all the server information you need like php version. Remove the file forthwith as it is a security risk if left there.

Find out what your webserver user is and make the webroot files and folders owned by it and make all folders 755 and files 644. That way the world will not be able to write into it.

All system details are at Setup -> Maintenance -> System Diagnostics.

4,924

(6 replies, posted in Modules Add-on's)

Visit my FA Utilities page for FA related Utilities as WebService.

Visit the Customer Import SQL generation page and input the Company Number (without the underscore) and a tab separated Vales text file containing the customers you wish to import.

Use the generated SQL in a MySQL client in the relevent database.

The input file should be a tab separated value file.
Have No headings
Must have .tsv file extension
File Size < 30Kb.
Nothing is stored on the server
Uploaded temporary file is parsed on the fly.
Only addslashes is used to clean input
No CR/LF in any of the fields

Fields in Order:
NickName
FirstName
LastName
Address
Phone
Email
NRIC
Gender

4,925

(8 replies, posted in Translations)

The standard FA Repo does not as yet have any Tamil Translation.

If anyone has done it hitherto - please provide it to the project.

A small start has been made in doing it afresh. Around 230 (out of around 3000)  strings have been translated, compiled and attached herein along with screenshots to enable others to contribute as well.

In debian squeeze the following were done to get it working:

# locale-gen en_US.UTF-8 UTF-8 ta_IN UTF-8 en_US.ISO-8859-1 ISO-8859-1
sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen
sed -i -e 's/# en_US ISO-8859-1/en_US ISO-8859-1/' /etc/locale.gen
sed -i -e 's/# ta_IN UTF-8/ta_IN UTF-8/' /etc/locale.gen
dpkg-reconfigure --frontend=noninteractive locales
update-locale en_US ISO-8859-1 en_US.UTF-8 UTF-8 ta_IN

The translation files were uploaded to lang folder.

A element was added to the array in lang/installed_languages.inc which now became:

<?php

/* How to make new entries here for non-packaged languages:

-- 'code' should match the name of the directory for the language under \lang
.-- 'name' is the name that will be displayed in the language selection list (in Users and Display Setup)
-- 'rtl' only needs to be set for right-to-left languages like Arabic and Hebrew
-- 'encoding' used in translation file
-- 'version' always set to '' for manually installed languages.
-- 'path' installation path related to FA root (e.g. 'lang/en_US').
*/


$installed_languages = array (
  0 => 
  array (
    'code' => 'C',
    'name' => 'English',
    'encoding' => 'iso-8859-1',
  ),
  1 => 
  array (
    'code' => 'en_US',
    'name' => 'English US',
    'encoding' => 'utf-8',
    'path' => 'lang/en_US',
  ),
  2 => 
  array (
    'code' => 'ta_IN',
    'name' => 'Tamil IN',
    'encoding' => 'utf-8',
    'path' => 'lang/ta_IN',
  ),
);

$dflt_lang = 'C';
?>

Login to the default company as admin and navigate to Setup -> Install/Activate Languages and choose the ta_IN radio button. Logout and Login again and the Tamil Login Interface will come up.

If you are using PoEdit to compile the .po to .mo file, then in Windows, the following utility (make_mo.bat) will come in useful when placed and executed from where the .po file is:

set langname=ta_IN
set poedpath=C:\Program Files\Poedit\bin\
copy %langname%.po "%poedpath%"
set abc=%cd%
cd "%poedpath%"
msgfmt %langname%.po -o %langname%.mo

move %langname%.mo "%abc%"
del %langname%.po
cd %abc%
set abc=

Useful Links:
TamilCUBE Dictionary
TamilDict Dictionary
Google Translate
gxlate - My PHP function to obtain a single Google translated string without the use of any Google Translate API key.