Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

Metronic 8.2.1 Laravel demo1 login not working


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


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (11)


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.
  1. 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


This step may resolve any potential JavaScript errors in the browser. After completing these steps, attempt to log in again using the credentials "demo@demo.com" and "demo."

If the issue persists or if you encounter any further difficulties, please let us know.



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

Within the database seeder located at database/seeders/UsersSeeder.php, you'll find some user accounts that can be used for testing. For example, you can log in with the credentials:

  • Email: demo@demo.com
  • Password: demo

If you encounter any issues or if the login is still not functioning as expected, I recommend checking the Laravel log for any potential errors. You can access the log at /storage/logs/laravel.log. This log may contain valuable information related to login errors.


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 " 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 "



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 ?


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(