Blank White Screen Laravel 5.2

I created a new Controller UsersController and set the routes as mentioned below . Now I am trying to access this URL ( http://localhost/ecom/users/signin ) but it is showing nothing but a blank white screen. There is nothing in console and source of this page.I am using Resource Controller and Laravel 5.2.

PS: If anything needed more just mention in comments.

Routes.php

Route::resource('users', 'UsersController');

Route::get('users/signin', 'UsersController@getSignin');
Route::get('users/newaccount', 'UsersController@getSignup');

StoreController.php:

<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;

use App\Http\Requests;
use View;
class UsersController extends Controller
{
    public function __construct(){
        parent::__construct();
    }
    /**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
    public function index()
    {
        //
    }

    /**
     * Show the form for creating a new resource.
     *
     * @return \Illuminate\Http\Response
     */
    public function create()
    {
        return View::make('users.newaccount');
    }

    /**
     * Store a newly created resource in storage.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
    public function store(Request $request)
    {
        $validator = Validator::make(Input::all(), User::$rules);

        if($validator->passes()){
            $user = new User;
            $user->name = Input::get('name');
            $user->email = Input::get('email');
            $user->password = Input::get('password');
            $user->save();
            return Redirect::to('users/signin')->with('message','Thank you for creating new account.Sign in now');
        }
        return Redirect::to('users/newaccount')->with('message','Something went wrong!')->withErrors($validator)->withInput();
    }

    public function getSignin(){
        return View::make('users.signin');
    }


    /**
     * Display the specified resource.
     *
     * @param  int  $id
     * @return \Illuminate\Http\Response
     */
    public function show($id)
    {
        //
    }

    /**
     * Show the form for editing the specified resource.
     *
     * @param  int  $id
     * @return \Illuminate\Http\Response
     */
    public function edit($id)
    {
        //
    }

    /**
     * Update the specified resource in storage.
     *
     * @param  \Illuminate\Http\Request  $request
     * @param  int  $id
     * @return \Illuminate\Http\Response
     */
    public function update(Request $request, $id)
    {
        //
    }

    /**
     * Remove the specified resource from storage.
     *
     * @param  int  $id
     * @return \Illuminate\Http\Response
     */
    public function destroy($id)
    {
        //
    }
    public function getSignout(){
        Auth::logout();
        return Redirect::to('users/signin')->with('message','Signouted!');
    }

    /*public function postSignin(){
        if(Auth::attempt(array('name' => Input::get('name'), 'email' => Input::get('email'), 'password'=> 'Input::get('password')))){
            return Redirect::to('/')->with('message','Thanks for signin');
        }
        return Redirect::to('users/singin')->with('message','Was Incorrect DATA!');
    } */


}

Signin View:

     {!! Form::open(array('url' => 'users/signin' , 'method' => 'post')) !!} 

                          <div class="form-group">
                            <label for="username">User Name:</label>
                            <input type="username" class="form-control" name="name" id="name">
                          </div>

                          <div class="form-group">
                            <label for="username">Password:</label>
                            <input type="username" class="form-control" name="password" id="name">
                          </div>

                          <button type="submit" class="btn btn-default">Sign IN</button>
   {!! Form::close() !!}

Not sure why the comment is got deleted but you can move your routes above the resources, and it should work.

Route::get('users/signin', 'UsersController@getSignin');
Route::get('users/newaccount', 'UsersController@getSignup');

Route::resource('users', 'UsersController');

Laravel 5.3 blank white screen no errors, Laravel 5.3 blank white screen no errors 25 10:04 config drwxr-xr-x 5 www- data www-data 4096 Oct 25 10:04 database -rw-r--r-- 1 www-data� The following steps solved blank white screen problem on my Laravel 5. Go to your Laravel root folder; Give write permission to bootstrap/cache and storage directories; sudo chmod -R 777 bootstrap/cache storage. Rename .env.example to .env; Generate application key with the following command in terminal/command-prompt from Laravel root:

In your route put

Route::get('users/signin', 'UsersController@getSignin');
Route::get('users/newaccount', 'UsersController@getSignup');

over

Route::resource('users', 'UsersController');

like this

Route::get('users/signin', 'UsersController@getSignin');
Route::get('users/newaccount', 'UsersController@getSignup');
Route::resource('users', 'UsersController');

How to fix blank white screen in Laravel 5 on Nginx, Blank white page is the frequent problem that I ran often into when deploying the laravel applications. Following are the list of things I learned� Blank white screen problem is common in laravel. In this section, we are going to discuss some reasons behind the problem. This screen appears after uploading project in the shared hosting normally. There may be variety of reasons behind this problem.

I know this is hella old but I think its because you are calling the Validator, Redirect and Auth classes without using it at the top...

add:

use Validator;
use Auth;
use Response;

to the top of your controller.

Laravel blank white screen, Now I'm getting a white blank screen when I go to laravel.mydomain.com, nothing How to fix blank white screen in Laravel 5 on Nginx, Blank white page is the� 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

Check .htaccess. Options +ExecCGI addhandler x-httpd-php5-cgi .php Options -MultiViews DirectoryIndex index.php <IfModule mod_rewrite.c> <IfModule mod_negotiation.c> Options -MultiViews -Indexes </IfModule> RewriteEngine On RewriteBase / # Handle Authorization Header RewriteCond %{HTTP:Authorization} . RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] # Redirect Trailing Slashes If Not A Folder... RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} (.+)/$ RewriteRule ^ %1 [L,R=301] # Handle Front Controller... RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f #RewriteRule ^ index.php [L] RewriteRule ^(.*)$ index.php?/$1 [L] </IfModule>

White screen of death (WSOD)? - laravel, White screen of death (WSOD)?. I recently moved my Laravel installation from my localhost unto an online host. After the move was complete I got a WSOD. 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 blank page : laravel, I am getting blank page on all routes defined in the routes.php file. If i open an Check the storage/logs/laravel.log file for errors. Make sure you 5 days ago. Laravel 5.3 blank white screen no errors Posted 3 years ago by wljin. but am still getting the black white screen. where am i going wrong

How to resolve laravel 5 blank page no error on server?, 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� Teams. Q&A for Work. Stack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information.

How to resolve laravel 5 blank page no error on server?, 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� Browse other questions tagged php laravel deployment eloquent web-hosting or ask your own question. The Overflow Blog Tales from documentation: Write for your clueless users

Comments
  • If you put dd("a"); in getSignin(), does it print something?
  • naa it prints nothing just blank screen!
  • So, getSignin() is never called. Are the other functions working normally?
  • localhost/ecom/users/create this is working fine ! Fetching form for newaccount route.
  • @LaravelWarrior for Linux and Mac OS: open your terminal, go to your project root and type: chmod -R 755 storage