View Issue Details

IDProjectCategoryView StatusLast Update
0010042mantisbtintegrationpublic2010-09-19 03:11
Reporterskorpiun Assigned Todhx  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionwon't fix 
Product Version1.1.6 
Summary0010042: SVN Integration Error - SYSTEM WARNING: session_start(): open(...) failed: Permission denied
Description

I followed the steps as found on this URL:
http://alt-tag.com/blog/archives/2006/11/integrating-mantis-and-subversion

Via SSH I am attempting to test the integration using this:
/usr/bin/php -q /path/to/mantis/core/checkin.php "Test for issue #11."

And I get this responce:
<p style="color:red">SYSTEM WARNING: session_start(): open(/var/lib/php/session/sess_7fcfqgl8n6huufdmkmqhdmfal7, O_RDWR) failed: Permission denied (13)

<p style="color:red">SYSTEM WARNING: session_start(): Cannot send session cookie - headers already sent by (output started at /path/to/mantis/config_inc.php:95)

<p style="color:red">SYSTEM WARNING: session_start(): Cannot send session cache limiter - headers already sent (output started at /path/to/mantis/config_inc.php:95)

TagsNo tags attached.

Relationships

related to 0011732 closeddhx Remove built-in source code integration support 

Activities

jreese

jreese

2009-01-12 12:30

reporter   ~0020592

Considering this is in your error message:

SYSTEM WARNING: session_start(): open(/var/lib/php/session/sess_7fcfqgl8n6huufdmkmqhdmfal7, O_RDWR) failed: Permission denied

I would say that the problem is that you need to be running the php task as the same user that the webserver uses. Alternately, you need to change permissions on your /var/lib/php/session/ path to give access to the user running the SVN hook.

dhx

dhx

2010-03-31 03:25

reporter   ~0024940

Won't fix as this old source code integration support is being dropped in favour of using a more modern plugin approach with the SourceIntegration plugin.

Refer to 0011732 for more details and feedback.