Description of my issue:
My site ran on PHP5.3 and the clean build I have restored it onto is using the latest PHP5.5 - I am not sure how to revert it back to PHP5.3
Backup works fine however site launches and appears ok until I try and login (front or back end).
When I configure Public debugging, I get:
Notice: Use of undefined constant MCRYPT_RIJNDAEL_256 - assumed 'MCRYPT_RIJNDAEL_256' in /home/pwa/public_html/libraries/fof/encrypt/aes.php on line 44
Notice: Use of undefined constant MCRYPT_MODE_CBC - assumed 'MCRYPT_MODE_CBC' in /home/pwa/public_html/libraries/fof/encrypt/aes.php on line 63
Fatal error: Call to undefined function mcrypt_get_iv_size() in /home/pwa/public_html/libraries/fof/encrypt/aes.php on line 144
So I guess this is an issue around PHP 5.5 vs PHP 5.3
I have disabled 2factor authentication by renaming the plugins/system/admintools/admintools/main.php and
I have renamed the /.htaccess
I have added extension=mcrypt.so to the php.ini file (as per the suggestion in https://www.akeebabackup.com/support/site-restoration/19914-kickstart-on-php-v5-5-3.html)
How can I get Admintools to work with the new PHP configuration or at least allow me to login to the backend?
Or should I create a new build on using PHP5.3 instead of PHP5.5 (not sure how to force the installation of a previous version of PHP instead of the latest version), restore the site and then upgrade to PHP 5.5 later?