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: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

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!