Closed chack1172 closed 8 years ago
Hi,
You need to make sure debug mode is enabled in the .env file or check your error log to see what the actual error is.
On 26 Jun 2016, at 13:09, chack1172 notifications@github.com wrote:
Hi, I installed this developement repositories in my pc and it works. I copied the files in an hosting and I get this error: Whoops, looks like something went wrong.
How to solve?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
This is my .env file. Do I have to edit APP_ENV?
APP_ENV=local APP_DEBUG=true APP_KEY=DW4VX7c0BN99e3L7AzGTBA2DOsbOYAfx
DB_HOST=localhost DB_DATABASE=mybb2 DB_USERNAME= DB_PASSWORD=my_mybb2
CACHE_DRIVER=file SESSION_DRIVER=file
Now it works I had to edit file config/database.php and change env('DB_DATABASE', 'forge') in env('DB_DATABASE', 'my_mybb2')
Hi, yeah until we write an installer, you have to modify that file.
On 26 Jun 2016, at 14:52, chack1172 notifications@github.com wrote:
Now it works I had to edit file config/database.php and change env('DB_DATABASE', 'forge') in env('DB_DATABASE', 'my_mybb2')
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
@chack1172 Don't edit the config/database.php file if at all possible because you'll always have to exclude it from git stuff. The right thing to do to get what you want is change DB_DATABASE in the .env file.
env() checks if the first thing is defined in the .env file, and if not, falls back to the second parameter's value.
I changed it but it tryed to conneto to database forge
Hi, I installed this developement repositories in my pc and it works. I copied the files in an hosting and I get this error: Whoops, looks like something went wrong.
How to solve?