Welcome Guest, Not a member yet? Register   Sign In
Plz Help: Header already sent
#11

[eluser]edge123[/eluser]
I looked and looked but, realy i don't have a clue, i am totaly lost. I looked in: Location: ./system/libraries/Controller.php */ but i don't no where to put the lines of code :-(
#12

[eluser]InsiteFX[/eluser]
It goes into your controller that you are running.

Default controller is welcome, unless you change it in
application/config/routes.php

Post your controller code.

InsiteFX
#13

[eluser]edge123[/eluser]
Thx, i did not say that this only hapens in the admin part. when i login i get the message and, i found a work around, when i want to add something here it is:

<?php

class Welcome extends Controller {

function Welcome()
{
parent::Controller();
}

function index()
{
$this->load->view('welcome_message');
}
}

/* End of file welcome.php */
/* Location: ./system/application/controllers/welcome.php */
#14

[eluser]edge123[/eluser]
PLZ it is getting a kind of urgent, in about 2 day's it has to work, plz help me.... i can give a ftp account maybe that is easier...
#15

[eluser]InsiteFX[/eluser]
Change controller to the name of your controller.
Change where to the methos in your controller to go.

Code:
switch($method)
    {
        case ‘refresh’ : redirect('/controller/where', 'refresh');
            break;
        default : redirect('/controller/where', 'location', 302);
            break;
    }

InsiteFX
#16

[eluser]edge123[/eluser]
So, after reading this i understand that if i want to move the website to a other domain i have to change those settings again?
#17

[eluser]edge123[/eluser]
Can someone help me plz, for most of you it is not much but for me a big issue, i give you my FTP account and willing to spend a few bucks for this...
#18

[eluser]InsiteFX[/eluser]
You should not have to change those, but you will need to
change your base_url in application/config/config.php

If it is not working then your base_url is wrong!

InsiteFX




Theme © iAndrew 2016 - Forum software by © MyBB