after upload my laravel project on free 000webhsot, user part is working but admin part give this error...












0














i try to develop a simple blog with laravel, everything is okay on localhost but when i upload this project on 000webhsot (as a free hot) then user part properly work but in admin part, when i login in admin part i get this error.



View [adminincludesapp] not found. (View: /storage/ssd1/425/7737425/blog/resources/views/admin/home.blade.php)



[error view ][1]
[1]: https://i.stack.imgur.com/CF62K.png .



this is "viewadminincludesapp.blade.php" code



<!DOCTYPE html>
<html lang="en">
<head>
@include('admin.includes.head')
</head>

<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">
@include('admin.includes.header')
@include('admin.includes.sidebar')


@section('main-content')
@show

@include('admin.includes.footer')
</div>
</body>
</html>




and this is "resources/views/admin/home.blade.php" code



@extends('adminincludesapp')

@section('main-content')

<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
Blank page
<small>it all starts here</small>
</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
<li><a href="#">Examples</a></li>
<li class="active">Blank page</li>
</ol>
</section>

<!-- Main content -->
<section class="content">

<!-- Default box -->
<div class="box">
<div class="box-header with-border">
<h3 class="box-title">Title</h3>

<div class="box-tools pull-right">
<button type="button" class="btn btn-box-tool" data-widget="collapse" data-toggle="tooltip"
title="Collapse">
<i class="fa fa-minus"></i></button>
<button type="button" class="btn btn-box-tool" data-widget="remove" data-toggle="tooltip" title="Remove">
<i class="fa fa-times"></i></button>
</div>
</div>
<div class="box-body">
Start creating your amazing application!
</div>
<!-- /.box-body -->
<div class="box-footer">
Footer
</div>
<!-- /.box-footer-->
</div>
<!-- /.box -->

</section>
<!-- /.content -->
</div>
@endsection




and the "web.php" code is here



<?php

// route for user part //
Route::group(['namespace'=>'user'],function(){

Route::get('/','homeController@index' );
//post routes
Route::get('/post/{slug}','postController@post');
//tag routes
Route::get('/post/tags', 'homeController@tags');
//category routes
Route::get('/post/category/{category}', 'homeController@category')->name('category');


});
// route for user part end //



// route for admin part //

Route::group(['namespace'=>'admin'],function(){

Route::get('/admin/home','homeController@home')->name('admin.home');
//user routes
Route::resource('/admin/user','userController');
//post routes
Route::resource('/admin/post','postController');
//tags routes
Route::resource('/admin/tags','tagsController');
//category routes
Route::resource('/admin/category','categoryController');

//Admin auth Routes
Route::get('admin-login', 'AuthLoginController@showLoginForm')->name('admin.login');
Route::post('admin-login', 'AuthLoginController@login');
});
// route for admin part end//

Auth::routes();

Route::get('/home', 'HomeController@index')->name('home');









share|improve this question



























    0














    i try to develop a simple blog with laravel, everything is okay on localhost but when i upload this project on 000webhsot (as a free hot) then user part properly work but in admin part, when i login in admin part i get this error.



    View [adminincludesapp] not found. (View: /storage/ssd1/425/7737425/blog/resources/views/admin/home.blade.php)



    [error view ][1]
    [1]: https://i.stack.imgur.com/CF62K.png .



    this is "viewadminincludesapp.blade.php" code



    <!DOCTYPE html>
    <html lang="en">
    <head>
    @include('admin.includes.head')
    </head>

    <body class="hold-transition skin-blue sidebar-mini">
    <div class="wrapper">
    @include('admin.includes.header')
    @include('admin.includes.sidebar')


    @section('main-content')
    @show

    @include('admin.includes.footer')
    </div>
    </body>
    </html>




    and this is "resources/views/admin/home.blade.php" code



    @extends('adminincludesapp')

    @section('main-content')

    <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
    <h1>
    Blank page
    <small>it all starts here</small>
    </h1>
    <ol class="breadcrumb">
    <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
    <li><a href="#">Examples</a></li>
    <li class="active">Blank page</li>
    </ol>
    </section>

    <!-- Main content -->
    <section class="content">

    <!-- Default box -->
    <div class="box">
    <div class="box-header with-border">
    <h3 class="box-title">Title</h3>

    <div class="box-tools pull-right">
    <button type="button" class="btn btn-box-tool" data-widget="collapse" data-toggle="tooltip"
    title="Collapse">
    <i class="fa fa-minus"></i></button>
    <button type="button" class="btn btn-box-tool" data-widget="remove" data-toggle="tooltip" title="Remove">
    <i class="fa fa-times"></i></button>
    </div>
    </div>
    <div class="box-body">
    Start creating your amazing application!
    </div>
    <!-- /.box-body -->
    <div class="box-footer">
    Footer
    </div>
    <!-- /.box-footer-->
    </div>
    <!-- /.box -->

    </section>
    <!-- /.content -->
    </div>
    @endsection




    and the "web.php" code is here



    <?php

    // route for user part //
    Route::group(['namespace'=>'user'],function(){

    Route::get('/','homeController@index' );
    //post routes
    Route::get('/post/{slug}','postController@post');
    //tag routes
    Route::get('/post/tags', 'homeController@tags');
    //category routes
    Route::get('/post/category/{category}', 'homeController@category')->name('category');


    });
    // route for user part end //



    // route for admin part //

    Route::group(['namespace'=>'admin'],function(){

    Route::get('/admin/home','homeController@home')->name('admin.home');
    //user routes
    Route::resource('/admin/user','userController');
    //post routes
    Route::resource('/admin/post','postController');
    //tags routes
    Route::resource('/admin/tags','tagsController');
    //category routes
    Route::resource('/admin/category','categoryController');

    //Admin auth Routes
    Route::get('admin-login', 'AuthLoginController@showLoginForm')->name('admin.login');
    Route::post('admin-login', 'AuthLoginController@login');
    });
    // route for admin part end//

    Auth::routes();

    Route::get('/home', 'HomeController@index')->name('home');









    share|improve this question

























      0












      0








      0







      i try to develop a simple blog with laravel, everything is okay on localhost but when i upload this project on 000webhsot (as a free hot) then user part properly work but in admin part, when i login in admin part i get this error.



      View [adminincludesapp] not found. (View: /storage/ssd1/425/7737425/blog/resources/views/admin/home.blade.php)



      [error view ][1]
      [1]: https://i.stack.imgur.com/CF62K.png .



      this is "viewadminincludesapp.blade.php" code



      <!DOCTYPE html>
      <html lang="en">
      <head>
      @include('admin.includes.head')
      </head>

      <body class="hold-transition skin-blue sidebar-mini">
      <div class="wrapper">
      @include('admin.includes.header')
      @include('admin.includes.sidebar')


      @section('main-content')
      @show

      @include('admin.includes.footer')
      </div>
      </body>
      </html>




      and this is "resources/views/admin/home.blade.php" code



      @extends('adminincludesapp')

      @section('main-content')

      <div class="content-wrapper">
      <!-- Content Header (Page header) -->
      <section class="content-header">
      <h1>
      Blank page
      <small>it all starts here</small>
      </h1>
      <ol class="breadcrumb">
      <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
      <li><a href="#">Examples</a></li>
      <li class="active">Blank page</li>
      </ol>
      </section>

      <!-- Main content -->
      <section class="content">

      <!-- Default box -->
      <div class="box">
      <div class="box-header with-border">
      <h3 class="box-title">Title</h3>

      <div class="box-tools pull-right">
      <button type="button" class="btn btn-box-tool" data-widget="collapse" data-toggle="tooltip"
      title="Collapse">
      <i class="fa fa-minus"></i></button>
      <button type="button" class="btn btn-box-tool" data-widget="remove" data-toggle="tooltip" title="Remove">
      <i class="fa fa-times"></i></button>
      </div>
      </div>
      <div class="box-body">
      Start creating your amazing application!
      </div>
      <!-- /.box-body -->
      <div class="box-footer">
      Footer
      </div>
      <!-- /.box-footer-->
      </div>
      <!-- /.box -->

      </section>
      <!-- /.content -->
      </div>
      @endsection




      and the "web.php" code is here



      <?php

      // route for user part //
      Route::group(['namespace'=>'user'],function(){

      Route::get('/','homeController@index' );
      //post routes
      Route::get('/post/{slug}','postController@post');
      //tag routes
      Route::get('/post/tags', 'homeController@tags');
      //category routes
      Route::get('/post/category/{category}', 'homeController@category')->name('category');


      });
      // route for user part end //



      // route for admin part //

      Route::group(['namespace'=>'admin'],function(){

      Route::get('/admin/home','homeController@home')->name('admin.home');
      //user routes
      Route::resource('/admin/user','userController');
      //post routes
      Route::resource('/admin/post','postController');
      //tags routes
      Route::resource('/admin/tags','tagsController');
      //category routes
      Route::resource('/admin/category','categoryController');

      //Admin auth Routes
      Route::get('admin-login', 'AuthLoginController@showLoginForm')->name('admin.login');
      Route::post('admin-login', 'AuthLoginController@login');
      });
      // route for admin part end//

      Auth::routes();

      Route::get('/home', 'HomeController@index')->name('home');









      share|improve this question













      i try to develop a simple blog with laravel, everything is okay on localhost but when i upload this project on 000webhsot (as a free hot) then user part properly work but in admin part, when i login in admin part i get this error.



      View [adminincludesapp] not found. (View: /storage/ssd1/425/7737425/blog/resources/views/admin/home.blade.php)



      [error view ][1]
      [1]: https://i.stack.imgur.com/CF62K.png .



      this is "viewadminincludesapp.blade.php" code



      <!DOCTYPE html>
      <html lang="en">
      <head>
      @include('admin.includes.head')
      </head>

      <body class="hold-transition skin-blue sidebar-mini">
      <div class="wrapper">
      @include('admin.includes.header')
      @include('admin.includes.sidebar')


      @section('main-content')
      @show

      @include('admin.includes.footer')
      </div>
      </body>
      </html>




      and this is "resources/views/admin/home.blade.php" code



      @extends('adminincludesapp')

      @section('main-content')

      <div class="content-wrapper">
      <!-- Content Header (Page header) -->
      <section class="content-header">
      <h1>
      Blank page
      <small>it all starts here</small>
      </h1>
      <ol class="breadcrumb">
      <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
      <li><a href="#">Examples</a></li>
      <li class="active">Blank page</li>
      </ol>
      </section>

      <!-- Main content -->
      <section class="content">

      <!-- Default box -->
      <div class="box">
      <div class="box-header with-border">
      <h3 class="box-title">Title</h3>

      <div class="box-tools pull-right">
      <button type="button" class="btn btn-box-tool" data-widget="collapse" data-toggle="tooltip"
      title="Collapse">
      <i class="fa fa-minus"></i></button>
      <button type="button" class="btn btn-box-tool" data-widget="remove" data-toggle="tooltip" title="Remove">
      <i class="fa fa-times"></i></button>
      </div>
      </div>
      <div class="box-body">
      Start creating your amazing application!
      </div>
      <!-- /.box-body -->
      <div class="box-footer">
      Footer
      </div>
      <!-- /.box-footer-->
      </div>
      <!-- /.box -->

      </section>
      <!-- /.content -->
      </div>
      @endsection




      and the "web.php" code is here



      <?php

      // route for user part //
      Route::group(['namespace'=>'user'],function(){

      Route::get('/','homeController@index' );
      //post routes
      Route::get('/post/{slug}','postController@post');
      //tag routes
      Route::get('/post/tags', 'homeController@tags');
      //category routes
      Route::get('/post/category/{category}', 'homeController@category')->name('category');


      });
      // route for user part end //



      // route for admin part //

      Route::group(['namespace'=>'admin'],function(){

      Route::get('/admin/home','homeController@home')->name('admin.home');
      //user routes
      Route::resource('/admin/user','userController');
      //post routes
      Route::resource('/admin/post','postController');
      //tags routes
      Route::resource('/admin/tags','tagsController');
      //category routes
      Route::resource('/admin/category','categoryController');

      //Admin auth Routes
      Route::get('admin-login', 'AuthLoginController@showLoginForm')->name('admin.login');
      Route::post('admin-login', 'AuthLoginController@login');
      });
      // route for admin part end//

      Auth::routes();

      Route::get('/home', 'HomeController@index')->name('home');






      php web laravel-5 server laravel-5.4






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 11 at 20:57









      Roman Syed

      53




      53
























          1 Answer
          1






          active

          oldest

          votes


















          0














          You are extending a view that doesn't exist:



          @extends('adminincludesapp')


          With dot-notation it should work.



          @extends('admin.includes.app')





          share|improve this answer





















          • now it's working. thank you, brother.
            – Roman Syed
            Nov 11 at 21:23











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53253165%2fafter-upload-my-laravel-project-on-free-000webhsot-user-part-is-working-but-adm%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          You are extending a view that doesn't exist:



          @extends('adminincludesapp')


          With dot-notation it should work.



          @extends('admin.includes.app')





          share|improve this answer





















          • now it's working. thank you, brother.
            – Roman Syed
            Nov 11 at 21:23
















          0














          You are extending a view that doesn't exist:



          @extends('adminincludesapp')


          With dot-notation it should work.



          @extends('admin.includes.app')





          share|improve this answer





















          • now it's working. thank you, brother.
            – Roman Syed
            Nov 11 at 21:23














          0












          0








          0






          You are extending a view that doesn't exist:



          @extends('adminincludesapp')


          With dot-notation it should work.



          @extends('admin.includes.app')





          share|improve this answer












          You are extending a view that doesn't exist:



          @extends('adminincludesapp')


          With dot-notation it should work.



          @extends('admin.includes.app')






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 11 at 21:03









          Namoshek

          2,9362719




          2,9362719












          • now it's working. thank you, brother.
            – Roman Syed
            Nov 11 at 21:23


















          • now it's working. thank you, brother.
            – Roman Syed
            Nov 11 at 21:23
















          now it's working. thank you, brother.
          – Roman Syed
          Nov 11 at 21:23




          now it's working. thank you, brother.
          – Roman Syed
          Nov 11 at 21:23


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53253165%2fafter-upload-my-laravel-project-on-free-000webhsot-user-part-is-working-but-adm%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          這個網誌中的熱門文章

          Xamarin.form Move up view when keyboard appear

          Post-Redirect-Get with Spring WebFlux and Thymeleaf

          Anylogic : not able to use stopDelay()