[Notice] A session had already been started – ignoring session_start()

How to resolve this prado framwork error message ?

[Notice] A session had already been started – ignoring session_start() (@line 134 in file /opt/lampp/htdocs/your_app/prado/framework/Web/THttpSession.php).

You can fix with. Firstly you can open existing “THttpSession.php” file and check line 134 (in my case).

As you can see, red script causing that error above. So you can remove and replace with green script.


public function open()

            if(headers_sent()){ session_start(); }

// if(!isset($SESSION)) { ob_start(); session_start();}


Hope this helpfully.



About blackphp

All about programming php, ajax, jquery, mysql, etc, tips n trick. Now, i'm concern in php programming with codeigniter framework n also training my design skill with photoshop or corel... wish me luck! ('o')

Posted on October 24, 2013, in PHP, Prado Framework and tagged , , , , , . Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: