This topic is locked

session_start

1/10/2008 2:45:49 PM
PHPRunner General questions
D
dakk author

I get the following on the first php page in my app when deployed to apache on linux.
Notice: A session had already been started - ignoring session_start() in /var/www/html/atims_dev/mpcArchives/include/dbcommon.php on line 4
When deployed to my local apache on windows I do not get the message. If I comment out line 4 which is

session_start(); I don't get the message on the linux apache server.
Any help is appreciated. Thanks

Alexey admin 1/11/2008

Hi,
thank you for pointing me to this issue.

We'll fix it with the next update of PHPRunner.
Modify this line in dbcommon.php file in C:\Program Files\PHPRunner4.1\source\include folder this way:

@session_start();



Then rebuild your project.

It would work fine on both your servers now.