Welcome Guest, Not a member yet? Register   Sign In
Redirect() not working
#1

[eluser]ywftdg[/eluser]
In my controller, I am trying to fwd people somewhere when they hit the index, I have used this in the past with no problems.

Code:
function index()
    {
        
        redirect('projects');
        
    }

But now on this project, I am getting an error when I load the site:

A PHP Error was encountered
Severity: Notice

Message: Undefined offset: 0
Filename: libraries/Router.php
Line Number: 190
A PHP Error was encountered
Severity: Notice

Message: Undefined offset: 0
Filename: libraries/Router.php
Line Number: 196
A PHP Error was encountered
Severity: Notice

Message: Undefined offset: 0
Filename: libraries/Router.php
Line Number: 199
A PHP Error was encountered
Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /nfs/c01/h02/mnt/13322/domains/mydomain.com/system/libraries/Exceptions.php:164)
Filename: helpers/url_helper.php
Line Number: 485



Any ideas?


Messages In This Thread
Redirect() not working - by El Forum - 08-30-2008, 09:07 PM
Redirect() not working - by El Forum - 08-30-2008, 09:14 PM
Redirect() not working - by El Forum - 08-30-2008, 10:02 PM
Redirect() not working - by El Forum - 08-31-2008, 04:07 AM
Redirect() not working - by El Forum - 08-31-2008, 06:10 AM
Redirect() not working - by El Forum - 08-31-2008, 06:21 AM
Redirect() not working - by El Forum - 08-31-2008, 09:42 AM
Redirect() not working - by El Forum - 08-31-2008, 10:01 AM
Redirect() not working - by El Forum - 09-07-2008, 12:00 PM
Redirect() not working - by El Forum - 09-07-2008, 02:39 PM
Redirect() not working - by El Forum - 09-07-2008, 04:04 PM



Theme © iAndrew 2016 - Forum software by © MyBB