Topic: Upgrade from 2.3 to latest version of 2.4.16 or latest ver

I am trying to upgrade from  2.3 to latest version of 2.4.16 or newer
I initially trying to follow the instruction of kvvaradha in below requiring to install first the FA 2.3.26, however installing the FA 2.3.26 in our hosting server never work even changing my php ver to  5,7 to 8

The API version of 2.3.26 to install is 5.0.12

Following are the error occurs when installing the FA 2.3.26

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; package has a deprecated constructor in /xpublic_html/front/includes/packages.inc on line 21

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; archive has a deprecated constructor in x/public_html/front/includes/archive.inc on line 17

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; tar_file has a deprecated constructor in x/public_html/front/includes/archive.inc on line 239

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; gzip_file has a deprecated constructor in x/public_html/front/includes/archive.inc on line 429

Appreciate any help to solve this


-------------------------------------------------------------------
Instruction to Upgrade from 2.3.24 to 2.4.4 on new server

-------------------------------------------------------------
1. First install a new copy of FA 2.3.26
2. Get backup from 2.3.24
3. Import it to the database to freshly installed FA 2.3.26
4. Now, goto the exports page and export it from FA2.3.26
5. Download a fresh stable FA 2.4.4 and install it without demo data.
6.  Goto backup and restore, and import the file you exported from Fa 2.3.26
7. Now goto upgrade and upgrade it.

It will upgrade your database to newer version.

This procedure i followed it for FA 2.4.1 upgrade from 2.3.19 So it might work If you have problem with 2.4.4.than go with 2.4.1 and than again one more upgrade to 2.4.4

Hope this helps.
------------------------------------------------------------

Re: Upgrade from 2.3 to latest version of 2.4.16 or latest ver

Deprecated is just a warning and can be suppressed in the php,ini.

Solution : Rename your function name emailcomm() to __construct()

Explanation: In previous versions of PHP, if PHP cannot find a __construct() function for a given class, it will search for the old-style constructor function, by the name of the class, but now old style constructors are DEPRECATED in PHP 7.0, and will be removed in a future version. You should always use __construct() in new code. Read php manual

   function __construct() {
      // copy your old constructor function code

https://stackoverflow.com/questions/47549783/php-deprecated-methods-with-the-same-name-as-their-class-will-not-be-constructo

Re: Upgrade from 2.3 to latest version of 2.4.16 or latest ver

Sounds like your server's PHP version, even with the change, isn't fully compatible with the older FA 2.3.26 installer.