[eluser]Tim Brownlaw[/eluser]
So have you got error reporting turned on and with those display settings as I suggested earlier on.
Somethings going BANG! and that will help as any output (good or bad ) should be getting sent back... Anything that echoes back will be the "response" either which way.
[eluser]dauber[/eluser]
Exactly as you suggested. Just after a couple of reloads (not even changing code!!!!!) the error log stopped populating. Permissions are good, restarted Apache. Really, maybe this is a sign that I need to change careers.
[eluser]Tim Brownlaw[/eluser]
Nah it'll be simple! The trick is knowing how to dig in and work your way back out!
That's the really fun part!
Although with your issue it's being a little difficult to see what's actually going on!
From looking at the jquery ( not how I would have done it... but that's just me ) it looks "ok".
CroNiX should be able to shine some more light on that!
What we need to do is make 100% sure that what you are sending is being understood ( which you say it is... ) and that the response is being correctly generated ( which sounds like it isn't ).
This is where you'd be testing on the server itself, and pretending to be the client.. so you should be able to create a dummy requester ie a new method or even controller/method that mimics your Form Data you are sending... and seeing that you get the expected result.
Are you on skype or anything we can screen share?
[eluser]dauber[/eluser]
....except that the $.post() is in a JS file.
[eluser]InsiteFX[/eluser]
I know it's in an ajax js file, re-read my post.
[eluser]dauber[/eluser]
Finally figured out the root of the problem.
First off, the actual issue was that I wasn't getting any return data from the jQuery's AJAX $.post(). Error logs showed that all the PHP code was working exactly as intended.
Then it hit me: it was because the button I was clicking on to get this stuff going was a submit button...which makes sense because my thinking was that I was submitting form data to do the search....except that when you use CodeIgniter's form helper and use a specific submit button, there's some kind of redirect going on. The give-away was that when I clicked that button I'd get a blank screen. I replaced the submit button with a standard button....problem solved!