Help for begginier... Can't figure out problem. - 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: Help for begginier... Can't figure out problem. (/showthread.php?tid=52173) |
Help for begginier... Can't figure out problem. - El Forum - 05-31-2012 [eluser]dkindler[/eluser] Hi. Everytime I run my website, I get the following error: Quote:A PHP Error was encountered I can't figure out what I'm doing wrong... I've been trying to figure it out for a while. Here is my "submit" controller, which is what is executed when the form is submitted: Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); here is my "post" model: Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); Does anyone see anything off? Thanks. Help for begginier... Can't figure out problem. - El Forum - 05-31-2012 [eluser]NikosV[/eluser] try changing Code: $this->load->model('Post_model'); with Code: $this->load->model('post_model'); Help for begginier... Can't figure out problem. - El Forum - 05-31-2012 [eluser]dkindler[/eluser] yup. That worked. Thank you! |