Voyager: 403 authoraziation error

Created on 4 Oct 2018  路  8Comments  路  Source: the-control-group/voyager

Version information

  • Laravel: Version 5.7
  • Voyager: Version 1.1.7
  • PHP: 7..1
  • Database: php myadmin MySQL

Description


When i create the model and after creating the model i click on the menu of that model
and the link open for that model and return that error.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Go to database and create the table and model '...'
  2. Then i create the menu from menu_builder for that model '....'
  3. And then i click on that menu '....'
  4. The opening page returns the error

Screenshots

http://127.0.0.1:8000/admin/products
2018-10-04

Most helpful comment

@TalhaZulfiqar69 you are missing some steps on how to work with Voyager.
Like I said above, please watch some videos in the Academy and follow our docs.

@aaamina Laravel (and with that Voyager) expects you to follow its conventions.

All 8 comments

I dont really wonder that you get problems, because that is not how Voyager works.
Please take a look at some tutorials or watch some video in the Academy first.

check permissions in your role (default disabled all)

I got same problem
I checked all permissions but still have 403
any help ???

I found problem , it's about uppercase and lowercase model name and model class name has to be uppercase and you have to use [protected $table = 'products'] in lowercase

I found problem , it's about uppercase and lowercase model name and model class name has to be uppercase and you have to use [protected $table = 'products'] in lowercase

Now your project working perfect ? or you got same error ?

@TalhaZulfiqar69 you are missing some steps on how to work with Voyager.
Like I said above, please watch some videos in the Academy and follow our docs.

@aaamina Laravel (and with that Voyager) expects you to follow its conventions.

Closing due to inactivity.

This issue has been automatically locked since there has not been any recent activity after it was closed. If you have further questions please ask in our Slack group.

Was this page helpful?
0 / 5 - 0 ratings