redirect problem - 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: redirect problem (/showthread.php?tid=6155) |
redirect problem - El Forum - 02-16-2008 [eluser]Bharani[/eluser] A PHP Error was encountered Severity: Warning Message: Cannot modify header information - headers already sent by (output started at C:\Xampp\xampp\htdocs\CodeIgniter\system\application\controllers\image_gallery_controller.php:80) Filename: helpers/url_helper.php Line Number: 487 after values inserted tell how to redirect the page thanks in advance redirect problem - El Forum - 02-16-2008 [eluser]Seppo[/eluser] It says you have an output on controllers/image_gallery_controller.php no line 80, probably a white space after ?>. Remove it and it should work. redirect problem - El Forum - 02-16-2008 [eluser]Bharani[/eluser] redirect('/photo_gallery_controller/','location'); here /photo_gallery_controller==>means==>page where we want to redirect Location ===means ===> what still it goes white page ... or tell which syntax goes goes to our specified page.. redirect problem - El Forum - 02-20-2008 [eluser]TiBe[/eluser] Where do you have the redirection?? (wich file, put the code in the post) This error is very common, you cant send any type of output if you want to redirect.. redirect problem - El Forum - 02-20-2008 [eluser]Lone[/eluser] Also note that the starting '/' is not required if your site url is set with a trailing one. |