• Register
0 votes
42 views

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

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.

OR

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 149 views
149 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 23 views
23 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 31 views
31 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 mphil 2.3k points
0 votes
1 answer 147 views
147 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 maddi86 5.4k points
0 votes
1 answer 212 views
212 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 mphil 2.3k points