Welcome Guest, Not a member yet? Register   Sign In
A PHP Error was encountered - session
#1

[eluser]zawaruddin[/eluser]
i've problem with my application. Sometimes my application shows

Code:
A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\xxis\system\application\controllers\FORM\master_assy_form.php:2)

Filename: libraries/Session.php

Line Number: 662

i don't have idea about it... i just check my controller (master_assy_form.php) it's fine. and i've loaded session class automatically in autoload.php...

help me....

thx b4 ^_^
#2

[eluser]WanWizard[/eluser]
There is something in master_assy_form.php on line 2 that produces output. That's the message, so I assume it's not fine...
#3

[eluser]zawaruddin[/eluser]
this's the code

Code:
<?php
//        Created on     : Jan 2011
//        Author        : ...
//        File        : master_assy_form.php
//        Desc        : ...
//        Updated        : 5 Jan 2011
        
        
class Master_assy_form extends Controller{
    
    function Master_assy_form() {
        parent::Controller();
        $this->load->helper('array');
        $this->load->model('master_assy_model');
        $this->load->model('customers_model');
        $this->load->model('history_model');
    }
i think it's fine...
#4

[eluser]WanWizard[/eluser]
PHP thinks otherwise...
#5

[eluser]InsiteFX[/eluser]
Quote:i think it’s fine…

If you think it's fine then why do you have the ERROR?

Make sure its saved with no BOM and no white space. Also remove the ending ?> if it's there.

Also what version of CodeIgniter our you running?

InsiteFX




Theme © iAndrew 2016 - Forum software by © MyBB