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

Metronic Laravel v8.2.0 - Demo Content


Hallo Team,

thanks a lot for the very fast Update, the compiling looks good but the Demo-Content (Login and Signin) is still not working on my Xampp-Localhost on Windows.

In the older Versions (before v8.1.9) it works great from the beginning.

Actually I get no error-messages (like invalid Token, etc.) , the Login-Page reloaded blanc and nothing more, also it´s not possible to register a new user. My laravel-db looks like it should, after a fresh migration. Can you help me?

Thanks a lot U.P.


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 (3)


Hi U.P.,

Thank you for updating to Metronic Laravel v8.2.0, and we're glad to hear that the compiling process went smoothly. I'm sorry to hear that you're facing issues with the Login and Signin.

To troubleshoot the login and registration issues, let's check a few things:

1. Verify .env File: Make sure you have created the `.env` file in the root directory of your Laravel project and filled in the correct database details. Double-check the database connection settings in the `.env` file.

2. Database Migration: Ensure that you have run the database migration successfully using the command `php artisan migrate:fresh --seed`. Check if the necessary tables (e.g., `users`) are created in your database and some demo users.

3. HTTP Requests: Use the browser's Developer Tools to open the Network tab and check for any errors or failed HTTP requests when attempting to register or log in. Look for any error messages or response status codes in the network requests.

4. Clear Cache: If you have made any changes to the code or configuration, try running `php artisan cache:clear` and `php artisan config:clear` to clear the cache and reload the updated configurations.

If you have tried these steps and are still facing issues, please provide more details about the specific error or behavior you're experiencing during registration and login. Any additional information or error messages will be helpful in diagnosing the problem and providing a solution.

We are here to assist you further and ensure that the Laravel works smoothly on your local environment. Looking forward to your response.

Thanks



Hi Faizal,

Thanks for your Time and great Support. After installing Metronic Laravel v8.2.0 (Absolutly clean, like in the Description) all looks very good and the DB run with all tables.

The ENV-File use -APP_URL=http://localhost:8000- but on XAMPP i dont use -php artisan serve-
should i change it to -APP_URL=http://localhost- ?

Developer Tools:

login:293 GET http://localhost/livewire/livewire.js?id=90730a3b0e7144480175 net::ERR_ABORTED 404 (Not Found)

login:258 GET http://localhost/public/assets/js/custom/authentication/sign-in/general.js net::ERR_ABORTED 404 (Not Found)

login?_token=NMeD3iejI6lYtr0H5tPxEZaZDttaqpGMWqKNUdwv&email=demo%40demo.com&password=demo:299 Uncaught ReferenceError: Livewire is not defined
at login?_token=NMeD3iejI6lYtr0H5tPxEZaZDttaqpGMWqKNUdwv&email=demo%40demo.com&password=demo:299:27

Thanks a lot Uwe



Hi Uwe,

You're welcome! I'm glad to hear that most of the installation went smoothly.

Regarding the `APP_URL`, you can set it to `http://localhost` if you are not using `php artisan serve` and accessing your Laravel app directly through XAMPP.

As for the missing files and errors you encountered, it seems that some Livewire files are not loading properly. To resolve this, you can run the following command to rebuild the assets for Livewire:


php artisan livewire:publish --assets


This command will publish the necessary Livewire assets, and it should fix the missing files and JavaScript errors.

For more information on installing Livewire, you can refer to the documentation here: https://laravel-livewire.com/docs/2.x/installation#publish-assets

Please let me know if this resolves the issues you were facing or if you need any further assistance. I'm here to help!

Best regards,
Faizal


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  :(