Jump to content

[Prestashop 1.7.2.3] - Error 505 After installation


Recommended Posts

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.

  1. in Core.php line 110
  2. at Core::secureRandom('32') in Key.php line 23
  3. at Key::createNewRandomKey() in RuntimeTests.php line 85
  4. at RuntimeTests::testEncryptDecrypt() in RuntimeTests.php line 60
  5. at RuntimeTests::runtimeTest() in Crypto.php line 178
  6. at Crypto::encryptInternal('checksum|1572323833', object(KeyOrPassword), false) in Crypto.php line 26
  7. at Crypto::encrypt('checksum|1572323833', object(Key)) in PhpEncryptionEngine.php line 58
  8. at PhpEncryptionEngineCore->encrypt('checksum|1572323833') in PhpEncryption.php line 59
  9. at PhpEncryptionCore->encrypt('checksum|1572323833') in Cookie.php line 362
  10. at CookieCore->encryptAndSetCookie('checksum|1572323833') in Cookie.php line 400
  11. at CookieCore->write() in Employee.php line 497
  12. at EmployeeCore->logout() in AdminController.php line 2798
  13. at AdminControllerCore->init() in Controller.php line 186
  14. at ControllerCore->run() in Dispatcher.php line 379
  15. at DispatcherCore->dispatch() in index.php line 95

 

Any Idea how to fix this problem and make prestashop work?

 

Thanks in advance!

Edited by Maximilian (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...