Topic: 2.4.17 Email Bar Missing & PHP ver 8.0 and higher not working.

Hello,

I have several installations of FA and yesterday I upgraded them all to version 2.4.17.  Immediately the login fields disappeared and I couldn't login until I reduced the php version to 7.4.  I was on version 8 before that, with no issues.

Secondly, when emailing invoices to customers, there used to be a green process bar near the top of the window which showed the progress of the email sending process and also showed the email address to which the invoice was sent.  This has now completely disappeared.  The emails are still being sent, but there's no status bar or indication.

Please let me know how I can fix these issues as these are live production systems.

Thanks!
TD

Re: 2.4.17 Email Bar Missing & PHP ver 8.0 and higher not working.

1. Seems like your FA has core modified and something affected to connect login functions.   May be check the log and bring the errors here. We will help you out

Subscription service based on FA
HRM CRM POS batch Themes

Re: 2.4.17 Email Bar Missing & PHP ver 8.0 and higher not working.

2. May be the progressbar.gif path changed or not being captured with path to root level

Subscription service based on FA
HRM CRM POS batch Themes

Re: 2.4.17 Email Bar Missing & PHP ver 8.0 and higher not working.

Make sure you update your FA to the bleeding edge where some PHP 8.2 issues have been fixed.

Re: 2.4.17 Email Bar Missing & PHP ver 8.0 and higher not working.

The bleeding edge solution worked, thank you very much!  However, there is now another issue:  The login screen pops up with every option I click in FA.  This wasn't happening before.

How can I fix?

Thanks!

Re: 2.4.17 Email Bar Missing & PHP ver 8.0 and higher not working.

kvvaradha wrote:

1. Seems like your FA has core modified and something affected to connect login functions.   May be check the log and bring the errors here. We will help you out

Here's the current log:

[23-Mar-2024 06:19:50 America/Boise] 0:tdavis:class.phpmailer.php:2652: Function get_magic_quotes_runtime() is deprecated
[23-Mar-2024 06:20:26 America/Boise] DEBUG: sending mail to: Cindy XXXXXXXX <cindy@XXXXXXXXXXX.com>
[23-Mar-2024 06:20:26 America/Boise] DEBUG: parsed mail:Array
(
    {name} => Cindy XX
    {email} => cindy@XXXXXXXXXX.com
)

[23-Mar-2024 06:20:26 America/Boise] 0:tdavis:class.phpmailer.php:2652: Function get_magic_quotes_runtime() is deprecated
[30-Mar-2024 12:09:09 America/Boise] 0:tdavis:login.php:82: Undefined array key "timeout"
[30-Mar-2024 12:09:09 America/Boise] 0:tdavis:login.php:82: Trying to access array offset on value of type null
[30-Mar-2024 12:09:09 America/Boise] 0:tdavis:login.php:138: Undefined array key "timeout"
[30-Mar-2024 12:09:09 America/Boise] 0:tdavis:login.php:138: Trying to access array offset on value of type null
[30-Mar-2024 12:09:09 America/Boise] 0:tdavis:login.php:138: foreach() argument must be of type array|object, null given
[30-Mar-2024 12:09:18 America/Boise] 0:tdavis:login.php:82: Undefined array key "timeout"
[30-Mar-2024 12:09:18 America/Boise] 0:tdavis:login.php:82: Trying to access array offset on value of type null
[30-Mar-2024 12:09:18 America/Boise] 0:tdavis:login.php:138: Undefined array key "timeout"
[30-Mar-2024 12:09:18 America/Boise] 0:tdavis:login.php:138: Trying to access array offset on value of type null
[30-Mar-2024 12:09:18 America/Boise] 0:tdavis:login.php:138: foreach() argument must be of type array|object, null given
[30-Mar-2024 12:50:23 America/Boise] 0:tdavis:date_functions.inc:387: trim(): Passing null to parameter #1 ($string) of type string is deprecated
[30-Mar-2024 12:50:23 America/Boise] 0:tdavis:date_functions.inc:387: trim(): Passing null to parameter #1 ($string) of type string is deprecated
[30-Mar-2024 12:51:17 America/Boise] 0:tdavis:login.php:82: Undefined array key "timeout"
[30-Mar-2024 12:51:17 America/Boise] 0:tdavis:login.php:82: Trying to access array offset on null
[30-Mar-2024 12:51:17 America/Boise] 0:tdavis:login.php:138: Undefined array key "timeout"
[30-Mar-2024 12:51:17 America/Boise] 0:tdavis:login.php:138: Trying to access array offset on null
[30-Mar-2024 12:51:17 America/Boise] 0:tdavis:login.php:138: foreach() argument must be of type array|object, null given
[30-Mar-2024 12:51:17 America/Boise] 0::session.inc:130: session_destroy(): Trying to destroy uninitialized session
[30-Mar-2024 15:24:43 America/Boise] 0:tdavis:login.php:82: Undefined array key "timeout"
[30-Mar-2024 15:24:43 America/Boise] 0:tdavis:login.php:82: Trying to access array offset on null
[30-Mar-2024 15:24:43 America/Boise] 0:tdavis:login.php:138: Undefined array key "timeout"
[30-Mar-2024 15:24:43 America/Boise] 0:tdavis:login.php:138: Trying to access array offset on null
[30-Mar-2024 15:24:43 America/Boise] 0:tdavis:login.php:138: foreach() argument must be of type array|object, null given
[30-Mar-2024 15:24:43 America/Boise] 0::session.inc:130: session_destroy(): Trying to destroy uninitialized session

Re: 2.4.17 Email Bar Missing & PHP ver 8.0 and higher not working.

So I've just discovered that my host as depreciated anything below php ver 8.1, so after I switched to version 8.1 to test the bleeding edge update, I was unable to switch it back.  This effectively renders my production system unusable!

So I would be very grateful for any assistance you can give at this point.

Thanks in advance!

Re: 2.4.17 Email Bar Missing & PHP ver 8.0 and higher not working.

1. Your update go corrupted. It doesn't get the timeout properly. That's the reason for login popup. And your session timeouts frequently.
2. You are still using old phpmailer class. Update your phpmailer to send mail.

Subscription service based on FA
HRM CRM POS batch Themes

Re: 2.4.17 Email Bar Missing & PHP ver 8.0 and higher not working.

I downloaded the update from the link provided by apmuthu, and simply overwrote my existing files with them.  How should I fix the corruption?

Also, I am using send mail, because my email is a corporate Gmail account.