Call to undefined function Illuminate\Session() (View: /data/wwwroot/laravelblog/resources/views/Common/message.blade.php) (View: /data/wwwroot/laravelblog/resources/views/Common/message.blade.php)
加了Session()::get('success')之后就出錯了
加了Session()::get('success')之后就出錯了
2017-06-09
最新回答 / 矢志不渝LIU
你可以試試把group去掉,我之前就是你現在這種情況,我改了之后就可以了;而且我發現這種做法對session也沒影響,還沒有這個middleware都一樣<...圖片...>
2017-06-07
已采納回答 / janeping
你可以思考一下,你把activity定義成了全局的中間件.運行流程如下:請求->中間件->重定向到activity3->中間件->重定向到activity3->...如此循環
2017-06-02
Method[validator] does not exit.
這個錯誤的話,把對應的路由放進中間件web中就好了
這個錯誤的話,把對應的路由放進中間件web中就好了
2017-05-28
isset()判斷出錯解決方法:
{{(isset($students->sex) && $students->sex==$ind) ?'':'checked'}}
改一下三目運算的值就好了。因為這個 sex 在這會認為是沒有定義的。
{{(isset($students->sex) && $students->sex==$ind) ?'':'checked'}}
改一下三目運算的值就好了。因為這個 sex 在這會認為是沒有定義的。
2017-05-26
的Kernel.php文件沒有web這個詞,我是5.1版本的,應該不是版本問題吧
解決辦法:::
Route::group(['middleware'],function(){
})
解決辦法:::
Route::group(['middleware'],function(){
})
2017-05-24
Call to undefined function Illuminate\Encryption\openssl_encrypt()
2017-05-24