Welcome Guest, Not a member yet? Register   Sign In
Loading session class triggers header error
#2

[eluser]cideveloper[/eluser]
Try this. Remove everything after the closing bracket from the Example class (no newline after the closing tag either). You don't need the closing php tag at the bottom.

Also as a suggestion, change

Code:
public function Example()
to
Code:
public function __construct()

just to keep with the current ways of doing it.

Controller Constructors


Messages In This Thread
Loading session class triggers header error - by El Forum - 05-06-2011, 04:14 PM
Loading session class triggers header error - by El Forum - 05-06-2011, 11:30 PM
Loading session class triggers header error - by El Forum - 05-10-2011, 10:38 AM
Loading session class triggers header error - by El Forum - 05-10-2011, 10:58 AM



Theme © iAndrew 2016 - Forum software by © MyBB