Laravel create page issue

Scorpion Ghost

Elite Member
Executive VIP
Jr. VIP
Joined
Mar 22, 2013
Messages
9,146
Reaction score
10,489
I'm trying to create a page on Laravel.

I added an sql entry in phpmyadmin

I created the page.blade.php

I created the pagecontroller.php

And when I visit the page, I get this:

"You do not have permission to view this page."

Any idea what I'm missing?
 
It already has the permission. That's not it.
Great. Next step.
If you are working production or development

In development use this in your env file

APP_ENV=local
APP_DEBUG=true
In production use this one

APP_ENV=production
APP_DEBUG=false
So you will be able to see the errors and know what it’s exactly the issue.
 
It's most probably caused by a web server configuration mistake.

- Check your web server error logs.

- Check recommendations for configuring nginx or Apache, or whatever web server software you use on how to configure Laravel with it.
 
Back
Top