page view is not returning,,,while returning only simple value
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
I am having a problem using Laravel Framework. I am trying to build a layout, but no mater how much I've tried I am getting the same error on my browser :
View [layouts.adminLayout.admin_design] not found. (View:
E:xampphtdocslaravelecom2resourcesviewsadmindashboard.blade.php)
m following this tutorial
https://www.youtube.com/watch?v=bzYBu0iez3s
here is code of admin_design.blade.php
@include('layouts.adminLayout.admin_header')
@include('layouts.adminLayout.admin_sidebar')
@yield('content')
@include('layouts.adminLayout.admin_footer')
and this is in dashboard.blade.php
@extends('layouts.adminLayout.admin_design')
@section('content')
this is the code of its controller
public function dashboard(){
return view('admin.dashboard');
}
if i write echo "test"; die;
then it shows die but is not showing the desired page... is there any solution for this prblm
php laravel laravel-5
add a comment |
I am having a problem using Laravel Framework. I am trying to build a layout, but no mater how much I've tried I am getting the same error on my browser :
View [layouts.adminLayout.admin_design] not found. (View:
E:xampphtdocslaravelecom2resourcesviewsadmindashboard.blade.php)
m following this tutorial
https://www.youtube.com/watch?v=bzYBu0iez3s
here is code of admin_design.blade.php
@include('layouts.adminLayout.admin_header')
@include('layouts.adminLayout.admin_sidebar')
@yield('content')
@include('layouts.adminLayout.admin_footer')
and this is in dashboard.blade.php
@extends('layouts.adminLayout.admin_design')
@section('content')
this is the code of its controller
public function dashboard(){
return view('admin.dashboard');
}
if i write echo "test"; die;
then it shows die but is not showing the desired page... is there any solution for this prblm
php laravel laravel-5
Within yourresources/views/
folder do you have another folder calledadmin
and then within that folder you havedashboard.blade.php
?
– nakov
Nov 16 '18 at 20:55
yes, always have
– inno Haxor
Nov 16 '18 at 20:57
add a comment |
I am having a problem using Laravel Framework. I am trying to build a layout, but no mater how much I've tried I am getting the same error on my browser :
View [layouts.adminLayout.admin_design] not found. (View:
E:xampphtdocslaravelecom2resourcesviewsadmindashboard.blade.php)
m following this tutorial
https://www.youtube.com/watch?v=bzYBu0iez3s
here is code of admin_design.blade.php
@include('layouts.adminLayout.admin_header')
@include('layouts.adminLayout.admin_sidebar')
@yield('content')
@include('layouts.adminLayout.admin_footer')
and this is in dashboard.blade.php
@extends('layouts.adminLayout.admin_design')
@section('content')
this is the code of its controller
public function dashboard(){
return view('admin.dashboard');
}
if i write echo "test"; die;
then it shows die but is not showing the desired page... is there any solution for this prblm
php laravel laravel-5
I am having a problem using Laravel Framework. I am trying to build a layout, but no mater how much I've tried I am getting the same error on my browser :
View [layouts.adminLayout.admin_design] not found. (View:
E:xampphtdocslaravelecom2resourcesviewsadmindashboard.blade.php)
m following this tutorial
https://www.youtube.com/watch?v=bzYBu0iez3s
here is code of admin_design.blade.php
@include('layouts.adminLayout.admin_header')
@include('layouts.adminLayout.admin_sidebar')
@yield('content')
@include('layouts.adminLayout.admin_footer')
and this is in dashboard.blade.php
@extends('layouts.adminLayout.admin_design')
@section('content')
this is the code of its controller
public function dashboard(){
return view('admin.dashboard');
}
if i write echo "test"; die;
then it shows die but is not showing the desired page... is there any solution for this prblm
php laravel laravel-5
php laravel laravel-5
asked Nov 16 '18 at 20:49
inno Haxorinno Haxor
73
73
Within yourresources/views/
folder do you have another folder calledadmin
and then within that folder you havedashboard.blade.php
?
– nakov
Nov 16 '18 at 20:55
yes, always have
– inno Haxor
Nov 16 '18 at 20:57
add a comment |
Within yourresources/views/
folder do you have another folder calledadmin
and then within that folder you havedashboard.blade.php
?
– nakov
Nov 16 '18 at 20:55
yes, always have
– inno Haxor
Nov 16 '18 at 20:57
Within your
resources/views/
folder do you have another folder called admin
and then within that folder you have dashboard.blade.php
?– nakov
Nov 16 '18 at 20:55
Within your
resources/views/
folder do you have another folder called admin
and then within that folder you have dashboard.blade.php
?– nakov
Nov 16 '18 at 20:55
yes, always have
– inno Haxor
Nov 16 '18 at 20:57
yes, always have
– inno Haxor
Nov 16 '18 at 20:57
add a comment |
1 Answer
1
active
oldest
votes
Based on your usage this should be your structure:
resources
views
admin
dashboard.blade.php
layouts
adminLayout
admin_header.blade.php
admin_sidebar.blade.php
admin_footer.blade.php
admin_design.blade.php
if you have the layouts
folder within your admin
folder then you should use admin.layouts.adminLayout.VIEW_NAME
my structure us same as u mentioned above but still showing error @nakov
– inno Haxor
Nov 17 '18 at 7:04
The error that is displayed is because a view with nameadmin_design
cannot be found on that path. So you can try extending another view in order to check if there is something with the view. Or if you cache the views try runningphp artisan view:clear
if that helps.
– nakov
Nov 17 '18 at 10:04
tried php artisan view:clear but still same result,,,i also cleared the history but still same issue,,,,is there any alternate path to find admin_design
– inno Haxor
Nov 17 '18 at 10:39
Can you try to make that file completely empty, so remove all the content and check if you still have the error. If the error still appears I doubt that your structure is the same, so it will help if you share a screenshot of it.
– nakov
Nov 17 '18 at 10:48
when i empty the file completely then it showed me a blank page,,,, its also showing the echo "test"; die; on the dashboard.blade.php,,,,,,and the error showed by this when i try to open dashboard is: imageshack.com/i/pmmmYSySp
– inno Haxor
Nov 17 '18 at 11:34
|
show 4 more comments
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53345187%2fpage-view-is-not-returning-while-returning-only-simple-value%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
Based on your usage this should be your structure:
resources
views
admin
dashboard.blade.php
layouts
adminLayout
admin_header.blade.php
admin_sidebar.blade.php
admin_footer.blade.php
admin_design.blade.php
if you have the layouts
folder within your admin
folder then you should use admin.layouts.adminLayout.VIEW_NAME
my structure us same as u mentioned above but still showing error @nakov
– inno Haxor
Nov 17 '18 at 7:04
The error that is displayed is because a view with nameadmin_design
cannot be found on that path. So you can try extending another view in order to check if there is something with the view. Or if you cache the views try runningphp artisan view:clear
if that helps.
– nakov
Nov 17 '18 at 10:04
tried php artisan view:clear but still same result,,,i also cleared the history but still same issue,,,,is there any alternate path to find admin_design
– inno Haxor
Nov 17 '18 at 10:39
Can you try to make that file completely empty, so remove all the content and check if you still have the error. If the error still appears I doubt that your structure is the same, so it will help if you share a screenshot of it.
– nakov
Nov 17 '18 at 10:48
when i empty the file completely then it showed me a blank page,,,, its also showing the echo "test"; die; on the dashboard.blade.php,,,,,,and the error showed by this when i try to open dashboard is: imageshack.com/i/pmmmYSySp
– inno Haxor
Nov 17 '18 at 11:34
|
show 4 more comments
Based on your usage this should be your structure:
resources
views
admin
dashboard.blade.php
layouts
adminLayout
admin_header.blade.php
admin_sidebar.blade.php
admin_footer.blade.php
admin_design.blade.php
if you have the layouts
folder within your admin
folder then you should use admin.layouts.adminLayout.VIEW_NAME
my structure us same as u mentioned above but still showing error @nakov
– inno Haxor
Nov 17 '18 at 7:04
The error that is displayed is because a view with nameadmin_design
cannot be found on that path. So you can try extending another view in order to check if there is something with the view. Or if you cache the views try runningphp artisan view:clear
if that helps.
– nakov
Nov 17 '18 at 10:04
tried php artisan view:clear but still same result,,,i also cleared the history but still same issue,,,,is there any alternate path to find admin_design
– inno Haxor
Nov 17 '18 at 10:39
Can you try to make that file completely empty, so remove all the content and check if you still have the error. If the error still appears I doubt that your structure is the same, so it will help if you share a screenshot of it.
– nakov
Nov 17 '18 at 10:48
when i empty the file completely then it showed me a blank page,,,, its also showing the echo "test"; die; on the dashboard.blade.php,,,,,,and the error showed by this when i try to open dashboard is: imageshack.com/i/pmmmYSySp
– inno Haxor
Nov 17 '18 at 11:34
|
show 4 more comments
Based on your usage this should be your structure:
resources
views
admin
dashboard.blade.php
layouts
adminLayout
admin_header.blade.php
admin_sidebar.blade.php
admin_footer.blade.php
admin_design.blade.php
if you have the layouts
folder within your admin
folder then you should use admin.layouts.adminLayout.VIEW_NAME
Based on your usage this should be your structure:
resources
views
admin
dashboard.blade.php
layouts
adminLayout
admin_header.blade.php
admin_sidebar.blade.php
admin_footer.blade.php
admin_design.blade.php
if you have the layouts
folder within your admin
folder then you should use admin.layouts.adminLayout.VIEW_NAME
answered Nov 16 '18 at 21:00
nakovnakov
3,7312811
3,7312811
my structure us same as u mentioned above but still showing error @nakov
– inno Haxor
Nov 17 '18 at 7:04
The error that is displayed is because a view with nameadmin_design
cannot be found on that path. So you can try extending another view in order to check if there is something with the view. Or if you cache the views try runningphp artisan view:clear
if that helps.
– nakov
Nov 17 '18 at 10:04
tried php artisan view:clear but still same result,,,i also cleared the history but still same issue,,,,is there any alternate path to find admin_design
– inno Haxor
Nov 17 '18 at 10:39
Can you try to make that file completely empty, so remove all the content and check if you still have the error. If the error still appears I doubt that your structure is the same, so it will help if you share a screenshot of it.
– nakov
Nov 17 '18 at 10:48
when i empty the file completely then it showed me a blank page,,,, its also showing the echo "test"; die; on the dashboard.blade.php,,,,,,and the error showed by this when i try to open dashboard is: imageshack.com/i/pmmmYSySp
– inno Haxor
Nov 17 '18 at 11:34
|
show 4 more comments
my structure us same as u mentioned above but still showing error @nakov
– inno Haxor
Nov 17 '18 at 7:04
The error that is displayed is because a view with nameadmin_design
cannot be found on that path. So you can try extending another view in order to check if there is something with the view. Or if you cache the views try runningphp artisan view:clear
if that helps.
– nakov
Nov 17 '18 at 10:04
tried php artisan view:clear but still same result,,,i also cleared the history but still same issue,,,,is there any alternate path to find admin_design
– inno Haxor
Nov 17 '18 at 10:39
Can you try to make that file completely empty, so remove all the content and check if you still have the error. If the error still appears I doubt that your structure is the same, so it will help if you share a screenshot of it.
– nakov
Nov 17 '18 at 10:48
when i empty the file completely then it showed me a blank page,,,, its also showing the echo "test"; die; on the dashboard.blade.php,,,,,,and the error showed by this when i try to open dashboard is: imageshack.com/i/pmmmYSySp
– inno Haxor
Nov 17 '18 at 11:34
my structure us same as u mentioned above but still showing error @nakov
– inno Haxor
Nov 17 '18 at 7:04
my structure us same as u mentioned above but still showing error @nakov
– inno Haxor
Nov 17 '18 at 7:04
The error that is displayed is because a view with name
admin_design
cannot be found on that path. So you can try extending another view in order to check if there is something with the view. Or if you cache the views try running php artisan view:clear
if that helps.– nakov
Nov 17 '18 at 10:04
The error that is displayed is because a view with name
admin_design
cannot be found on that path. So you can try extending another view in order to check if there is something with the view. Or if you cache the views try running php artisan view:clear
if that helps.– nakov
Nov 17 '18 at 10:04
tried php artisan view:clear but still same result,,,i also cleared the history but still same issue,,,,is there any alternate path to find admin_design
– inno Haxor
Nov 17 '18 at 10:39
tried php artisan view:clear but still same result,,,i also cleared the history but still same issue,,,,is there any alternate path to find admin_design
– inno Haxor
Nov 17 '18 at 10:39
Can you try to make that file completely empty, so remove all the content and check if you still have the error. If the error still appears I doubt that your structure is the same, so it will help if you share a screenshot of it.
– nakov
Nov 17 '18 at 10:48
Can you try to make that file completely empty, so remove all the content and check if you still have the error. If the error still appears I doubt that your structure is the same, so it will help if you share a screenshot of it.
– nakov
Nov 17 '18 at 10:48
when i empty the file completely then it showed me a blank page,,,, its also showing the echo "test"; die; on the dashboard.blade.php,,,,,,and the error showed by this when i try to open dashboard is: imageshack.com/i/pmmmYSySp
– inno Haxor
Nov 17 '18 at 11:34
when i empty the file completely then it showed me a blank page,,,, its also showing the echo "test"; die; on the dashboard.blade.php,,,,,,and the error showed by this when i try to open dashboard is: imageshack.com/i/pmmmYSySp
– inno Haxor
Nov 17 '18 at 11:34
|
show 4 more comments
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53345187%2fpage-view-is-not-returning-while-returning-only-simple-value%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
Within your
resources/views/
folder do you have another folder calledadmin
and then within that folder you havedashboard.blade.php
?– nakov
Nov 16 '18 at 20:55
yes, always have
– inno Haxor
Nov 16 '18 at 20:57