Get 2024 Templates Mega Bundle!14 Bootstrap, Vue & React Templates + 3 Vector Sets
Get for 99$

Erro start LAravel


Target class [App\Core\Bootstrap\Metronic\Demo1\BootstrapAuth] does not exist.

The initial Laravel kit is giving an error. in new version


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (9)


Solution change settings.php



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



Well done! The login screen now shows.

Unfortunately, logging in doesn't work: after Submit, the login page only flickers/refreshes (on Windows).

Any ideas?



Strange, here it worked normally, I logged in normally. Check if there are any errors in the console, or if the Laravel log registered anything and report it here.

Remove the node_modules and run again yarn && yarn run dev or npm install && npm run dev.



Hi Alex,

I apologize for any inconvenience. Thank you for providing a solution. We will promptly reupload the update to address the issue. In the meantime, you can download the corrected version from https://keenthemes.com/metronic/laravel

Thanks for your patience and understanding.

Best regards.



This link Page not found: laravel



And in addition, when I use the MySQL database, it does not log in with the user I registered with the demo. Can't you really figure this out or test this?



In the console, GET http://127.0.0.1:8000/assets/js/custom/authentication/sign-in/general.js net::ERR_ABORTED 404 (Not Found) gets an error like this.



Thanks for fixing the issue in settings.php - as provided by Alex Noguira. With regards to not being able to login (as described by me previously): this occurs when using npm install & npm run dev. When using yarn install & yarn run dev, logging in into demo1 works correctly.



Sorry, here is the correct link:
https://devs.keenthemes.com/metronic/laravel


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(