首页 > PHP编程 > Whoops, looks like something went wrong.

Whoops, looks like something went wrong.

2015年9月23日

Whoops, looks like something went wrong.
http://qiaolevip.iteye.com/blog/2065403

乔乐共享纵观千象每天进步一点点laravelwamp .

Html代码 复制代码 收藏代码
1.Whoops, looks like something went wrong.

这是由于访问laravel项目报错的,解决几种可能出现的错误。

1)打开:D:\java\wamp\www\subway\app\config\app.php 修改:’debug’ => true, debug基本为true

2)打开debug后出现这个错误,报错:OpenSSL did not produce a secure random number

Php代码 复制代码 收藏代码
1.pen: D:\java\wamp\www\subway\vendor\symfony\security\Symfony\Component\Security\Core\Util\SecureRandom.php
2. $this->logger->info(‘OpenSSL did not produce a secure random number.’);
3. }
4. }
5.
6. // initialize seed
7. if (null === $this->seed) {
8. if (null === $this->seedFile) {
9. throw new \RuntimeException(‘You need to specify a file path to store the seed.’);
10. }
11.
解决:php.ini 启用 extension=php_openssl.dll 扩展后,重启wamp服务。

接着访问laravel web项目:出现 表示运行成功,你可以大干一场了。

分类: PHP编程 标签:
本文的评论功能被关闭了.