2
I’m running a test on umbler services, but I’m having trouble loading the model. I’m using ci3 and I’m loaded the models as usual.
$this->load->model('main_model');
But there’s a mistake
An uncaught Exception was encountered
Type: RuntimeException
Message: Unable to locate the model you have specified: Main_model
Filename: /home/bikeradical.com.br/public/system/core/Loader.php
Line Number: 314
Backtrace:
File: /home/bikeradical.com.br/public/index.php
Line: 292
Function: require_once
Saying that it was not found anymore my model is in the right place models/main_model.php, on another server loads, only the one that does not load. Can someone help me.
What is your file name and what is the class name?
– rray
The file name is main_model.php and the class name is class Main_model extends Ci_model
– Clayton Eduardo Mergulhão