![]() |
internal server error - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: internal server error (/showthread.php?tid=12864) |
internal server error - El Forum - 11-02-2008 [eluser]Fenix[/eluser] I'm doing a simple "delete post" functionality that has a confirmation form and I am getting an internal server error. I use MediaTemple hosting. All my other similar scripts are working fine. If anybody can help me figure this out, that would be great. Thanks. Quote:Internal Server Error here are my controller functions Code: function delete_post($id = '') here are my model functions which i think aren't a problem Code: function get_post_atr($atr, $post_id) internal server error - El Forum - 11-03-2008 [eluser]Mike Ryan[/eluser] Can you post the relevant lines from the apache error log file? internal server error - El Forum - 11-05-2008 [eluser]Fenix[/eluser] [Sun Nov 02 13:00:16 2008] [error] [client 555.55.555.55] malformed header from script. Bad header=Post Deleted: php5, referer: http://mysite.com/admin/dashboard/delete_post/8 internal server error - El Forum - 11-05-2008 [eluser]Fenix[/eluser] omg... Code: <?= header('Post Deleted',2) ?> should have been: Code: <?= heading('Post Deleted',2) ?> problem solved. thanks for the help...i took a second look at the apache error log and looked right over what should have been obvious. internal server error - El Forum - 11-08-2008 [eluser]Mike Ryan[/eluser] I didn't really do anything, but you are welcome anyway :cheese: |