• Register
0 votes

Problem :

I recently installed a Laravel 5.0 properly by cloning it in git, and composer install, but when I ran it to my browser http://localhost/laravel/public/, it gives below message :

"Whoops! looks like something went wrong. please give us a few minutes and try your request later”

I did not make any of the changes after the composer install.

After I tried to copy a env.example to .env below is result

“RuntimeException in compiled.php line 5599: OpenSSL extension is required.”

7 5 2
3,870 points

Please log in or register to answer this question.

1 Answer

0 votes

Solution :

The logs are located in the storage directory. If you want your laravel to display a error for you rather than a cryptic 'Whoops' message, then you need to copy the .env.example to .env and also make sure your APP_ENV=local is in there. It should then show you a very detailed error message.


This is happening as there is the field in .env file named, APP_KEY, which seems blank now, so we need some random key for a variable.

Please follow below steps to get rid of your problem.

1) Copy your.env.example to your .env

2) Now go to your root directory in a command prompt (If you are using the windows) or go to terminal (If you are using the MAC or LINUX) where you have installed your laravel project/files and run below command

php artisan key:generate

and after that run your project. It's all done.

9 7 4
38,600 points

Related questions

0 votes
1 answer 267 views
Problem : I am having the following error whenever I am trying to open Excel Online in Chrome, But Excel Online in Safari is working fine for me. Does anyone know how to fix this issue? Sign in Something went wrong and we can't sign you in ... . Please try again later. The Microsoft account login server has detected too many repeated authentication attempts. Please wait a moment and try again.
asked Nov 26, 2019 alecxe 7.5k points
0 votes
1 answer 4 views
Problem: we are unable to process your request at this time. please try again later.
asked 6 days ago Muneeb Saadii 2.4k points
0 votes
1 answer 65 views
Problem : Whenever I try to open the Google Chrome I am constantly facing the following error "A PROFILE ERROR OCCURRED: Something went wrong when opening your profile. Some features may be unavailable". Further to that, when I try to close the Chrome, it will ... with chrome on my home PC. Have anyone ever faced the above mentioned error with the chrome? Any solution on the issue resolution?
asked Dec 23, 2019 alecxe 7.5k points
0 votes
1 answer 11 views
Problem: the requested php extension zip is missing from your system..
asked Feb 16 Ethan ross 1.8k points
0 votes
1 answer 67 views
Problem : I am facing a very strange looking below Facebook error. “Sorry, something went wrong. we're working on it and we'll get it fixed as soon as we can.” Have anybody experienced this before?
asked Feb 17, 2020 mphil 2.3k points
0 votes
1 answer 12 views
Please help me facing this problem we couldn't sign you in. try again in a few minutes
asked Jan 25 waji 1.9k points
0 votes
1 answer 321 views
Problem: I am new and learning, I need help, can anyone help by filling in the blanks? The ability for a protocol or program to determine that something went wrong is known as ________?
asked Feb 21, 2020 maddi86 5.4k points
0 votes
1 answer 2 views
Problem: failed to send your message. please try later or contact the administrator by another method.
asked 6 days ago Muneeb Saadii 2.4k points
0 votes
1 answer 347 views
Problem : I am trying to learn the pSQL. I recently moved my Laravel App from the MySQL to pSQL. But now I keep on getting below error. “The Response content must be a string or object implementing __toString(), "boolean" given.” I have the API that was returning my promotion before but now it only returns the above error. Can anyone suggest me solution on above error ?
asked Feb 13, 2020 mphil 2.3k points
0 votes
1 answer 518 views
Problem : My code works perfectly on my friend's laptop But throws below error on my laptop. “Error: a jni error has occurred, please check your installation and try again” I have tried running the code on a Eclipse Juno using Java 7. I have also tested it and ... my final year project and I need it to work on my laptop at any case, I will be very grateful to anyone who solves it.
asked Jan 18, 2020 jwilliam 3.9k points