[URI HELPER ERROR]Message: Cannot modify header information - headers already sent by (output started at C:\.......) - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: [URI HELPER ERROR]Message: Cannot modify header information - headers already sent by (output started at C:\.......) (/showthread.php?tid=33043) |
[URI HELPER ERROR]Message: Cannot modify header information - headers already sent by (output started at C:\.......) - El Forum - 08-13-2010 [eluser]Ngulo[/eluser] Hi all guys... i'm in trouble with redirect() in CI i receive always this message: Code: Severity: Warning i really can solve this problem , i don't know why it doesn't works :/ my code is so simple ,but seems that using $this->uri->segment() before a redirect() ,creates me this problem :/ this is my code: Code: function cd() it's so simple my function ,that i really can't understand the reason why it doesn't works any suggestions ? really thanks guys [URI HELPER ERROR]Message: Cannot modify header information - headers already sent by (output started at C:\.......) - El Forum - 08-13-2010 [eluser]mi6crazyheart[/eluser] Hey , the error is coming from u'r model file: download.php . So, i think the problem is might be at there. Check it once again... [URI HELPER ERROR]Message: Cannot modify header information - headers already sent by (output started at C:\.......) - El Forum - 08-14-2010 [eluser]Ngulo[/eluser] mi6crazyheart oh my god you're right! Although the problem remains because in model download.php on line 2 I can not find errors: / this is the model, and frankly I'm going crazy because of their mistakes do not find them: / Do you see anything strange? Code: <?php if(!defined('BASEPATH')) exit('No direct script access allowed'); ?> thanks so much for the help [URI HELPER ERROR]Message: Cannot modify header information - headers already sent by (output started at C:\.......) - El Forum - 08-14-2010 [eluser]victorche[/eluser] Please, check the double Code: <?php So this: Code: <?php if(!defined('BASEPATH')) exit('No direct script access allowed'); ?> Code: <?php if(!defined('BASEPATH')) exit('No direct script access allowed'); [URI HELPER ERROR]Message: Cannot modify header information - headers already sent by (output started at C:\.......) - El Forum - 08-14-2010 [eluser]Ngulo[/eluser] yeah man i solve the problem than ks really thanks |