1

(10 replies, posted in Setup)

Got it to work.

https://answers.microsoft.com/en-us/microsoftedge/forum/all/suddenly-unable-to-login-to-specific-websites/b7fb9f4c-4480-4612-9604-786ecc15bfe7

Just reset all the settings, restart edge and now it is fine.

2

(10 replies, posted in Setup)

When looking in the DevTools in Chrome I get the following warnings and Errors.

'head[profile]' is not supported by Chrome, Chrome Android, Edge 79+, Firefox 4+, Safari 16.4+. (Warning)

<head profile="http://www.w3.org/2005/10/profile">
sales/sales_order_entry.php?NewInvoice=0

A 'viewport' meta element was not specified. (This shows as an error)
<iframe id="CCIframe" src="javascript:false;" frameborder="0" scrolling="no"></iframe>

One or more documents in this page is in Quirks Mode, which will render the affected document(s) with quirks incompatible with the current HTML and CSS specifications. (Warning)
Quirks Mode exists mostly due to historical reasons. If this is not intentional, you can add or modify the DOCTYPE to be `<!DOCTYPE html>` to render the page in No Quirks Mode.

3

(10 replies, posted in Setup)

And then it was back, when I select any drop down on the Direct Invoice. Switch off all the extensions, and stil get the issue when selecting a drop down.

The search will continue.

4

(10 replies, posted in Setup)

Looks like it was Grammarly's AI Assistant. When switched off the error disappeared in accordance with your reference above.

Thanks for the input.

Fix it in the order that you have used for the template.

6

(10 replies, posted in Setup)

When I use devtools in Edge get the following message: Unchecked runtime.lastError: The message port closed before a response was received. customer_inquiry.php:1

7

(10 replies, posted in Setup)

Tested it on Firefox and Chrome, and do not get the same issue, only on Edge. Trying to see what the issue is with Edge giving this issue?

8

(10 replies, posted in Setup)

apmuthu wrote:

FA has some fixes for PHP 8 and deployment notes from users on PHP 8.3 would be welcome.

I get the following with 2.4.18 on both PHP 8.2 and 8.3. 2.4.17 does not give me this lot of information on the top of the new Direct Invoice:

overall type: UNKNOWN_TYPE html type: HTML_TYPE_UNSPECIFIED server type: SERVER_RESPONSE_PENDING heuristic type: UNKNOWN_TYPE label: Customer: parseable name: customer_id section: customer_id_0_580 field signature: 4129239426 form signature: 9052072430472725357 form signature in host form: 9052072430472725357 alternative form signature: 9362437881849032101 form name: form id: form button titles: Add Item,Update,Place Invoice,Cancel Invoice field frame token: 3B6143B082BD1617F1F5DA667AE93353 form renderer id: 579 field renderer id: 580 visible: true focusable: true field rank: 0 field rank in signature group: 0 field rank in host form: 0 field rank in host form signature group: 0 field signature string: customer_id&select-one form signature string: form order: RegularForm0 field order: 0 form signatureV2: -4800606880226478312 field signatureV2: 7345264109609124934 domain signature: -3380465736882911453 c id: server metadata: 0 edge autofill field info: popup_dismissed: 0, not_meaningfulname: 0, config_autofillcore: 1, config_password: 1, config_excellike: 1, config_levo: 1, crowdsource_autofillcore: 1, crowdsource_password: 1, client_repeatable: 1 crowd decisions: crowd_decision_0:0, crowd_decision_1:0, crowd_decision_2:0, crowd_decision_3:0 labelling version: 0 autocomplete: off

I have no idea what this means.

Setting debug = 0 in config, makes no difference.

In the Profit and Loss report under General Ledger.

It is normally sorted according to the account number instead of the account name. Account name order in the Expenses just makes it easier to find information to complete the company's Tax return.

It is still grouped by the Classes/Groups/Account, depending on your setup.

Is there a way that one can sort the Expense Accounts Alphabetically instead of Account Numbers?

This is an issue again on all installations with FA 2.4.18, 2.4.17 and PHP 8.3 and 8.2.

The settings on the Setup: System and General GL Setup under suppliers and Purchasing defaults for GRN Clearing Account is set to: No Posting on GRN.

When I want to change the legal text on the invoice, it gives this error and refuses to save the information.

I have checked the Cpanel PHPMyAdmin under sys-prefs, and the grn_clearing_act is blank. Should I enter" as suggested or 0?

I tried blank, same problem, I entered " same problem. When I entered 0, it saved the information. When I wanted to change something else, the problem came back, and I again made it blank, saved it, and then changed it back to 0, and it saved the new information.

So there is clearly something wrong.

When creating a new client, the New Customer form does not have a space to allocate the Sales Group under the branch section. You have to create the Customer and then edit the beach to assign a sales group after the fact.

The clients have two distinct groups of clients, Steel works and Loans.

Is it possible to add the Sales Group to the New Customer Creation form?

13

(10 replies, posted in Setup)

I have a number of Joomla and Moodle sites and I need to upgrade my PHP from 8.2 to 8.3 for the new versions of Moodle and Joomla.

Will Front accounting still function?

I have upgraded on site's PHP and will check if I get any issue in FA and report here.

14

(38 replies, posted in Reporting)

Was there any final decision about the mail() versus PHPmailer for the future?

trafficpest wrote:

So its working out now? It is a pretty old plugin, and looks like php has changed to be quite a bit more strict recently.
downgrade php or upgrade FA are best bets

I cannot downgrade on PHP since I am running Joomla sites where I need the higher PHP. @Joe solutions above worked, but when I upgraded to 2.4.18 the errors above reappeared, so I just used my replacement files and then we were up and running again.

16

(38 replies, posted in Reporting)

seahawk wrote:
trafficpest wrote:

I tested it and it works in my install (though it worked for me prior to the fix)
I have created a mail branch in my extensions repo again with the fix.


https://github.com/trafficpest/FA24ex … tree/mail


@apmuthu I didn't forget to hash the files for init this time if you want to pull such a trivial fix. lol


Cannot download the file.

The line 131 error on PHP 8.2 has now gone away but it has two new errors:


Undefined array key 1 in file: /home/mysite/public_html/accounts/reporting/includes/class.mail.inc at line 88

trim(): Passing null to parameter #1 ($string) of type string is deprecated in file: /home/mysite/public_html/accounts/modules/mail/includes/PHPMailer/class.phpmailer.php at line 873

Seems to be quite a challenge.


After I updated the following bugs reported in this feed, https://frontaccounting.com/punbb/viewtopic.php?id=10451
the errors disappeared.

Were these changes implemented in 2.4.18, since after the update I had to make the changes again on the same files since the errors reappeared?

18

(38 replies, posted in Reporting)

seahawk wrote:

@trafficpest I am getting the following error on only one site with the same setup as three other sites with the SMTP class.mail replacement file:

TAX INVOICE IN003/2024. Sending document by email failed. Email: (it is a working email address, and the SMTP setup was checked and rechecked, but no luck in sending the invoice.)

Not sure which other file might have an impact on the sending.

I have updated FA to 2.4.18.

It is a simular issue that happened in 2013 and 2016 by searching the phrase "Sending document by email called."


This issue on another installation is still there despite the updates.

19

(38 replies, posted in Reporting)

trafficpest wrote:

I tested it and it works in my install (though it worked for me prior to the fix)
I have created a mail branch in my extensions repo again with the fix.


https://github.com/trafficpest/FA24ex … tree/mail


@apmuthu I didn't forget to hash the files for init this time if you want to pull such a trivial fix. lol


Cannot download the file.

The line 131 error on PHP 8.2 has now gone away but it has two new errors:


Undefined array key 1 in file: /home/mysite/public_html/accounts/reporting/includes/class.mail.inc at line 88

trim(): Passing null to parameter #1 ($string) of type string is deprecated in file: /home/mysite/public_html/accounts/modules/mail/includes/PHPMailer/class.phpmailer.php at line 873

Seems to be quite a challenge.

20

(38 replies, posted in Reporting)

@trafficpest I am getting the following error on only one site with the same setup as three other sites with the SMTP class.mail replacement file:

TAX INVOICE IN003/2024. Sending document by email failed. Email: (it is a working email address, and the SMTP setup was checked and rechecked, but no luck in sending the invoice.)

Not sure which other file might have an impact on the sending.

I have updated FA to 2.4.18.

It is a simular issue that happened in 2013 and 2016 by searching the phrase "Sending document by email called."

21

(38 replies, posted in Reporting)

The strange this is despite the error, it is still sending the email as well as the Bcc emails via the smtp.

22

(38 replies, posted in Reporting)

seahawk wrote:

On all three client sites the above SMTP Mailer setup is working.

On one site I get the following error:

Creation of dynamic property email::$phpmailerCharSet is deprecated in file: /home/mysite/public_html/accounts/reporting/includes/class.mail.inc at line 131

I have tried to redo the installation with still the same error. It is sending the email even with the error. Do not know why this is the only site with this error.

The Class.mail.inc at line 131 - 142 has the following code as downloaded for use with SMTP PHPMailer:

    public function send() {
        $this->phpmailerCharSet = $this->charset;

        //send the message, check for errors
        if (!$this->phpmailer->send()) {
            error_log('Mailer error:' . $this->phpmailer->ErrorInfo);
            //echo "Mailer Error: " . $this->phpmailer->ErrorInfo;
            return 0;
        } else {
            return 1;
        }
    }
}

-----------------
It is the same code on other installations and none of them has this particular problem.

Thanks Joe.

24

(38 replies, posted in Reporting)

On one of the installations of FA 2.4.17 get an age-old error. Do not know why on all the other FA installations I did not get this error: Sending document by email failed.

I have redone the PHPMail installation and replacement of all the files as per instruction but the error remains. The email address is correct and the SMTP mail sending setup is correct.

I have even deleted the mail account on the server and redo the setup, still have the same error.

Got this post for the same errors https://frontaccounting.com/punbb/viewtopic.php?id=6369

I am stuck again.

25

(38 replies, posted in Reporting)

On all three client sites the above SMTP Mailer setup is working.

On one site I get the following error:

Creation of dynamic property email::$phpmailerCharSet is deprecated in file: /home/mysite/public_html/accounts/reporting/includes/class.mail.inc at line 131

I have tried to redo the installation with still the same error. It is sending the email even with the error. Do not know why this is the only site with this error.