Fatal error: Call to undefined method Front::run() - 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: Fatal error: Call to undefined method Front::run() (/showthread.php?tid=60573) |
Fatal error: Call to undefined method Front::run() - El Forum - 04-28-2014 [eluser]solid9[/eluser] Hi guys, I'm using HMVC And I'm having error message below, Code: Fatal error: Call to undefined method Front::run() in /home/coder9/public_html/jazauthhmvc/application/modules/front/controllers/front.php on line 137 These are the codes for /front/login/ method Code: function login() The error message will show when you try to login without entering a username and password below, http://coder9.com/jazauthhmvc/ What I'm missing here? Thanks in advance. Fatal error: Call to undefined method Front::run() - El Forum - 04-28-2014 [eluser]Tim Brownlaw[/eluser] Hi, Is this on line 137?... if ($this->form_validation->CI->run() == FALSE) Which HMVC are you using? Wiredesignz or someone elses? Cheers Tim Fatal error: Call to undefined method Front::run() - El Forum - 04-28-2014 [eluser]solid9[/eluser] wiredesignz ^__^ Fatal error: Call to undefined method Front::run() - El Forum - 04-29-2014 [eluser]Tim Brownlaw[/eluser] Well I'm guessing that you altered the form validation call to suit using HMVC.... So what I suggest is that you re-read that workaround for that bit... When somethings not working... go back over the documentation ( at least ) and see what might be wrong. Did you do all the required steps correctly? Cheers Tim Fatal error: Call to undefined method Front::run() - El Forum - 04-29-2014 [eluser]InsiteFX[/eluser] Code: // by David of the Insiders Club Fatal error: Call to undefined method Front::run() - El Forum - 04-29-2014 [eluser]solid9[/eluser] Thank you insiteFX. Fatal error: Call to undefined method Front::run() - El Forum - 04-29-2014 [eluser]Tim Brownlaw[/eluser] @InsiteFX You just had to! |