网站安装时出现Whoops, looks like something went wrong.

本来是要记录下关于这个报错的一些问题,但是发现freekan安装不了的,也是这几个问题,索性就在这里总结一下程序安装时出现的一些问题。

Whoops, looks like something went wrong.

直接把源码里根目录.env文件的APP_KEY值复制下来修改config/app.php内key的值
Whoops, looks like something went wrong.
Whoops, looks like something went wrong.
'key' => env('APP_KEY','base64:R+8tyPpcbK6ELMheXa4D8hsxdVvXDilVUSFCFqaH8vY='), 这里的值只要两处相同就可以
这个APP_KEY也可通过php artisan key:generate生成;

php错误提示open_basedir restriction in effect

Whoops, looks like something went wrong.
这个open_basedir在php.ini里可以设定,但是之后还是会有错误,所以我在分享源码的页面也说明了,install/1出现错误的话,就改成install/2访问就行了
Whoops, looks like something went wrong.

数据库连接错误

这个错误遇到的很少,就是有一次有个小伙伴在安装的时候,不小心把2改成了3,直接跳过了数据库信息填写,安装成功,然后首页打不开
Whoops, looks like something went wrong.
这个问题,可以直接删除storage/app/public/install/install.lock文件来重新安装。

阿里云广告 淘宝优惠券
Last modification:October 19th, 2019 at 12:51 am
If you think my article is useful to you, please feel free to appreciate

Leave a Comment

5 comments

  1. imbitch

    下载链接呢??

    1. 森七
      @imbitch

      这是问题解决的文章,关于源码下载,https://www.mosq.cn/post-294.html

  2. 随意

    laravel!

  3. 灵曦

    滴!学生卡!打卡时间:下午3:24:46,请上车的乘客系好安全带~

  4. 森七

    滴!学生卡!打卡时间:上午12:54:19,请上车的乘客系好安全带~