![]() |
Internal server error when calling AJAX - 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: Internal server error when calling AJAX (/showthread.php?tid=61223) |
Internal server error when calling AJAX - El Forum - 10-19-2014 [eluser]dauber[/eluser] So I'm trying to call my "login" method from my "Login" controller via AJAX, with jQuery. But I keep getting an internal server error, saying "The action you have requested is not allowed." I pretty much copied and pasted this from another site I'm working on... Here's my controller: Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); Here's the AJAX call: Code: var email = $('#ltd_email').val(); Internal server error when calling AJAX - El Forum - 10-19-2014 [eluser]dauber[/eluser] Never mind -- this thread answered my question; for some reason Duck Duck Go didn't give me the result that Google did....: https://ellislab.com/forums/viewthread/163976/ |