Welcome Guest, Not a member yet? Register   Sign In
Zero Sized Reply error
#1

[eluser]speedskater[/eluser]
Hi Guys,

I've got an strange error, in my codeigniter application.

Zero Sized Error,
Squid did not receive any data for this request.

this is my code:

Code:
function overview()
    {
        
        $this->db->order_by("tijd", "desc");
        $query = $this->db->get('gastenboek');
        if($query->num_rows() > 0){
            $data['results'] = $query->result_array();
        } else {
            $data['results'] = array();
        }
        $data['soort'] = 'overview';
        
        echo '<pre>';
        print_r($data);
        echo '</pre>';
        $this->load->view('admin/gastenboek_view');
        
    }

The strange thing is that when I comment out
$this->load->view('admin/gastenboek_view');
it all seems to work.

Can somebody help me?

Thanks in advance
#2

[eluser]xwero[/eluser]
I think it's a server problem caused by Squid. I never used it so i don't know what you can do to fix the problem.




Theme © iAndrew 2016 - Forum software by © MyBB