firstModel权限问题

laravel根目录下没有 .env , 执行 cp .env.example .env
storage和bootstrap/cache 没有给写入权限,

执行

chmod -R 777 storage

chmod -R 777 bootstrap/cache

chmod -R 777 public/uploads

 

问题报错:找不到url   xhr权限不够

修改httpd.conf文件的 304 行 None为all

AllowOverride all

338行  None 为 All

AllowOverride None

上次问题解决,是比对httpd.conf进行的修改!

 

登录问题解决:

1.配置model中的user表结构 和表字段
2.密码加密使用laravel的by加密

posted @ 2017-09-25 09:53  LvFish  阅读(139)  评论(0编辑  收藏  举报