Error: Index.phpController could not be found

Completely new to CakePHP. Tried doing a search with no results.

I installed CakePHP to my localhost Apache directory. Other programs such as PHPMyAdmin work just fine. I am getting this error:

Missing Controller

Error: Index.phpController could not be found.

Error: Create the class Index.phpController below in file: app\Controller\Index.phpController.php

<?php

class Index.phpController extends AppController {

}

Notice: If you want to customize this error message, create app\View\Errors\missing_controller.ctp

What do I do? I tried creating that PHP file and putting it in the app\Controller directory but that did not work.

Asked by amg55nj, on 22/2/12

1 Answer

You obviously did something wrong when installing. Check and re-check:

http://book.cakephp.org/2.0/en/installation.html

Answered by JambaFunon 23/2/12

Followed that guide and still no luck.

Enabled mod rewrites and uncommented the line about time.

amg55nj - on 23/2/12

<< comments | comments >>
<< previous next >>

Your Answer

You can use Creole Wiki Syntax to format your text.

Rating

0

Viewed

471 times

Last Activity

on 23/2/12