在我的项目中只有一个部分是日期预订部分,当预约被预订时重定向消息
"redirecting to <url>" shows in a white screen
.
这只发生在这个函数中。我已经检查过此页面中使用的布局是否有 Doctype
之前的任何空间。但没关系,还检查了 <?php and ?> in the head.blade.php
之前的任何空间.但什么也没注意到。
这从昨天开始突然出现,我刚刚在 head 中写了一个 php 代码用于检查和显示 meta title and meta description
.
Controller 函数末尾使用的重定向代码是:
return Redirect::to('/home/my-profile/'.$d_id.'#menu5');
谁能告诉我如何避免这条消息像这样显示。?
最佳答案
我有同样的问题,对我来说问题是我在 <?php
之前的 Controller 中有一个空间。标签
关于redirect - laravel 重定向到在白屏中显示一条消息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26986370/