I have been using CakePHP at work and now I am trying to set it up at home. I have a projects folder inside of htdocs and within that folder I have my cakeProject …/htdocs/Projects/CakeProject/app…. When I point the url to localhost/Projects/cakeProject/ I get this error.
Missing Controller
Error: ProjectsController could not be found….
And it goes on explaining how to make a controller. Clearly, this is not the real issue. Can anyone see right away what am I overlooking??
Here is the Stack Trace:
Stack Trace
APP\webroot\index.php line 92 → Dispatcher->dispatch(CakeRequest, CakeResponse)
App::uses('Dispatcher', 'Routing');
$Dispatcher = new Dispatcher();
$Dispatcher->dispatch(new CakeRequest(), new CakeResponse(array('charset' => Configure::read('App.encoding'))));
object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'projects/cakeProject/'
base => '/projects/cakeProject/app/webroot/index.php'
webroot => '/projects/cakeProject/app/webroot/'
here => '/projects/cakeProject/app/webroot/index.php/projects/cakeProject/'
}
object(CakeResponse) {
}
I am not sure what the problem was. I must have set something up wrong during installation. I deleted the Project from the Projects folder. Recloned it and it is working properly now.