Warning: headers already sent by ...(for AJAX library) - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: Warning: headers already sent by ...(for AJAX library) (/showthread.php?tid=2001) |
Warning: headers already sent by ...(for AJAX library) - El Forum - 07-11-2007 [eluser]Unknown[/eluser] hi im trying to use the projax and tinyAjax library , i also configured them as the are asked in CI wiki but in both case im gating the following warning ( i know why its happened usually "register_globals" , i have tried to fix it by making it off/on but its not working.) A PHP Error was encountered Severity: Warning Message: Cannot modify header information - headers already sent by (output started at D:\wamp\www\PD\system\application\controllers\ajax.php:40) Filename: errors/error_404.php Line Number: 1 my controller and view file are as bellow: Controller: Code: <?php View: Code: <html> i think both of the library is not working for one reason. will anyone tell me how to fix it ? Warning: headers already sent by ...(for AJAX library) - El Forum - 07-11-2007 [eluser]Lick[/eluser] Do you have a trailing space or new-line at the end of the file? Make sure ?> are the EXACT last 2 characters in the file. |