Diskusi Daffa Nugraha Ramadhana
Selesai
Daffa Nugraha Ramadhana
a year ago
Saat running halaman register muncul error seperti ini
An uncaught Exception was encountered Type: RuntimeException
Message: Unable to locate the model you have specified:
Filename: C:\xampp\htdocs\carshop\system\core\Loader.php
Line Number: 349
Backtrace:
File: C:\xampp\htdocs\carshop\application\core\MY_Controller.php Line: 12 Function: model
File: C:\xampp\htdocs\carshop\application\controllers\Register.php Line: 12 Function: __construct
File: C:\xampp\htdocs\carshop\index.php Line: 320 Function: require_once
2 Jawaban
Muchammad Rizky Yudistira
a year ago
Hi Kak, kalau dari pesan error nya, Message: Unable to locate the model you have specified, coba periksa di register.php apakah model nya sudah di definisikan. Jangan lupa lampirkan, source code nya
BroKoding
a year ago
Halo kak, sepertinya kesalahan ada pada model. Apakah model untuk register sudah diberi nama Register_model.php beserta nama class nya Register_model yang meng-extend MY_model? Boleh juga lampirkan repository git untuk dibantu periksa ya kak.