Since it was among the construct/destruct changes it was not obvious. Thanks for the reference Joe.

2,277

(1 replies, posted in Accounts Receivable)

The Customer Branch is set to be the charge to address. All non "cash only" direct invoices have the option to deliver from / to fields. There is a refresh issue with the direct invoice / sales order entry page is a non cash payment mode is chosen in one form and abandoned and then another is opened.

Not yet.....

@joe: isn't it due?

This was changed in FA 2.3.5 as stated in the wiki.

2,280

(2 replies, posted in Installation)

The commit for allowing MariaDB uses an inline array reference on explode that is not accepted in PHP 5.3.1 and needs to be fixed as in the comment in it by replacing line 27 in includes/system_tests.inc:

    $test['result'] = $test['test']>='4.1' || explode('-', $test['test'])[1] == 'MariaDB';

with:

    if(!($test['result'] = ($test['test']>='4.1'))) {
        $db_str = explode('-', $test['test']);
        $test['result'] = ($db_str[1] == 'MariaDB');
    }

Clear the company/#/js_cache/*.js files and they will get re-created with the new preference settings on next login.

@itronics: make something generic wherever there is a reference that clashes with existing ones.

2,283

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

The demo does not seem to have it installed.
All methods are skeleton templates only.

2,284

(3 replies, posted in Setup)

@itronics: That was a really involved fix indeed. The second if to test for a zip can be an elseif..... in admin/backups.php and a string somewhere to indicate that the file was successfully downloaded will complete it.

@itronics: Should this not be adjusted as you had done earlier and committed?

2,286

(1 replies, posted in Wish List)

Core functions are included first. Only extra functions come in from the themes. Overrides in the company folder override similar files in the core path. Hooks are sequentially activated and they are generally class methods. Custom themes too can partake of it's class methods to override the default ones.

Trying to upload a module is available using the pkg extension and the ar method of archiving that is similar to the .deb Debian packaging.

Allowing any other means of upload will cause security issues if not taken heed to in the program construct.

2,287

(4 replies, posted in Translations)

I have the translated ones for FA 2.4.3 in the FA24extensions repo. Download and overwrite your .mo file

2,288

(5 replies, posted in Report Bugs here)

If your OS starts the MySQL server with the right default charset and collation and it matches that of the connection made from the php scripts, all should be well. This will affect both FA 2.3 and FA 2.4 as well.

2,289

(5 replies, posted in Report Bugs here)

This is specific to the mysqli_query execution where the connection handle is passed.

2,290

(9 replies, posted in Reporting)

Compare the php.ini files and the apache conf files.

2,291

(5 replies, posted in Report Bugs here)

Make sure that the default / current session / connection are all of the same charset.
Check on the values of the concerned MySQL variables.

2,292

(9 replies, posted in Reporting)

Make sure you have the appropriate font in the reporting/fonts folder.

2,293

(3 replies, posted in Setup)

When a backup is created and an attempt is made to download the backed-up file which downloads successfully, the spinner at the top keeps spinning and there is no message to state that the download was successful.

When a backed-up file is attempted to be viewed, there is no sql file extraction on archived backups before a view is attempted. If there is no intention of doing it for some reason, then a filter should be made before an attempt to allow a view like:

        if (!preg_match("/\.sql$/", $fname))
            display_error(_("You can only view *.sql backup files"));
        else {
..
..

in admin/backups.php file.

2,294

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

By end user I mean those who install, maintain and use FrontAccounting by themselves with the Slim API, not the FA application operatives using what someone else installs and maintains.

What is wrong with line 6 of index,php? Just a plain include of all php files in the src folder so that any function in any endpoint can use it. I am planning on working on it to make sure that native FA functions are used for the most part. It works for me.

If there is anyone for whom the code does not work, please let me know - I'd like to know why and will do what needs to be done. I am keeping it as backward compatible as is possible so that those on older PHP versions too can still keep their installs whilst leveraging the REST API.

If you put in some test access values in util.php, you can easily browse to say: http://localhost/fa24/modules/api24/category/1

I've been packaging the original submission from Andres Amaya Diaz for FA 2.3 and worked on it while it was being hammered out. You check the wiki history and the original threads too.

2,295

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

Mine is packaged to work without composer and it's dependencies  by default. The community now has the options of using it
1. with composer (your default) or
2. editing your release to work without it or
3. using mine (default no composer) directly.

Also my version does not need the PHP 5.4+ dependency of the new array declaration []. The FA and API paths are hardcoded in mine though.

Hope these differences will help end users make their choice.

2,296

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

Have synched my repo. Standardised the braces. It continues to work without composer. Latest version attached.

2,297

(5 replies, posted in Announcements)

With the release of every new version, interest in the community peaks and so do the spammers who wish to be seen by those crowding in.

Attached is the stats for user registrations and their posts during the 30 day period ending today.

Two-thirds are unwanted registrations.
One-fifth are such posters and posts.
Average visibility of spammers - 2 hours.

Opening too many windows may confuse cookies / sessions. This is more of a drill down to create a new account / account group without having to choose in a select box - especially one that is too long.

It will also be helpful for mobile layouts.

If we are to drill up and display as popups for information purposes, it should be okay for that.

2,299

(2 replies, posted in Accounts Receivable)

It can be a database permission error. Does the db user have update permissions on the FA database?

There is only one function that outputs this string - function page_processing() when it's lone argument is true. It is defined in includes/ui/ui_controls.inc.

You need to backport this fix from FA v2.4 which has been done in my repo commit of 2015-08-29.

This has been extended to Ac Master as well.
The consolidated changes are attached herewith.

@joe: when committing, please add filter removal link where appropriate.