Open mdennnism opened 6 years ago
When i install it on localhost which is XAMPP the admin panel is working, but when i try it on another host it's not work. I don't know why.
The database to run this application is missing and too system not connect to database.
When install system does not setup and does not configuring database
Change the file config/database.php and set
default => 'sqlite'
This will use the build-in sqlite database, which is great. Otherwise the default option is 'mysql' and you need to set the following environment properties:
'host' => env('DB_HOST', 'localhost'),
'database' => env('DB_DATABASE', 'forge'),
'username' => env('DB_USERNAME', 'forge'),
'password' => env('DB_PASSWORD', ''),
'port' => env('DB_PORT', ''),
@vvalchev I try to use mysql but seem not working, I cannot have access on admin
Probably you should install sqlite command line tool, open the sqlite database and dump the schema sql. Then you can import it in mysql (after some small modifications, hopefully).
However, i've found that even with sqlite, some tables are wrongly defined and you are unable to add a new property. Some other part of the application also didn't worked.
Issue:
Are there additional configurations I need to do such as DB setup etc?
FatalErrorException in Handler.php line 25: Uncaught TypeError: Argument 1 passed to App\Exceptions\Handler::report() must be an instance of Exception, instance of Error given, called in /var/www/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php on line 73 and defined in /var/www/public_html/app/Exceptions/Handler.php:25 Stack trace:
0 /var/www/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(73): App\Exceptions\Handler->report(Object(Error))
1 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleException(Object(Error))
2 {main}
thrown