• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HTTP ERROR WHILE USING $this->db->insert('sites', $data);

#1
    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 !
Thanks and Regards,
Thamaraiselvam T
Reply

#2
(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.
Reply

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

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

Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.