• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cannot modify header information?

#1
[eluser]Unknown[/eluser]
Error Code :
Code:
A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\xxx\apps\adminapp\libraries\Template.php:59)

Filename: helpers/url_helper.php

Line Number: 541

controller code :
Code:
function insert()
{
$this->categories_model->insert(
array(
'CategoryName' => $this->input->post('CategoryName'),
'CategorySeo' => $this->seo->getSeoName($this->input->post('CategoryName')),
'CategoryDesc' => $this->input->post('CategoryDesc'),
'CategoryKeyword ' => $this->input->post('CategoryKeyword')
)
);
redirect('categories');
}

Anyone could help me resolve this?

Thank you.


Messages In This Thread
Cannot modify header information? - by El Forum - 09-20-2009, 06:44 AM
Cannot modify header information? - by El Forum - 09-20-2009, 07:53 AM
Cannot modify header information? - by El Forum - 09-20-2009, 10:47 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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