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

apache - setting document root in antoher partition on ubuntu -

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

Process 'command 'F:\android-sdk\build-tools\21.1.2\aapt.exe'' finished with non-zero exit value 1 -