felixjing

第 3408 位会员
注册于 2016-01-08 01:10:05
活跃于 2017-03-28 16:07:49


专栏文章
没有任何数据~~
最近话题
最新评论
  • Laravel-admin 更新动态 at 2017-02-27 16:48:31

    5.1被抛弃了么...

  • 如何在用户创建之后更新其他用户的用户组? at 2016-09-17 15:27:18

    已解决 :
    $child_rolename = $child->roles->first() 拿到的是个数组
    所以直接用$child_rolename['name'] 就好了

  • 如何在用户创建之后更新其他用户的用户组? at 2016-09-17 14:12:19

    @young 谢谢回复
    但是修改后还是报一样的错误。。

  • 数组扁平化问题? at 2016-09-16 10:06:10

    @zmecust 多谢

  • 数组扁平化问题? at 2016-09-15 21:54:50

    @zmecust 只是简单写了下数组举例,实际从数据库循环取出整理后的数组会有好多个,每个数组里又可能有好多个

  • Laravel Ajax 提交 404 错误 at 2016-01-08 10:57:09

    @Someant Whoops, looks like something went wrong.

    1/1 刚刚贴错了,这是那个500的错误 Whoops, looks like something went wrong.

    MethodNotAllowedHttpException in RouteCollection.php line 219:
    in RouteCollection.php line 219
    at RouteCollection->methodNotAllowed(array('POST')) in RouteCollection.php line 206
    at RouteCollection->getRouteForMethods(object(Request), array('POST')) in RouteCollection.php line 158
    at RouteCollection->match(object(Request)) in Router.php line 802
    at Router->findRoute(object(Request)) in Router.php line 670
    at Router->dispatchToRoute(object(Request)) in Router.php line 654
    at Router->dispatch(object(Request)) in Kernel.php line 246
    at Kernel->Illuminate\Foundation\Http{closure}(object(Request))
    at call_user_func(object(Closure), object(Request)) in Pipeline.php line 139
    at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in CheckForMaintenanceMode.php line 44
    at CheckForMaintenanceMode->handle(object(Request), object(Closure))
    at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
    at Pipeline->Illuminate\Pipeline{closure}(object(Request))
    at call_user_func(object(Closure), object(Request)) in Pipeline.php line 103
    at Pipeline->then(object(Closure)) in Kernel.php line 132
    at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 99
    at Kernel->handle(object(Request)) in index.php line 54

  • Laravel Ajax 提交 404 错误 at 2016-01-08 10:44:23

    @Someant Sorry, the page you are looking for could not be found.

    1/1 NotFoundHttpException in RouteCollection.php line 161:
    in RouteCollection.php line 161
    at RouteCollection->match(object(Request)) in Router.php line 802
    at Router->findRoute(object(Request)) in Router.php line 670
    at Router->dispatchToRoute(object(Request)) in Router.php line 654
    at Router->dispatch(object(Request)) in Kernel.php line 246
    at Kernel->Illuminate\Foundation\Http{closure}(object(Request))
    at call_user_func(object(Closure), object(Request)) in Pipeline.php line 139
    at Pipeline->Illuminate\Pipeline{closure}(object(Request)) in CheckForMaintenanceMode.php line 44
    at CheckForMaintenanceMode->handle(object(Request), object(Closure))
    at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in Pipeline.php line 124
    at Pipeline->Illuminate\Pipeline{closure}(object(Request))
    at call_user_func(object(Closure), object(Request)) in Pipeline.php line 103
    at Pipeline->then(object(Closure)) in Kernel.php line 132
    at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 99
    at Kernel->handle(object(Request)) in index.php line 54

  • Laravel Ajax 提交 404 错误 at 2016-01-08 10:40:59

    @felixjing input type="hidden" id="token" value="" 这个token显示是空的? 需要设置么?

  • Laravel Ajax 提交 404 错误 at 2016-01-08 10:40:25

    @felixjing input type="hidden" id="token" value="{{ csrf_token() }}"

  • Laravel Ajax 提交 404 错误 at 2016-01-08 10:39:55

    @Someant 会不会和token有关,我把代码改成 ,ajax data传token,但是看代码token是空得

  • Laravel Ajax 提交 404 错误 at 2016-01-08 10:36:21

    @Someant 只去掉命名空间还是500 ,如果路由不行group直接写成Route::post('/mstore/morder', 'SitesController@morder'); 把ajax提交的路径也改成/mstore/morder的话是404

  • Laravel Ajax 提交 404 错误 at 2016-01-08 10:29:13

    @Someant Whoops, looks like something went wrong. MethodNotAllowedHttpException in RouteCollection.php line 219:

  • Laravel Ajax 提交 404 错误 at 2016-01-08 10:21:43

    @Someant POST http://yueyu-laravel:8888/ajax/mstore/morders 500 (Internal Server Error) 提示500错误

  • Laravel Ajax 提交 404 错误 at 2016-01-08 09:33:00

    @orvice 改成这样就成500错误了.....