哎呀,看起来像出事了 :(

时间:2018-04-08 17:46:38

标签: laravel-5.6

我已将laravel项目升级到5.6版本,无法查看有关错误的信息。我只看到包含Whoops, looks like something went wrong的空白页:https。

enter image description here

2 个答案:

答案 0 :(得分:0)

我很遗憾,我忘了启用调试class Human{ public static void walk() { System.out.println("Human walks"); } } class Boy extends Human{ public static void walk(){ System.out.println("Boy walks"); } public static void main( String args[]) { /* Reference is of Human type and object is * Boy type */ Human obj = new Boy(); /* Reference is of HUman type and object is * of Human type. */ Human obj2 = new Human(); // At compile time it gets decided which body of method it will call obj.walk(); obj2.walk(); } }

答案 1 :(得分:0)

这适用于我新的Laravel安装版本5.6

首先:将.env.example重命名为.env或创建.env文件

第二:生成一个关键起诉php工匠密钥:生成

第三步:复制生成的密钥并将其传递给.env文件 例如:APP_KEY=base64:H1HZa/**********

最后重新运行php artisan serve