Flex ZendAmf CI "Channel disconnected" error |
[eluser]ndriana[/eluser]
Hi, I followed this tutorial and it works fine. I then switched to Flex (with Flash Builder) following the basic concept of that tutorial and it still works fine. My problem is not then related to that thread anymore that I decided to open a new one. It has something to do with CI Active Record. Here is the code in test.php: Code: <?php This code works well if I just publish some dummy string straight from the script. But when I try to extract one from the database, even uncommenting the first line Code: $this->db->where('id', 3); Channel disconnected before an acknowledgement was received I checked the class as a regular CI application on the browser with a simple echo and it works fine. What I found online was to check my db settings but it doesn't help. That script pull out my data real fine.
[eluser]ndriana[/eluser]
My bad again, I made farther research and was asked to check my log. My apache (WAMP), had a lot to say. You'll have to initialize the database class Code: $this->load->database(); Call to a member function where() on a non-object I wonder why CodeIgniter didn't catch that. |
Welcome Guest, Not a member yet? Register Sign In |