• Данный материал предоставлен сайтом исключительно в ознакомительных целях.
    Администрация не несет ответственности за его содержимое. По всем жалобам пишите на почту abusevhguru@yandex.ru

Помощь Помощь ! Файл Withdraw.blade.php в farta-box

ale_xandar

Пользователь
Сообщения
18
Реакции
17

ale_xandar

  • 18
  • 17
Создайте какой либо вывод и увас сразу будет работать

захожу даже если так, пишет ошибку, сделал заяавку на вывод, нигде не показало. Файл Withdraw.blade.php на серве есть, папка та же, попробовал чистый залить, нифига.
Вот лог:

Whoops, looks like something went wrong.
2/2ErrorException in 5e3c092b8acd22fe70c2321173e2a1d5f339810d.php line 46:Trying to get property of non-object (View: /var/www/csgow.ru/resources/views/admin/pages/withdraw.blade.php)
  1. in 5e3c092b8acd22fe70c2321173e2a1d5f339810d.php line 46
  2. at CompilerEngine->handleViewException(object(ErrorException), '1') in PhpEngine.php line 44
  3. at PhpEngine->evaluatePath('/var/www/csgow.ru/storage/framework/views/5e3c092b8acd22fe70c2321173e2a1d5f339810d.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'withdrows' => object(Collection))) in CompilerEngine.php line 59
  4. at CompilerEngine->get('/var/www/csgow.ru/resources/views/admin/pages/withdraw.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'withdrows' => object(Collection))) in View.php line 149
  5. at View->getContents() in View.php line 120
  6. at View->renderContents() in View.php line 85
  7. at View->render() in Response.php line 45
  8. at Response->setContent(object(View)) in Response.php line 201
  9. at Response->__construct(object(View)) in Router.php line 1028
  10. at Router->prepareResponse(object(Request), object(View)) in Router.php line 653
  11. at Router->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 53
  12. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Access.php line 24
  13. at access->handle(object(Request), object(Closure), 'admin') in Pipeline.php line 137
  14. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
  15. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in SubstituteBindings.php line 41
  16. at SubstituteBindings->handle(object(Request), object(Closure)) in Pipeline.php line 137
  17. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
  18. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in VerifyCsrfToken.php line 65
  19. at VerifyCsrfToken->handle(object(Request), object(Closure)) in Pipeline.php line 137
  20. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
  21. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in ShareErrorsFromSession.php line 49
  22. at ShareErrorsFromSession->handle(object(Request), object(Closure)) in Pipeline.php line 137
  23. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
  24. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in StartSession.php line 64
  25. at StartSession->handle(object(Request), object(Closure)) in Pipeline.php line 137
  26. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
  27. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37
  28. at AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) in Pipeline.php line 137
  29. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
  30. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in EncryptCookies.php line 59
  31. at EncryptCookies->handle(object(Request), object(Closure)) in Pipeline.php line 137
  32. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
  33. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 104
  34. at Pipeline->then(object(Closure)) in Router.php line 655
  35. at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 629
  36. at Router->dispatchToRoute(object(Request)) in Router.php line 607
  37. at Router->dispatch(object(Request)) in Kernel.php line 268
  38. at Kernel->Illuminate\Foundation\Http\{closure}(object(Request)) in Pipeline.php line 53
  39. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in CheckForMaintenanceMode.php line 46
  40. at CheckForMaintenanceMode->handle(object(Request), object(Closure)) in Pipeline.php line 137
  41. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
  42. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 104
  43. at Pipeline->then(object(Closure)) in Kernel.php line 150
  44. at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 117
  45. at Kernel->handle(object(Request)) in index.php line 53
1/2ErrorException in 5e3c092b8acd22fe70c2321173e2a1d5f339810d.php line 46:Trying to get property of non-object
  1. in 5e3c092b8acd22fe70c2321173e2a1d5f339810d.php line 46
  2. at HandleExceptions->handleError('8', 'Trying to get property of non-object', '/var/www/csgow.ru/storage/framework/views/5e3c092b8acd22fe70c2321173e2a1d5f339810d.php', '46', array('__path' => '/var/www/csgow.ru/storage/framework/views/5e3c092b8acd22fe70c2321173e2a1d5f339810d.php', '__data' => array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'withdrows' => object(Collection)), 'obLevel' => '1', '__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'withdrows' => object(Collection), '__currentLoopData' => object(Collection), 'msg' => 'info', 'loop' => object(stdClass), 'withdrow' => object(Withdraw))) in 5e3c092b8acd22fe70c2321173e2a1d5f339810d.php line 46
  3. at include('/var/www/csgow.ru/storage/framework/views/5e3c092b8acd22fe70c2321173e2a1d5f339810d.php') in PhpEngine.php line 42
  4. at PhpEngine->evaluatePath('/var/www/csgow.ru/storage/framework/views/5e3c092b8acd22fe70c2321173e2a1d5f339810d.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'withdrows' => object(Collection))) in CompilerEngine.php line 59
  5. at CompilerEngine->get('/var/www/csgow.ru/resources/views/admin/pages/withdraw.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'withdrows' => object(Collection))) in View.php line 149
  6. at View->getContents() in View.php line 120
  7. at View->renderContents() in View.php line 85
  8. at View->render() in Response.php line 45
  9. at Response->setContent(object(View)) in Response.php line 201
  10. at Response->__construct(object(View)) in Router.php line 1028
  11. at Router->prepareResponse(object(Request), object(View)) in Router.php line 653
  12. at Router->Illuminate\Routing\{closure}(object(Request)) in Pipeline.php line 53
  13. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Access.php line 24
  14. at access->handle(object(Request), object(Closure), 'admin') in Pipeline.php line 137
  15. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
  16. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in SubstituteBindings.php line 41
  17. at SubstituteBindings->handle(object(Request), object(Closure)) in Pipeline.php line 137
  18. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
  19. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in VerifyCsrfToken.php line 65
  20. at VerifyCsrfToken->handle(object(Request), object(Closure)) in Pipeline.php line 137
  21. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
  22. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in ShareErrorsFromSession.php line 49
  23. at ShareErrorsFromSession->handle(object(Request), object(Closure)) in Pipeline.php line 137
  24. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
  25. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in StartSession.php line 64
  26. at StartSession->handle(object(Request), object(Closure)) in Pipeline.php line 137
  27. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
  28. at Pipeline->Illuminate\Routing\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 37
  29. at AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) in Pipeline.php line 137
  30. at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in Pipeline.php line 33
 

ale_xandar

Пользователь
Сообщения
18
Реакции
17

ale_xandar

  • 18
  • 17
Так выглядит withdraw.blade.php
@extends('admin')

@section('content')
<div class="page-bar">
<ul class="page-breadcrumb">
<li>
<a href="/admin">Главная</a>
<i class="fa fa-circle"></i>
</li>
<li>
<span>Выводы</span>
</li>
</ul>
</div>

<h1 class="page-title"> Выводы пользователей </h1>

<div class="flash-message">
@foreach (['danger', 'warning', 'success', 'info'] as $msg)
@if(Session::has('alert-' . $msg))

<p class="alert alert-{{ $msg }}">{{ Session::get('alert-' . $msg) }} <a href="#" class="close" data-dismiss="alert" aria-label="close">&times;</a></p>
@endif
@endforeach
</div>

<div class="row">
<div class="col-md-12">
<div class="portlet light bordered">
<div class="portlet-body">
<table id="example" class="table table-striped table-bordered" cellspacing="0" width="100%">
<thead>
<tr>
<th>ID</th>
<th>Пользователь</th>
<th>Система</th>
<th>Кошелек</th>
<th>Сумма</th>
<th>Время</th>
<th>Статус</th>
<th>Редактировать</th>
</tr>
</thead>
<tbody>
@foreach($withdrows as $withdrow)
<tr>
<td style="vertical-align: middle;">{{$withdrow->id}}</td>
<td style="vertical-align: middle;"><a href=" {{ $withdrow->user->login }}" target="_blank">{{ $withdrow->user->username }}</a></td>
<td style="vertical-align: middle;">@if($withdrow->system == 'qiwi')
<center><img src=" " width="30px" alt = 'Qiwi Visa Wallet'></center>
@endif</td>
<td style="vertical-align: middle;">{{$withdrow->wallet}}</td>
<td style="vertical-align: middle;">{{$withdrow->amount}}</td>
<td style="vertical-align: middle;">{{$withdrow->dfh}}</td>
<td style="vertical-align: middle;">@if($withdrow->status == 0)
<div class="btn green btn-sm">Ожидает</div>
@elseif($withdrow->status == 1)
<div class="btn orange btn-sm">Выплачено</div>
@elseif($withdrow->status == 2)
<div class="btn red btn-sm">Отказано</div>
@endif</td>
<td style="vertical-align: middle;">@if($withdrow->status == 0)<a class="btn blue btn-sm" data-toggle="modal" data-target="#usr_edit" href="/admin/withdraw/{{ $withdrow->id }}/edit">Редактировать</a>@endif</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</div>
</div>
<div class="modal fade" id="usr_edit" tabindex="-1" role="basic" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
@include('admin.includes.modal_withdrows', ['user' => $withdrow])
</div>
</div>
</div>
@endsection
 

Dr.Goblin

Модератор
Сообщения
1,016
Реакции
568

Dr.Goblin

  • 1,016
  • 568
Отсутствует у вас он там тогда, такой функции в контроллерах нету.
То, что там файл лежит - ничего не значит.
 

LinePay

Легенда
Сообщения
348
Реакции
159

LinePay

  • 348
  • 159
Обратите внимание, пользователь заблокирован. Крайне не рекомендуем заключать сделки с этим пользователем,
Так выглядит withdraw.blade.php
@extends('admin')

@section('content')
<div class="page-bar">
<ul class="page-breadcrumb">
<li>
<a href="/admin">Главная</a>
<i class="fa fa-circle"></i>
</li>
<li>
<span>Выводы</span>
</li>
</ul>
</div>

<h1 class="page-title"> Выводы пользователей </h1>

<div class="flash-message">
@foreach (['danger', 'warning', 'success', 'info'] as $msg)
@if(Session::has('alert-' . $msg))

<p class="alert alert-{{ $msg }}">{{ Session::get('alert-' . $msg) }} <a href="#" class="close" data-dismiss="alert" aria-label="close">&times;</a></p>
@endif
@endforeach
</div>

<div class="row">
<div class="col-md-12">
<div class="portlet light bordered">
<div class="portlet-body">
<table id="example" class="table table-striped table-bordered" cellspacing="0" width="100%">
<thead>
<tr>
<th>ID</th>
<th>Пользователь</th>
<th>Система</th>
<th>Кошелек</th>
<th>Сумма</th>
<th>Время</th>
<th>Статус</th>
<th>Редактировать</th>
</tr>
</thead>
<tbody>
@foreach($withdrows as $withdrow)
<tr>
<td style="vertical-align: middle;">{{$withdrow->id}}</td>
<td style="vertical-align: middle;"><a href=" {{ $withdrow->user->login }}" target="_blank">{{ $withdrow->user->username }}</a></td>
<td style="vertical-align: middle;">@if($withdrow->system == 'qiwi')
<center><img src=" " width="30px" alt = 'Qiwi Visa Wallet'></center>
@endif</td>
<td style="vertical-align: middle;">{{$withdrow->wallet}}</td>
<td style="vertical-align: middle;">{{$withdrow->amount}}</td>
<td style="vertical-align: middle;">{{$withdrow->dfh}}</td>
<td style="vertical-align: middle;">@if($withdrow->status == 0)
<div class="btn green btn-sm">Ожидает</div>
@elseif($withdrow->status == 1)
<div class="btn orange btn-sm">Выплачено</div>
@elseif($withdrow->status == 2)
<div class="btn red btn-sm">Отказано</div>
@endif</td>
<td style="vertical-align: middle;">@if($withdrow->status == 0)<a class="btn blue btn-sm" data-toggle="modal" data-target="#usr_edit" href="/admin/withdraw/{{ $withdrow->id }}/edit">Редактировать</a>@endif</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</div>
</div>
<div class="modal fade" id="usr_edit" tabindex="-1" role="basic" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
@include('admin.includes.modal_withdrows', ['user' => $withdrow])
</div>
</div>
</div>
@endsection
В вк отпиши, сделаю
 
Сверху