• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[split] Not finding model

#1
(06-24-2016, 03:29 PM)I am facing a big problem with codeigniter 4 Wrote: namespace App\Controllers;

use CodeIgniter\Controller;

use App\Models\NewsModel;

class News extends Controller{
  public function index()
{
        $model = new NewsModel();

      
}

}


error:Class 'App\Models\NewsModel' not found
Reply


Messages In This Thread
[split] Not finding model - by patelprem1992 - 02-11-2017, 02:46 AM
RE: [split] Not finding model - by kilishan - 02-11-2017, 09:32 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.