Laravel 5.2及其非持久性App SetLocale在http://上的问题 [英] Issue with Laravel 5.2 and His non-persistent App SetLocale over http://

查看:131
本文介绍了Laravel 5.2及其非持久性App SetLocale在http://上的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在尝试对此Web应用程序进行故障排除时,任何人都可以向我指出正确的方向( Dorothea特殊学校 )几年前,我使用此链接创建了 Laravel 5和他的非永久性App SetLocale

Can anyone point me in the right direction when trying to troubleshoot this web app (Dorothea Special School) I created a few years back using this link Laravel 5 And His F*cking non-persistent App SetLocale

如果我记得当我第一次发布该Web应用程序时它运行良好,但是有一阵子它似乎无法正常运行...我想我确实检查了服务器上的日志文件和一些文件.更多的事情无济于事.您认为我需要在服务器上运行composer cmd吗?

If I can recall it was working perfectly when I 1st published the web app, but for a while now it doesn't seem to be working correctly... I think I did check the log file on the server and a couple more things to no avail. Do you think I need to run a composer cmd on the server?

推荐答案

您有2个选项:仅允许HTTP通过重定向http或对配置中的cookie禁用安全性.

You have 2 options: only allow https through redirecting http or disabling secure for cookies in your config.

这篇关于Laravel 5.2及其非持久性App SetLocale在http://上的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆