internal server error |
[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)
[eluser]Mike Ryan[/eluser]
Can you post the relevant lines from the apache error log file?
[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
[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.
[eluser]Mike Ryan[/eluser]
I didn't really do anything, but you are welcome anyway :cheese: |
Welcome Guest, Not a member yet? Register Sign In |