joostvanveen / build-a-cms-with-codeigniter

Source code for the Tutsplus course 'Build a CMS with Codeigniter'
53 stars 55 forks source link

How can i resolve this problem? #14

Open devsantoshm opened 6 years ago

devsantoshm commented 6 years ago

Hi Sir.

I have a problem when I enter the page http://ci-cms.com/article/

An uncaught Exception was encountered Type: ArgumentCountError

Message: Too few arguments to function Article::index(), 0 passed in C:\xampp\htdocs\ci-cms\system\core\CodeIgniter.php on line 532 and exactly 2 expected

Filename: C:\xampp\htdocs\ci-cms\application\controllers\article.php

Line Number: 12

Backtrace:

File: C:\xampp\htdocs\ci-cms\index.php Line: 320 Function: require_once

How can i resolve this problem?

Thanks.