Closed fishmad closed 7 years ago
Actually just found this and will retry UPGRADE https://the-control-group.github.io/voyager/docs/v0.10/
Sorted with this command php artisan voyager:admin admin@admin.com
I tried too with command:
php artisan voyager:admin admin@admin.com
The user now has full access to your site... but nothing happens=)))
Did you also republish the database seeders and seeded the menu items seeder?
If you wish to do this only for the menu items, try this:
rm database/seeds/MenuItemsTableSeeder.php
php artisan vendor:publish --provider="TCG\Voyager\VoyagerServiceProvider"
php artisan db:seed --class=MenuItemsTableSeeder
yes i did =)) in db table menu_items all columns are the same as in MenuItemTableSeeder
may be it is problem with routes? it only shows the pages are in data_type: pages,users,roles etc.
Can you please share the content of the menu_items
, permissions
, permission_role
, data_types
and roles
tables together with the role_id
for your user.
Then I will figure out exactly what went wrong.
The routes you say, please try share your routes/web.php
file and the response of php artisan route:list
.
route:list
all routes are normal
here my screen to db data_types
menu_items
premissions
permission_roles
roles
web.php
i cant open only dashboard...all routes are opening normally in admin
So you can access the url /admin/settings
? But you can not see it in the admin panel menu?
/admin
page not found..... but admin/settings, admin/pages , admin/users
works... only dashboard not found =)) sorry i just noticed this issues main task =))) i cant enter to dashboard it shows 404... all another urls are works and in dashboard everything ok, anyway anything else dashboard.
Also The issue is when i create bread to my custom table... i cant access to it it shows
UnauthorizedHttpException in Voyager.php line 104:
/admin
is not found because it's matching your /{nickname}
route first.
If you look at the output from php artisan route:list
before and after commenting out the /{nickname}
route,, I bet it would show this.
Reference: https://laravel.com/docs/5.3/controllers#restful-supplementing-resource-controllers
Please change the route prefix of Voyager then to match something else for your needs, since /admin
is not found because it matches /{nickname}
like @fletch3555 figured out.
Thank you=)) I put voyager routes above my route /{nickname} =)) and now works like a charm =)))
Hello, I have several problem. But I can Access to Dasboard lika /admin and /admin/database, another part of menu didn't work and show me this message "(1/1) HttpException This action is unauthorized." Can you help me?
This issue has been closed for over a year. Please open a new issue if you think you found a bug, if you have a question please ask in our Slack
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.
Description:
Steps To Reproduce:
Fresh install Laravel with 5.3 Voyager v0.10
Tried both: php artisan voyager:install php artisan voyager:install --with-dummy
php artisan vendor:publish --provider="TCG\Voyager\VoyagerServiceProvider" --force