user1056110
user1056110

Reputation: 1

laravel returning blank screen in production environment

I built a laravel application and uploaded via FTP Its showing blank in cPanel hosting

I moved the laravel files to another folder and moved all "public" files to public_html folder I made the app/storage flder writable.

After everything, it shows blank screen

Upvotes: 0

Views: 1080

Answers (2)

user1393817
user1393817

Reputation: 294

Did you debugged if you get any output, for example try adding this to your routes.php file:

Route::get('/', function()  {
    dd('hi');
});

For Lavarel 4.2, this could also help:

php artisan optimize

Upvotes: 0

Yasen Slavov
Yasen Slavov

Reputation: 787

I remember encountering this White Screen Of Death in one of my first attempts at Laravel. It was a permission issue. To avoid duplicate threads, here's a link outlining the issue and solution: Laravel Migration Showing Blank Page, No Debug Screen

Upvotes: 1

Related Questions