Vlad
Vlad

Reputation: 2773

About CodeIgniter 403 Error

I just recently got a project based on CodeIgniter and I am total beginner.

I have added new view in my CI views and I want to load it to popup window when I press on a given link. But I get that my playerview.php page is forbidden on this server error 403. So where should I edit or change settings so that I have permission to use my new view?

The .htaccess file has only one line and it says

Deny from all

Upvotes: 0

Views: 795

Answers (1)

minboost
minboost

Reputation: 2563

You can't call a view directly from a browser. Views are loaded by controllers, and controllers are called based the URL. It is typically www.yoursite.com/controllername/functionname

If you read the general topics section of the CI docs, it will all make sense.

Upvotes: 2

Related Questions