![]() |
class not found in loader.php - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: class not found in loader.php (/showthread.php?tid=23900) |
class not found in loader.php - El Forum - 10-25-2009 [eluser]rijobo[/eluser] Hello, I get an error when I want to open my form: Fatal error: Class 'Productupload' not found in /usr/home/deb20206/domains/bijvoorbeeldzo.nl/public_html/simo-edelsmid/system/libraries/Loader.php on line 184 Can anyone please help me out with this one? This is my controller: Code: <?php and this is my model: Code: class Productupload extends Model{ class not found in loader.php - El Forum - 10-25-2009 [eluser]pistolPete[/eluser] Is the file Productupload.php in ./application/models/ ? Try a lowercase or uppercase p. class not found in loader.php - El Forum - 10-25-2009 [eluser]rijobo[/eluser] Uppercase I get this message: Unable to locate the model you have specified: productupload And lowercase I get this: class Productupload extends Model{ function Productupload(){ parent::Model(); $this->load->database(); } function insertRow($table, $data){ $this->db->insert($table, $data); } } Fatal error: Class 'Productupload' not found in /usr/home/deb20206/domains/bijvoorbeeldzo.nl/public_html/simo-edelsmid/system/libraries/Loader.php on line 184 class not found in loader.php - El Forum - 10-25-2009 [eluser]pistolPete[/eluser] Does the file Productupload.php start with a PHP opening tag? Code: <?php class not found in loader.php - El Forum - 10-25-2009 [eluser]rijobo[/eluser] that's it! Thank you very much |