Welcome Guest, Not a member yet? Register   Sign In
autoloading or loading session class and url helper
#1

[eluser]midooh[/eluser]
I"m new to CodeIgniter everytime I autoload or load session class and url helper They doesnt work I get the message

A PHP Error was encountered
Severity: Warning

Message: Cannot modify header information - headers already sent by

Filename: libraries/Session.php

Line Number: 662

and

A PHP Error was encountered
Severity: Warning

Message: Cannot modify header information - headers already sent by

Filename: helpers/url_helper.php

Line Number: 539


Every time I try the redirect example it doesnt work
can u help me with it plz
#2

[eluser]onecode[/eluser]
i think i have a solution, open your index.php in the root...before calling require_once, line 116 use ob_start() and in the line 118 use ob_end_flush()..i use this trick and my apps doesn't error anymore with session and url (redirect)... Smile
#3

[eluser]midooh[/eluser]
:-) work fine!
thank u
#4

[eluser]n0xie[/eluser]
[quote author="onecode" date="1254329840"]i think i have a solution, open your index.php in the root...before calling require_once, line 116 use ob_start() and in the line 118 use ob_end_flush()..i use this trick and my apps doesn't error anymore with session and url (redirect)... Smile[/quote]
That's not really a trick nor a solution... :blank:
#5

[eluser]onecode[/eluser]
[quote author="n0xie" date="1254335917"][quote author="onecode" date="1254329840"]i think i have a solution, open your index.php in the root...before calling require_once, line 116 use ob_start() and in the line 118 use ob_end_flush()..i use this trick and my apps doesn't error anymore with session and url (redirect)... Smile[/quote]
That's not really a trick nor a solution... :blank:[/quote]

ups... :red:
#6

[eluser]midooh[/eluser]
It's not a trick but its a solution it works real good!




Theme © iAndrew 2016 - Forum software by © MyBB