Laravel shows blank page on localhost

laravel view showing blank page
laravel showing blank
laravel install white screen
laravel 57 blank page
blank in laravel
laravel 5.5 blank page no error
laravel 5.8 blank page
laravel return view blank page

I have a website in HTML, Javascript and PHP and now I'm trying to move it on Laravel framework. I've started with it a few days ago but I'm unable to load any pages. I tried php artisan optimize but that started giving me 404 error on everything so I'm starting from scratch.

I'm trying to load a simple Homepage.

This is my routes>web.php


Route::get('/', function () {
    return view('welcome');

Route::get('/adminHome', function(){
    return view('/forms/adminHome');


This is my views>forms>adminHome.blade.php

<!DOCTYPE html>

    <head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <link rel="stylesheet" href="{{ URL::asset('css/portfolio.css') }}" type="text/css">
        <link href="|Roboto&display=swap" rel="stylesheet">
        <link rel="stylesheet" href="" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous">
        <div id="page">
            <div id="header">
                        <li><img class="logo" src="{{url('/images/logo.png')}}"></li>
                         <li><a href="adminHome.html">HOME</a></li>

                        <li><a href="login.html">LOG IN</a></li>
                        <li><a href="createAccount.html">SIGN UP</a></li>
                    <footer>&copy; DiazApps ALL RIGHTS RESERVED BY <span class='nameColor'>ABCD WXYZ</span></footer>
            <div id="pageContent">

                <div id="nameText">
                    <p class=titleText>HELLO I'M</p>
                    <p class=titleName>ABCD WXYZ</p>
                    <p class=titleText>DEVELOPER|</p>
                    <button onclick="'/files/Resume.pdf')">Download My CV<i class="fa fa-download"></i></button>


When I run php artisan serve and go to http://localhost:8000/forms/adminHome it shows me a blank page. I've tried restarting the server several time but it doesn't work.

Output of php artisan route:list is

| Domain | Method    | URI               | Name          | Action                                      | Middleware   |
|        | GET|HEAD  | /                 |               | Closure                                     | web          |
|        | GET|HEAD  | adminHome         |               | Closure                                     | web          |
|        | GET|HEAD  | api/user          |               | Closure                                     | api,auth:api |
|        | GET|HEAD  | forms             | forms.index   | App\Http\Controllers\FormController@index   | web          |
|        | POST      | forms             |   | App\Http\Controllers\FormController@store   | web          |
|        | GET|HEAD  | forms/create      | forms.create  | App\Http\Controllers\FormController@create  | web          |
|        | GET|HEAD  | forms/{form}      |    | App\Http\Controllers\FormController@show    | web          |
|        | PUT|PATCH | forms/{form}      | forms.update  | App\Http\Controllers\FormController@update  | web          |
|        | DELETE    | forms/{form}      | forms.destroy | App\Http\Controllers\FormController@destroy | web          |
|        | GET|HEAD  | forms/{form}/edit | forms.edit    | App\Http\Controllers\FormController@edit    | web          |

Because I'm only trying to display a page, I added any code to my controller.

Please tell me what am I doing wrong.

Try this..

Route::get('/adminHome', function(){ 
    return view('forms.adminHome'); 

If forms is a application directory then url will be




Laravel started showing White Blank page with no errors, This morning i Noticed that when ever i load localhost:8000 it display a blank screen, i tried viewing the source code to see if anything went through but nothing� Blank Page [Vue+laravel] Posted 2 years ago by mlazuardy im starting using vue for my second website. and have 1 table called blogs . im writing example of my blog with Markdown editor from simpleMDE. but i got problem.

The URL for adminHome would be http://localhost:8000/adminHome in the case you have described. /forms/adminHome is a reference to where in the views folder that view lives.

Laravel returns blank page for a method which does not exist, Hello Laracasts, I did a fresh install for Laravel 6, I created a controller with artisan artisan make:controller and I am using resource method at my routes. php, here is my routes.php: http://localhost:8000/configuration/asset-types/ aaaaaa. Definitely the method aaaaaa not exist, but I get a blank page!!! Forum Laravel Laravel 5 site shows blank white page when uploaded to server. Reply Follow All Threads it shows a blank page :(. I changed in config\app.php

I had to change it to

Route::get('/forms/adminHome', function(){
    return view('forms/adminHome');

for url to be localhost:8000/forms/adminHome

Getting a blank page on installation, I'm trying to install Laravel locally on my computer by following the /var/www folder, but when I try to access localhost/blog/public, I get nothing but a blank page. Debug is set to true, but I'm not getting any errors. storage/logs is empty and� laravel 5 blank page no error,laravel blank page after install,laravel 5.1 showing blank page,laravel 5 white screen no error,laravel 5.2 welcome page not showing

Laravel shows blank page on ubuntu, apache and php 7.0, Even after setting debug to true in app configuration file there was still blank screen. Laravel error log was also empty, so there was no� When i was created my laravel 5.2 application and i upload application on live GoDaddy server. But i found blank page. I think First you have to check php version on live server. if you run laravel 5+ application then make sure your PHP version at least

laravel, laravel - Move app to another server, blank page and artisan error - php. on loading localhost/project/public URL, this shows the welcome blade ,but when I� Wamp Server loading localhost but showing blank pages for projects

php artisan serve gives a blank page, My question is, how do I get to the landing page using php artisan serve? My Laravel Laravel 5.2 run in localhost without using php artisan serve. Okay, so I � Laravel Tutorials Integrate Bootstrap Template with Laravel Use Laravel Blade Template Engine Working With Controllers and Middleware in Laravel Understanding Models and Views in Laravel Laravel Many To Many Relationship Tutorial Example How to use PUT/PATCH and DELETE method in Laravel Laravel Elasticsearch Tutorial Example From Scratch Laravel Eloquent One To Many Relationships Laravel

  • Check your apache/nginx server logs. If the page can't be displayed, there's likely an error of some kind, and if that error can't be logged to storage/logs/laravel.log (generally due to permissions), then it's logged to your server logs.
  • How did you create form Controller?
  • Could you please show Controller?
  • Try this.. Route::get('/adminHome', function(){ return view('forms.adminHome'); });
  • I meant to say I haven't added any code to controller. Created it using php artisan make: controller FormController --resource
  • Yeah I was trying to open it with localhost:8000/forms/adminHome and that's why it wasnt working