Carlos Tecnomaia Posted August 17, 2023 Share Posted August 17, 2023 (edited) Hello, I need help on this problem "508 Resource Limit Is Reached" The errors apears like this: [16-Aug-2023 15:28:00 Portugal] PHP Warning: Use of undefined constant MCRYPT_RIJNDAEL_128 - assumed 'MCRYPT_RIJNDAEL_128' (this will throw an Error in a future version of PHP) in /home/tecnomai/public_html/classes/Rijndael.php on line 124 [16-Aug-2023 14:28:01 UTC] PHP Notice: unserialize(): Error at offset 8191 of 8192 bytes in /home/tecnomai/public_html/classes/cache/CacheFs.php on line 40 This is how line 124 looks like: return hash_hmac( 'sha256', $this->_iv . MCRYPT_RIJNDAEL_128 . $encrypted, $macKey ); } This is how line 40 looks like: $keys_filename = $this->getFilename(self::KEYS_NAME); if (@filemtime($keys_filename)) $this->keys = unserialize(file_get_contents($keys_filename)); What is the function of Rijndael.php My website is www.tecnomaia.pt Thanks for your help. Edited August 17, 2023 by Carlos Tecnomaia (see edit history) Link to comment Share on other sites More sharing options...
musicmaster Posted August 19, 2023 Share Posted August 19, 2023 php version? Prestashop version? Link to comment Share on other sites More sharing options...
Carlos Tecnomaia Posted August 24, 2023 Author Share Posted August 24, 2023 (edited) Hello musicmaster, PHP Version: 8.1.16 (changed today to 7.1) Prestashop version: 1.6.1.24 Thanks for your help. Edited August 24, 2023 by Carlos Tecnomaia (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now