View Issue Details

IDProjectCategoryView StatusLast Update
0009917mantisbtscriptingpublic2009-06-23 15:28
Reporterdeboutv Assigned Tojreese  
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionfixed 
Product Version1.1.4 
Target Version1.2.0rc1Fixed in Version1.2.0rc1 
Summary0009917: Issue with session with scheduled script
Description

I have the following message if the script is run by PHP-cli.

SYSTEM WARNING
session_start(): Cannot send session cookie - headers already sent

TagsNo tags attached.

Activities

grangeway

grangeway

2008-11-30 05:53

reporter   ~0020140

John,

Could you have a look at this - is it just a case of not running sessions from the cli ?

Paul

jreese

jreese

2009-03-30 13:11

reporter   ~0021297

Fix committed to 1.2.x development tree.

Related Changesets

MantisBT: master c318ed0f

2009-03-30 12:57

jreese


Details Diff
Issue 0009917: Implemented API to determine if PHP is running as CLI or CGI. Affected Issues
0009917
mod - core/constant_inc.php Diff File
mod - core/php_api.php Diff File

MantisBT: master 132a31e7

2009-03-30 12:57

jreese


Details Diff
Fix 0009917: Only use sessions and forms if PHP is running as CGI. Affected Issues
0009917
mod - core/session_api.php Diff File
mod - core/form_api.php Diff File