2017-02-22 121 views
0

我做了新安装的16.2,当我尝试注册一个新用户,我得到下面的错误。我重新提取了zip并重新安装了数据库,但我得到了同样的错误。Tikiwiki 16.2错误而注册新用户

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

回答

0

这也出乎我们了一天,这是由于PHP 5的旧版本,还没有得到启用mcrypt扩展,以及我们最近固定它,对你那么有几个选项,我认为:

  • 升级到PHP 7(可能不是一个选项,除非这是你自己的服务器)
  • 启用PHP-mcrypt的你PHP(也可能没有牛逼可能)
  • 与最近 “每日构建” 16.x压缩包从dev.tiki.org
  • 再试或启用对Control panels->Security->Spam Protection其他CAPTCHA的方法之一,如ReCaptchaCAPTCHA Questions

HTH

+0

那一定是它。我实际上只是禁用了'匿名编辑者必须输入反机器人代码(CAPTCHA)',因为我打算只允许注册用户发帖。感谢解释和如何解决它的选项。我会喜欢,但我只有12个声望,这需要15。 –