Support

Site Restoration

#38526 COPY OF ERRORS

Posted in ‘Site restoration’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

PHP version
n/a
CMS Type
Joomla!
CMS Version
n/a
Backup Tool Version
n/a
Kickstart version
n/a

Latest post by nicholas on Tuesday, 14 February 2023 00:08 CST

nyocca

Please look at the bottom of this page (under Support Policy Summary) for our support policy summary, containing important information regarding our working hours and our support policy. Thank you!

Β 

Can you help me with this issueΒ 

i COPIED THIS MESSAGE:

Β 

Application Error

Please submit the following error message and trace in its entirety when requesting support

Error β€” Undefined constant "MCRYPT_RIJNDAEL_128"

/home/nyocca/public_html/libraries/fof/encrypt/aes.php::L171

#0 /home/nyocca/public_html/installation/platform/models/joomlasetup.php(474): FOFEncryptAes::isSupported()
#1 /home/nyocca/public_html/installation/platform/models/joomlasetup.php(398): AngieModelJoomlaSetup->updateTFA('nxODmoVrojkrNoY...', 'GUAhXf8IkVKguSe...')
#2 /home/nyocca/public_html/installation/platform/models/joomlasetup.php(74): AngieModelJoomlaSetup->updateEncryptedData('nxODmoVrojkrNoY...', 'GUAhXf8IkVKguSe...')
#3 /home/nyocca/public_html/installation/angie/controllers/base/setup.php(23): AngieModelJoomlaSetup->applySettings()
#4 /home/nyocca/public_html/installation/framework/controller/controller.php(510): AngieControllerBaseSetup->apply()
#5 /home/nyocca/public_html/installation/framework/dispatcher/dispatcher.php(263): AController->execute('apply')
#6 /home/nyocca/public_html/installation/framework/application/application.php(176): ADispatcher->dispatch()
#7 /home/nyocca/public_html/installation/index.php(115): AApplication->dispatch()
#8 /home/nyocca/public_html/installation/index.php(230): mainLoop()
#9 {main}

nicholas
Akeeba Staff
Manager

It looks like something I identified myself and helped fix in Joomla itself back in September 2021: https://github.com/joomla/joomla-cms/issues/35480

You have a Joomla site running a version of Joomla prior to 3.10. Your site was hosted on PHP 5.x or 7.x. You tried to restore it on a server with PHP 8. However, these old versions of Joomla required the PHP mcrypt extension for Two Factor Authentication which is no longer available in PHP 8. Since the restoration script loads Joomla's code to handle Two Factor Authentication entries in your database and the code in your old version of Joomla doesn't work with PHP 8 you get an error coming from that old code.

There are two solutions.

If you have access to your original site, upgrade it to the latest Joomla 3.10 version. This is advisable anyway as it also addresses several security issues which were identified and fixed in the meantime.

If you do not have access to your original site, or cannot upgrade it, you need to set your target server's PHP version to 7.x or 5.x (ideally the same version as where you backed up from) and then restore your site. After restoring the site you should really upgrade Joomla to the latest 3.10 version.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

nyocca

Grateful and appreciative describes me, not only at this moment, but when I saw all the great apps Akeeba and you have added.

Such a great value. Thank you all.Β  I wish you viral success in all things. Veni, Vidi, Velcro!

nicholas
Akeeba Staff
Manager

Thank you! Have a great day!

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: Typically we work Monday to Friday, 9am to 7pm Cyprus timezone (EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets, but we cannot respond to them, outside of our working hours.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!

Summer vacations: Our support will be closed for replies and new tickets from August 6th to August 21st, 2022 due to summer vacations.