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服務。