Hello

@MacKenzie
The latest update of FrontHrm can be downloaded here: https://github.com/notrinos/FrontHrm/ar … ads/FA.zip
You may should read installation instruction in post #1 of this thread to get the module working.

@PatJr
S solution for repo issue can be found in post 30 of this thread:
https://frontaccounting.com/punbb/viewt … 95&p=2

A similar issue here may give some clues:
https://frontaccounting.com/punbb/viewtopic.php?id=9695

3

(12 replies, posted in Setup)

You should downgrade to php 5.6, FA 2.3 cannot run in php 7

Hello

Please download the latest FrontHrm from this repo and install it manually to avoid the issue:
https://github.com/notrinos/FrontHrm/ar … ads/FA.zip
Read post #1 in THIS THREAD for more detailed instruction.

Regards

Hello @fassi_79

Please download the latest FrontHrm from this repo and install it manually to avoid the issue:
https://github.com/notrinos/FrontHrm/ar … ads/FA.zip
Read post #1 in THIS THREAD for more detailed instruction.

Regards

6

(57 replies, posted in Installation)

rafat wrote:

@notrinos
repo.notrinos.com does not respond to ping from anywhere as we speak. Is it on purpose?

@rafat
repo.notrinos.com is behind a reverse proxy server so it may the cause of this
I did not intend to do that.

7

(57 replies, posted in Installation)

I have created a minor repository at repo.notrinos.com
Someone who facing the same problem can temporary switch to repo.notrinos.com
Do the following:

- Open version.php then at line 23 replace repo.frontaccounting.eu with repo.notrinos.com
- Replace FA.pem with the attached herewith or Open FA.pem then replace it's content with the below:

-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA71QcW3pUnzkE31fCH0hN
+3to2pi3ILfshzLYTl2O1HDb5YjFEG4KbwlXfc533F7WMeyWg/wBPldV1ti05/uf
5wMnqrzeZG5Br/XjSDvoYS0Be7ktya9m4OWeG0SVjGKjxkqqPJZR1U1wk5cGu4QS
8MTpTf14WhP1mGGMgSH2V5W8mlr3qf4nZ6gZ7eqdY+HOwScbL/myagoWaLnrNsar
D52Ysg4O1YOM46NLu/EmpLOKPWT/77MMU2aw793wSxltJksf9gUa2JaZq0bd/oP1
3hxiBRGj4mGALON8rpY1ULAjtH1VJmL2tgH5lmW5ubTO+GolHd5D4QE6LKOHfI20
IQIDAQAB
-----END PUBLIC KEY-----

Remember backup the two above files for later use when you want to go back with the original repo.

I confirm this issue is existing in 2.4.11
@fcarll, you can fix the issue by replace line 263 of gl_journal_ui.inc with this code:

set_focus($sub_accounts ? 'person_id' : ($dim < 1 ? 'AmountDebit' : 'dimension_id'));

@kurt

That file can be found in post #5 of this thread:
https://frontaccounting.com/punbb/viewtopic.php?id=9606

10

(3 replies, posted in Installation)

Open file config.php then set $go_debug to 2 and load the page again
There may be some error messages would give clues.

This post may solve the same of your issue:
https://frontaccounting.com/punbb/viewtopic.php?id=9606

Hi @haakon0603

Exactly the issue is from leave_types.php
The issue has been solved and can be seen here

Thank you for detecting the problem

13

(15 replies, posted in Report Bugs here)

The problem has been firing from this commit: https://github.com/FrontAccountingERP/F … 07ada68667
Someone who faced the same issue after upgrade FA to 2.4.11 can get solution by roll back the file session.inc to state it was before the commit.
Or just replace the session.inc with this file:
https://raw.githubusercontent.com/Front … ession.inc

@itronics
I have tested in both apache and nginx server with the same database which has 73666 transactions and here is the result:

Nginx:
- Old query took 1.1133 seconds
- New query took 1.1142 seconds

Apache:
- Old query took 1.8560 seconds
- New query took 1.8940 seconds

The perfomance difference is not noticeable.

Note: The apache is installed on a localhost of a windows 10 machine, the nginx server is on a centos7 server machine

@RoelToledo, @kvvaradha

This is not a bug but a feature that was purposefully created since 2018 to initial the item list value according to the last order.
See this commit: https://github.com/FrontAccountingERP/F … 73cd0e0450
@RoelToledo if you dont want this feature can disable it by replace the line 506 in sales_order_ui.inc with this code:

$_POST['stock_id'] = null;

Agreed @itronics
I have tested on a database with 73000 customer transactions and Customer Transactions page can give result in less than 3 seconds

Actually the old query INSERT INTO table1 SELECT col.. FROM table2 is a right syntax.
But better to keep the new query because if the subquery SELECT return null the system will raise an error meanwhile the old query can run successfully even when the SELECT subquery returns null

18

(4 replies, posted in FA Modifications)

email scripts can be found in reporting/includes/pdf_report.inc and reporting/includes/class_mail.inc

The print problem with purchase order was appeared since this commit and then was fixed by this commit
Those who encountered this problem can simply update the source code with the lastest snapshot (download here) to get it disappeared

The most effective method for this case is downgrade php version to 5.6, it should much easier than update FrontAccounting to 2.4 unless you have to.

file isession.inc at line 34 uses get_magic_quotes_gpc() that has been deprecated as of php 7.4

line 776 of pdf_report.inc uses function money_format() that is deprecated in php7.4

23

(5 replies, posted in Setup)

All contacts for both suppliers and customers are recorded in two tables: crm_contacts and crm_person
If customers, suppliers data are the same in both company then copy the said two tables and modify table prefix will achieve your goal.

Hello @mfonnix

FrontHrm already has functions to add extra earning and deduction elements in Salary Structure page.
However if you want to investigate how the calculations work then most of them can be found in payslip_ui.inc and payslip_db.inc

In applications/generalledger.php line 75, the security area for close_period.php should be 'SA_GLCLOSE'