View Issue Details

IDProjectCategoryView StatusLast Update
0013844Tine 2.0Setuppublic2018-05-03 16:09
ReporterNotaufnahmeAssigned Topschuele 
PrioritynormalSeverityminorReproducibilityhave not tried
Status assignedResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary0013844: config.inc.php session.save_path
DescriptionVersion 16.09.4

Hallo zusammen,

ich habe in der config.inc.php session.save_path definiert, aber es hatte absolut keinen Effekt:

 ),
  'session.save_path' => '/home/www/.../.tmp',
  'logger' =>
  array (
    'active' => false,
    'filename' => '',
    'priority' => 0,
  ),

Hat jemand eine Idee?
TagsNo tags attached.
mwticket

Activities

pschuele

pschuele

2018-05-03 15:44

administrator   ~0021728

the session save path should be configured like this:

'session' =>
  array (
    'backend' => 'File',
    'path' => '/sessionpath'
  ),
Notaufnahme

Notaufnahme

2018-05-03 16:09

reporter   ~0021730

I was probably misleading:

the "session" path is of course defined in config.inc.php:

  session' =>
  array (
    lifetime' => 86400,
    'backend' => 'File',
    path' => '/home/www/.../sessions',
    'host' => 'localhost',
    port' => 6379,

But session.save_path is about the definition in php.ini e.g. session.save_path = /tmp

Now each web solution writes to this "globally" defined path. Even Zend. And that's where the problems start. In 4 days alone, Zend has stored over 100,000 files in the php.ini defined path. Therefore there should be a way in Tine to overwrite exactly this path for the domain. So far, however, all attempts have been unsuccessful.

For an entry e.g. in the index.php

<?php
ini_set('session.save_path',realpath(dirname($_SERVER['DOCUMENT_ROOT']) . '/../session'));
session_start();

Zend complains immediately and Tine doesn't even start.

Translated with www.DeepL.com/Translator

Issue History

Date Modified Username Field Change
2018-04-29 16:25 Notaufnahme New Issue
2018-05-03 15:44 pschuele Note Added: 0021728
2018-05-03 15:44 pschuele Assigned To => pschuele
2018-05-03 15:44 pschuele Status new => feedback
2018-05-03 16:09 Notaufnahme Note Added: 0021730
2018-05-03 16:09 Notaufnahme Status feedback => assigned