Maximilian Posted October 21, 2017 Share Posted October 21, 2017 (edited) Hello everyone, I just installed prestashop on my server, everything went fine, and the installation was completed succesfully. But when I tried to visit my site for the first time or the admin panel, I get the Internal Error 500. I debugged the problem and I got the following message: EnvironmentIsBrokenException in Core.php line 110:Your system does not have a secure random number generator. in Core.php line 110 at Core::secureRandom('32') in Key.php line 23 at Key::createNewRandomKey() in RuntimeTests.php line 85 at RuntimeTests::testEncryptDecrypt() in RuntimeTests.php line 60 at RuntimeTests::runtimeTest() in Crypto.php line 178 at Crypto::encryptInternal('checksum|1572323833', object(KeyOrPassword), false) in Crypto.php line 26 at Crypto::encrypt('checksum|1572323833', object(Key)) in PhpEncryptionEngine.php line 58 at PhpEncryptionEngineCore->encrypt('checksum|1572323833') in PhpEncryption.php line 59 at PhpEncryptionCore->encrypt('checksum|1572323833') in Cookie.php line 362 at CookieCore->encryptAndSetCookie('checksum|1572323833') in Cookie.php line 400 at CookieCore->write() in Employee.php line 497 at EmployeeCore->logout() in AdminController.php line 2798 at AdminControllerCore->init() in Controller.php line 186 at ControllerCore->run() in Dispatcher.php line 379 at DispatcherCore->dispatch() in index.php line 95 Any Idea how to fix this problem and make prestashop work? Thanks in advance! Edited October 21, 2017 by Maximilian (see edit history) Link to comment Share on other sites More sharing options...
Maximilian Posted October 21, 2017 Author Share Posted October 21, 2017 Okay, problem solved upgrading PHP from 5.5 to 7.1. 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