0

我全新安装了 16.2,当我尝试注册新用户时,出现以下错误。我重新提取了 zip 并重新安装了数据库,但我得到了同样的错误。

Tikiwiki 位于 public_html/tiki 文件夹中,我没有对其进行任何调整。

任何帮助,将不胜感激。

这是错误:

Fatal error: Uncaught exception 'Zend\Math\Exception\RuntimeException' with message 'The RandomLib fallback pseudorandom generator is not installed. Please install it to support secure random numbers' in /home/ghsfhaco/public_html/tiki/vendor/zendframework/zend-math/src/Rand.php:75 Stack trace: #0 /home/ghsfhaco/public_html/tiki/vendor/zendframework/zend-math/src/Rand.php(60): Zend\Math\Rand getAlternativeGenerator() #1 /home/ghsfhaco/public_html/tiki/vendor/zendframework/zend-captcha/src/AbstractWord.php(354): Zend\Math\Rand getBytes(32) #2 /home/ghsfhaco/public_html/tiki/vendor/zendframework/zend-captcha/src/AbstractWord.php(340): Zend\Captcha\AbstractWord->generateRandomId() #3 /home/ghsfhaco/public_html/tiki/vendor/zendframework/zend-captcha/src/Image.php(447): Zend\Captcha\AbstractWord->generate() #4 /home/ghsfhaco/public_html/tiki/lib/captcha/captchalib.php(150): Zend\Captcha\Image->generate() #5 /home/ghsfhaco/public_html/tiki/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(171) : eval()'d c in /home/ghsfhaco/public_html/tiki/vendor/zendframework/zend-math/src/Rand.php on line 75

4

1 回答 1

0

前几天我们也遇到了这种情况,这是由于旧版本的 PHP 5 没有启用 mcrypt 扩展,我们最近修复了它,所以我认为有几个选项可供您选择:

  • 升级到 php 7(可能不是一个选项,除非它是你自己的服务器)
  • 为你的 php 启用 php-mcrypt(也可能不可能)
  • 使用来自dev.tiki.org的最近的“每日构建”16.x tarball再试一次
  • 或启用其他 CAPTCHA 方法之一Control panels->Security->Spam Protection,例如ReCaptchaCAPTCHA Questions

高温高压

于 2017-02-23T11:19:55.700 回答