gpt4 book ai didi

php - 迁移到新域时 Prestashop 将不起作用

转载 作者:太空宇宙 更新时间:2023-11-03 11:42:46 24 4
gpt4 key购买 nike

我将 Prestashop 1.7.0 移至新的虚拟主机,但出现此错误:

Fatal error: Uncaught exception 'Defuse\Crypto\Exception\EnvironmentIsBrokenException' with message 'Your system does not have a secure random number generator.' in /membri/gbdns/vendor/defuse/php-encryption/src/Core.php:110 Stack trace: #0 /membri/gbdns/vendor/defuse/php-encryption/src/Key.php(23): Defuse\Crypto\Core::secureRandom(32) #1 /membri/gbdns/classes/PhpEncryptionEngine.php(101): Defuse\Crypto\Key::createNewRandomKey() #2 /membri/gbdns/classes/PhpEncryption.php(97): PhpEncryptionEngineCore::createNewRandomKey() #3 /membri/gbdns/config/bootstrap.php(131): PhpEncryptionCore::createNewRandomKey() #4 /membri/gbdns/config/config.inc.php(56): require_once('/membri/gbdns/c...') #5 /membri/gbdns/index.php(27): require('/membri/gbdns/c...') #6 {main} thrown in /membri/gbdns/vendor/defuse/php-encryption/src/Core.php on line 110

我有完美运行的 PHP 5.6 和 Mysql

我尝试禁用标志 PS_CIPHER_ALGORITHM 也许我在新域中没有 crypt,但问题仍然存在

最佳答案

此问题已报告给 PrestaShop,他们表示将在 1.7.0.1 中通过其他方式修复此问题。

http://forge.prestashop.com/browse/BOOM-1735

要临时修复它,您可以按照以下说明操作:

  • 您可以将 random_compat 版本设置为 1.4 并使用 composer install,但您需要能够通过 ssh 访问您的服务器。

关于php - 迁移到新域时 Prestashop 将不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40572154/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com