vanilophp / framework

The truly Laravel E-commerce Framework
https://vanilo.io
MIT License
810 stars 102 forks source link

Not able to setup vanilo correctly #16

Closed daljit3 closed 6 years ago

daljit3 commented 6 years ago

I followed all the instructions at https://vanilo.io/docs/0.2/installation but when I try to access myurl/admin/customer I keep getting " Symfony \ Component \ HttpKernel \ Exception \ HttpException No message" error. Not sure what's going wrong. I did download demo app and that worked fine.

Only thing I did different was when I created super user then instead of default admin role, I entered in "super admin" which created new role.

fulopattila122 commented 6 years ago

I'm almost sure it's a 403 error you're getting. By default only the admin role exists, so you should use that initially. Later on you can create arbitrary roles.

daljit3 commented 6 years ago

@fulopattila122 - I deleted the existing user account and then re-created new one using php artisan appshell:super and this time I just entered admin in the role. It works fine now. Thank you.

I suppose you could disable the option to enter another role type there or perhaps put a fix there so that someone else don't make the same mistake as I did.