Whoops, looks like something went wrong

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

 

pen: D:\java\wamp\www\subway\vendor\symfony\security\Symfony\Component\Security\Core\Util\SecureRandom.php  
                $this->logger->info('OpenSSL did not produce a secure random number.');  
            }  
        }  
   
        // initialize seed  
        if (null === $this->seed) {  
            if (null === $this->seedFile) {  
                throw new \RuntimeException('You need to specify a file path to store the seed.');  
            }  

 

解决:php.ini 启用 extension=php_openssl.dll 扩展后,重启wamp服务。

 

posted @ 2015-10-16 11:02  举个栗子  阅读(4556)  评论(0编辑  收藏  举报