php - Fatal error: Class 'AppController' not found error -


can tell me might source of error. have tried solutions found online no avail. installed cakephp framework , getting error on index.cpt page...

error: fatal error: class 'appcontroller' not found in [mypath] on line 2

<?php class homecontroller extends appcontroller {      function index() {      //nothing's here      }  } ?> 

the above code...homecontroller.php , appcontroller.php on same folder

this solved problem after many searching

<?php namespace app\controller; use app\controller\appcontroller; class homecontroller extends appcontroller { public function index()     {      } } 

Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -