Welcome Guest, Not a member yet? Register   Sign In
Another CSFR question
#11

[eluser]ELRafael[/eluser]
Your code is OK. So I go to test here, in my local env.

This is my view
http://d.pr/OzJt
This is my controller
http://d.pr/qKQ8

In a first try, i got an error.
My config.php
Code:
$config['compress_output'] = TRUE;
I changed to FALSE and then everything is ok.
The problem is in ajax() method. I have an echo json_encode. With the compress_output, i can't do echo inside controllers.

Maybe is not your problem, i dunno.




Theme © iAndrew 2016 - Forum software by © MyBB