I've downloaded metronic_laravel_v8.2.1, and after installing dependencies and setup database, login does not works.
I've followed the instructions at https://preview.keenthemes.com/laravel/metronic/docs/getting-started
Hi,
i had the exact same issues with version 8.2.8. After redownload the .zip file and unzip everything works till i opened the laravel page. There was more then one error with path like "metronic/demo1"...
got it to work with some changes to "config/settings.php".
change this:
'KT_THEME_BOOTSTRAP' => [
'default' => \App\Core\Bootstrap\Metronic\Demo1\BootstrapDefault::class,
'auth' => \App\Core\Bootstrap\Metronic\Demo1\BootstrapAuth::class,
'system' => \App\Core\Bootstrap\Metronic\Demo1\BootstrapSystem::class,
],
'KT_THEME' => 'metronic',
# Theme layout templates directory
'KT_THEME_LAYOUT_DIR' => 'layout/metronic/demo1',
to:
'KT_THEME_BOOTSTRAP' => [
'default' => \App\Core\Bootstrap\BootstrapDefault::class,
'auth' => \App\Core\Bootstrap\BootstrapAuth::class,
'system' => \App\Core\Bootstrap\BootstrapSystem::class,
],
'KT_THEME' => 'metronic',
# Theme layout templates directory
'KT_THEME_LAYOUT_DIR' => 'layout',
after that it worked for me. hope i could help someone with this
You're welcome! If you have any more questions or if there's anything else I can help you with, feel free to ask.
Hello Faizal
Metronic 8.2.1 Laravel demo1 login not working
I encountered some errors with Laravel version 8.2.1.
I would like to ask you to check and correct them so that the others can continue if they come across such errors. as I explain below.
1. error:
when I started with php artisan serve.
and start http://127.0.0.1:8000:
in the storage folder: none exist
* framework
Cahe
sessions
views
folders, but they have to exist.?
Your zip files don't exist either.
2. error:
if man with
npm run dev starts
after compiling:
1 WARNING in child compilations (Use 'stats.children: true' or '--stats-children' for more details)
webpack compiled with 1 warning
Notifications are disabled
Reason: DisabledForUser Please make sure that the app id is set correctly.
Command Line: D:\Code\starterkit\node_modules\node-notifier\vendor\snoreToast\snoretoast-x64.exe -appID "Laravel Mix" -pipeName \\.\pipe\notifierPipe-7ba20ee1-c881-47cb-af86-ea1cc14640e6 -p D:\Code\starterkit\node_modules\laravel-mix\icons\laravel.png -m "Warning: !!D:\Code\starterkit\node_modules\css-loader\dist\cjs.js??ruleSet[1 ].rules[5].use[1]!D:\Code\starterkit\node_modules\postcss-loader\dist\cjs.js??ruleSet[1].rules[5].use[2]!D:\ Code\starterkit\node_modules\sass-loader\dist\cjs.js??ruleSet[1].rules[5].use[3]!D:\Code\starterkit\resources\_keenthemes\src\sass\style.scss
Warning: Warning
(47943:3) autoprefixer: start value has mixed support, consider using flex-start instead" -t "Laravel Mix"
You cannot log in, no matter which user email you enter.
There must be an error during compilation because I copied the original asset folder into the public folder.
Can you log in again?
I ask you to check and correct these points
Now it works for me.
Best regards
Celebi
Hello,
We apologize for the inconvenience you're facing. To address the issue, please try redownloading the project from the following link:
http://devs.keenthemes.com/metronic/laravel
Additionally, rebuild the assets by running the following commands in your terminal:
npm install
npm run dev
It's done. Thank you!
If this is your first time working on the project, you can attempt to reset the database and populate it with seed data for testing purposes. To do this, run the following command:
php artisan migrate:fresh --seed
I have followed all the instructions related to the installation, including the seeder part. There is no document in /storage/logs/laravel.log yet, and I haven't received any errors. However, when I enter "http://127.0.0.1:8000/login" and try to log in with the username "demo@demo.com" and password "demo," I am redirected back to the login page.
As a result, the URL I receive is "http://127.0.0.1:8000/login?_token=su16EXqCaO8dSPGghNZe8Fkn8JqrjFW0jZtGv1xL&email=demo%40demo.com&password=demo."
Hi,
Have you set up the .env file? Make sure to copy the .env.example file to create a new .env file and then fill in the appropriate database information in the .env file. After that, make sure to run the database migration command to create the necessary tables for the application to work properly.
Thanks
Hello, Yes I did but it still doesn't work.
Hello Mehmet,
I just downloaded and tried out Metronic Laravel Themes Demo1, and lo and behold, it works.
Now I'll explain step by step what I did.
1. I'm working on Windows.
2. I've just installed Laravel Herd. (This can also be installed on macOS, and it works there too.)
3. I unzipped the zip file. A starterkit folder was created.
4. I copied these folders into the Herd folder.
5. I switch to this starterkit folder.
6. Open terminal in the starterkit folder.
7. npm install
8. npm run dev
Start the command
9. Open another terminal in the starter kit folder
10. Install composer
11. Open this starter kit in VS Code
12. Change the .env file
DB_CONNECTION=sqlite
Make other lines comment lines.
Because the free version of HERD only supports sqlite.
13. In the database directory, create a database.sqlite file.
14. In the terminal starter kit directory, enter the command.
15. php artisan migrate --seed
16. php artisan serve
17. In the web window:
http://127.0.0.1:8000
It should be running now.
Best regards,
Celebi
same issue here, anyone that could help us ?