Session automatically started with PhpStorm

Hi all,

I am using a XAMPP set up with PhpStorm. When I open up my project with PHPStorm's inbuilt server it gives me this error


Notice: A session had already been started - ignoring session_start()
in /Applications/XAMPP/xamppfiles/htdocs/gallery/admin/includes/session.php on line 17

When I use the application outside of PhpStorm it works fine.

Just wondering what could be the issue here?

Thanks,

Alex

3 comments
Comment actions Permalink

Hi Alex,

 

Apologies for a lack of response here. Can you check if an issue persists after a machine reboot? If not I'd appreciate if you share an .idea log of an IDE.

 

Thanks!

Dmitry

0
Comment actions Permalink

Hi Dmitry,

No worries!

Yeah the issue is still present after a reboot, I've uploaded the idea.log file to dropbox if that's okay? 

https://www.dropbox.com/s/netju4l2w7xkxo5/idea.log?dl=0 

Thanks!

0
Comment actions Permalink

Thanks for the log: it's clear.

It seems like you have session_start() function calls more than in one .php file. Please check if this video is related to your issue: https://www.youtube.com/watch?v=JD8Io8H6eZU

 

Thanks!

0

Please sign in to leave a comment.