Please state the steps with screenshots if possible to replicate the issue preferably in the Training demo company.

3,527

(10 replies, posted in Report Bugs here)

In FA 2.3 only some tables are InnoDB by default. You can try to first use the option of one-file-per-table so that the tables are moved away from the heap.

What version of MySQL are you using?
It is also possible you may have hit the limit of max_input_vars.

The MySQL will go away only when it does not have sufficient resources to continue to run.

Which tables in FA are you referring to?
What indexes are present for them and whether you have some additional index for optimisation from here.

1. Manually take backup of FA db.
2. Before deleting fiscal year from table, note it's id.
3. Check the entity relationship diagrams for all references to the fiscal year id.
4. The fiscal_year table's id field is related to fiscal_year field in audit_trail table.
5. In all other tables, the date is compared to check whether it is within the fiscal_year's date range.
6. In the sys_prefs table, there is a record for name= 'f_year'.

You might want to copy over the records you want to retain to a new table and delete the current table and then rename the newly created table to the original table's name.

The function delete_this_fiscalyear($selected_id) in admin/db/fiscalyears_db.inc does the fiscal_year deletion.

3,528

(10 replies, posted in Report Bugs here)

@kvvaradha: When you say you fixed it, you need to explain what you did so that the forum users can follow it. Was it a permissions issue or was the $path_to_root variable wrong at your end, etc.

Whilst deleting a fiscal year, turn on the sql_debug audit trail in config file and see what all sql statements are used. Then restore back to the pre-delete state and try out the sql statements one by one and see which statement takes a long time and what indexes are associated with the tables concerned that take time to re-index. Then place a pause like sleep(10); in the php code there so that there is sufficient time to complete the deletion/re-index process before carrying on.

@ gaurangs: Which form are you referring to? Why not just have 2 separate items as kits with different quantity each in a bundle?

You can probably either hardcode it yourself or modify the string in the .po file and then compile the .mo file and use it to suit your understanding.

3,531

(10 replies, posted in Report Bugs here)

FA 2.4 config.default.php lines 49-50:

    // Build for development purposes
    $build_version     = date("d.m.Y", filemtime("$path_to_root/CHANGELOG.txt"));

Check the value of $path_to_root at that point.

Probably because it is the prerogative of the Supplier to provide us the credit note that we take cognizance of in our books.

Modify the function that processes the login credentials. Get the second factor from an email or SMS and enter it into a session variable and then verify with the second factor server and populate a second session variable which then becomes a token of the outcome and remains persistent thereafter for the login session.

Use v2.3.25+ from the GitHub master.
Choose the company in the login page.
The default company is the one from which new companies can be created.
If you did not give a password during company creation then it is assumed to be "password".
Make sure you close all instances of the browser before logging into a different company.
All super users are "admin" for all companies created anew within FA.

Turn on Audit Trail in config file. It will not be specific to your filter.

@Joe: can you replicate this issue and if so please set the permissions for Items view fields.

3,537

(1 replies, posted in Announcements)

You might want to use the MySQL tuning Wizard and think about using the InnoDB File per table option (it is enabled by default in MySQL v5.6+).

A few index tweaks for the current stable version are available.

Thanks Joe for the v2.3 and v2.4 commits.

3,539

(1 replies, posted in Setup)

access/login.php

Bloomberg has changed their wrapper from span to div. Attached is the fix for FA 2.3. Kindly update both repos.

3,541

(2 replies, posted in Announcements)

Post Release fixes for FA v2.3.25.
Read caveats on using extensions with the new improved entropy.

Alternatively, you can send the email out to your gmail address from FA and then manipulate it in gmail and forward to who you want.

If you are using Mercury Mail in Windows XAMPP then you can configure your mail client to approve all outgoing mail before being sent.

Have a look at the Reporting Wiki Page which illustrates how to add a Signature to the Invoice and how to add extra lines to the invoice.

3,544

(3 replies, posted in Items and Inventory)

This called Tax inclusive price of product.
Have a look at Sales Types in the Wiki.

Disable Strict Mode in MySQL 5.7 and beyond:

https://support.kayako.com/article/472-how-do-i-disable-mysql-strict-mode-on-the-server
https://mattstauffer.co/blog/how-to-disable-mysql-strict-mode-on-laravel-forge-ubuntu

MySQL actually looks five different places for configuration files, so you can make the change I'm about to recommend several places. It'll look in

/etc/my.cnf,
/etc/mysql/my.cnf,
SYSCONFDIR/my.cnf,
$MYSQL_HOME/my.cnf, and
~/my.cnf.

The last one above is user-specific, and the third and fourth options rely on specifics from your environment.

In the my.cnf file, use the following:

[mysqld]
sql_mode=ONLY_FULL_GROUP_BY,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION

Then restart MySQL - in Debian / Ubuntu it is:

/etc/init.d/mysql restart

Thanks Janusz. Fixed in this commit.

First decide where you will have your pdfs to be attached and what naming convention you would use so that the "id" of the invoice is part of the file name. When creating links, the invoice number will be available to the script which can be used to construct the desired link for the file. Check out the code where the invoice is attached and add a similar line for your file.

Please note that this kind of change should be attempted by PHP programmers and is not meant for the faint of heart. Sufficient debugging will be needed as well besides checks for file presence, content and permissions need to be taken care of.

Checkout the reporting/includes/doctext.inc and reporting/includes/header2.inc files.

3,549

(3 replies, posted in Wish List)

Create a reporting folder in your company/# folder and place your modified repXXX.php files there. They will override the ones in the one in the webroot. This way your will not get overwritten on any update though you will have to manually update your mods for any enhancements changes in the core.

Make the different "Company Names" as part of the "Branch Address".

If it is just an issue of password, then reset it to "password" by using phpmyadmin or sqlyog or any other mysql client (even CLI) and execute the command for your company (assumed 0 here):

UPDATE 0_users SET 
  `password`=MD5("password")
, inactive=0
, role_id=2
, startup_tab='orders' 
WHERE user_id='admin';