CodeIgniter Forums
Not finding submit function - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: Not finding submit function (/thread-54076.html)



Not finding submit function - El Forum - 08-21-2012

[eluser]xtremer360[/eluser]
Okay I'm working locally with xxamp and went to my login controller and for some reason it is not finding the submit function and not quite sure why. I tried including all the code in this post but it extended pass the max.



jQuery Code

Controller Code


Not finding submit function - El Forum - 08-21-2012

[eluser]Massaki[/eluser]
put an
echo 'something';
in the beginning of the method submit(), to be sure that the method was called.


Not finding submit function - El Forum - 08-21-2012

[eluser]xtremer360[/eluser]
Why would I even both doing that if it can't even be found. So if I put that it would never echo something.


Not finding submit function - El Forum - 08-21-2012

[eluser]domainsvault[/eluser]
Its called dugging your code.. putting in faux concepts to even see if your script is losing traction somewhere and falling off the grid.. as for it not finding whatever try changing your path `/login/submit` for example


Not finding submit function - El Forum - 08-21-2012

[eluser]NeoArc[/eluser]
Code:
error_reporting(-1);
ini_set('display_errors', TRUE);


Make sure you don't have database problems (tables with pending updates?), since sometimes you will get a blank page no matter what you do.