解决Whoops, looks like something went wrong.
来源:互联网 发布:网络电影发展史 编辑:程序博客网 时间:2024/06/05 14:59
这是由于访问laravel项目报错的,由于最新laravel默认没有开启调试模式,我们看到的信息比较少;
开启调试模式
打开项目目录下config/app.php修改:'debug' => env('APP_DEBUG', true),原本为'debug' => env('APP_DEBUG', false),
再次访问,发现报错信息变多了,重要是
No supported encrypter found. The cipher and / or key length are invalid.
终端使用如下命令:
php artisan key:generate
将生成的key复制到config/app.php替换的APP_KEY键值。
这里我是由于使用 composer create-project laravel/laravel mylaravel创建项目之后将原来文件拷贝到新目录的时候。.env的隐藏文件没有拷贝。只要拷贝过去也可以。建议使用这种方式;
阅读全文
0 0
- 解决Whoops, looks like something went wrong.
- 解决Whoops, looks like something went wrong.
- "Whoops, looks like something went wrong"如何解决?
- 在github clone 的laravel项目,运行错误,Whoops, looks like something went wrong.
- Whoops, looks like something went wrong. 1/1 InvalidArgumentException in FileViewFinder.php line 13
- 问题:登陆Openstack dashboard ,页面出错,Something went wrong!
- Something went wrong: Unexpected error in AndroidAnnotations 4.2.0!
- 解决:ruby We're sorry, but something went wrong.We've been notified about this issue and we'll take a look at it shortly.
- orchard 点击更新的时候报错 Oops. Something went wrong ...
- CodeCademy-Python Learning:Practice Makes Perfect学习笔记-“Something went wrong :(”报错
- something wrong
- 英雄联盟whoops something broke 错误解决办法
- 解决 LaTeX Error: Something's wrong--perhaps a missing \item.
- heroku 部署ruby项目后 未连接数据库显示(We're sorry, but something went wrong. If you are the application owner )
- redis went away 解决
- UNIX & UNIX-like something
- looks like we got no XML document
- Just I did something wrong!
- ZOJ 2812
- 代理模式
- 数组元素循环右移问题 (20)
- STL:unique()函数
- hibernate 配置
- 解决Whoops, looks like something went wrong.
- springMVC使用jersey上传图片到图片服务器
- malloc/free和new/delete的区别
- 10分钟掌握Linux vi编辑器常见命令的使用,最简单的vi编辑器教程
- linux 下的sed awk
- JZOJ 1329. 旅行
- HTML <!DOCTYPE> 标签
- MySQL 常用操作
- 数据库事物的 ACID 属性和 5 种状态