CodeIgniter Forums
HTTP ERROR WHILE USING $this->db->insert('sites', $data); - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6)
+--- Forum: Issues (https://forum.codeigniter.com/forumdisplay.php?fid=19)
+--- Thread: HTTP ERROR WHILE USING $this->db->insert('sites', $data); (/showthread.php?tid=659)



HTTP ERROR WHILE USING $this->db->insert('sites', $data); - Thamaraiselvam - 01-02-2015

[attachment=60]I'm getting HTTP ERROR while using $this->db->insert('sites', $data); this code
but select comments is working fine but update,insert queries causes the errors like HTTP ERROR and redirect to no server found page . please help me thank in advance !


RE: HTTP ERROR WHILE USING $this->db->insert('sites', $data); - bclinton - 01-02-2015

(01-02-2015, 05:43 AM)Thamaraiselvam Wrote: I'm getting HTTP ERROR while using $this->db->insert('sites', $data); this code
but select comments is working fine but update,insert queries causes the errors like HTTP ERROR and redirect to no server found page . please help me thank in advance !

possibly a syntax error?  Hard to tell because you've posted no code.  You are probably missing a semi colon or something.


RE: HTTP ERROR WHILE USING $this->db->insert('sites', $data); - includebeer - 01-02-2015

First thing to do: look at CI's log file in application/logs/ and Apache's error log file.


RE: HTTP ERROR WHILE USING $this->db->insert('sites', $data); - Rufnex - 01-07-2015

Without a more detail code example its not possible to help you. Please post your example to help you by debugging.