Welcome Guest, Not a member yet? Register   Sign In
redirect problem
#1

[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
#2

[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.
#3

[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..
#4

[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..
#5

[eluser]Lone[/eluser]
Also note that the starting '/' is not required if your site url is set with a trailing one.




Theme © iAndrew 2016 - Forum software by © MyBB