//appel des plugins //laison Collabora Online const WOPI_DISCOVERY_URL = 'https://code.iel24.org/hosting/discovery'; //convertir .csv pour import de donnees const CALC_CONVERT_COMMAND = 'ssconvert'; //generer un PDF const PDF_COMMAND = 'chromium'; //rechercher dans un ficher PDF const PDFTOTEXT_COMMAND = 'mupdf'; //generer une miniature de pdf, doc collabora ou video const DOCUMENT_THUMBNAIL_COMMANDS = ['mupdf', 'collabora', 'ffmpeg'];
 \__/
(xx)
//||\\

Une erreur s'est produite

PHP error

Warning: session_name(): Session name cannot be changed after headers have already been sent

in .../include/lib/KD2/UserSession.php:277

273	public function __construct(DB $db, $config = [])
274	{
275		// Reset any existing session
276		unset($_SESSION);
277		session_name($this->cookie_name);
278
279		$this->db = $db;
280
281		foreach ($config as $key=>$value)

in .../include/lib/KD2/UserSession.php:277

→ session_name (1 arg.)

$name
string(3) "pko"
273	public function __construct(DB $db, $config = [])
274	{
275		// Reset any existing session
276		unset($_SESSION);
277		session_name($this->cookie_name);
278
279		$this->db = $db;
280
281		foreach ($config as $key=>$value)

in .../include/lib/Paheko/Users/Session.php:110

→ KD2\UserSession->__construct (2 arg.)

$db
object(Paheko\DB)#5 (17) {
  ["*transaction"]=> int(0)
  ["*pdo_attributes"]=> array(4) {
      [3]=> int(2)
      [19]=> int(5)
      [2]=> int(5)
      [20]=> bool(false)
      }
  ["*driver"]=> object(stdClass)#6 (6) {
      ["type"]=> string(6) "sqlite"
      ["url"]=> string(41) "sqlite:/var/lib/paheko/association.sqlite"
      ["user"]=> NULL
      ["password"]=> NULL
      ["options"]=> array(0) {
          }
      ["tables_prefix"]=> string(0) ""
      }
  ["*pdo"]=> NULL
  ["*sqlite_functions"]=> array(4) {
      ["base64_encode"]=> string(13) "base64_encode"
      ["rank"]=> array(2) {
          [0]=> string(9) "KD2\DB\DB"
          [1]=> string(11) "sqlite_rank"
          }
      ["haversine_distance"]=> array(2) {
          [0]=> string(9) "KD2\DB\DB"
          [1]=> string(16) "sqlite_haversine"
          }
      ["escape_like"]=> array(2) {
          [0]=> string(5) "$this"
          [1]=> string(10) "escapeLike"
          }
      }
  ["*sqlite_collations"]=> array(0) {
      }
  ["*statements"]=> array(0) {
      }
  ["*callback"]=> NULL
  ["*db"]=> NULL
  ["*flags"]=> NULL
  ["*_version"]=> string(0) ""
  ["*_log_last"]=> NULL
  ["*_log_start"]=> NULL
  ["*_log_store"]=> array(0) {
      }
  ["*_schema_update"]=> int(0)
  ["*_install_check"]=> bool(true)
  ["*_restricted_db"]=> array(0) {
      }
  }
$config
array(3) {
  ["cookie_domain"]=> string(15) "pahek.iel24.org"
  ["cookie_path"]=> string(1) "/"
  ["cookie_secure"]=> bool(false)
  }
106		}
107
108		$url = parse_url(ADMIN_URL);
109
110		parent::__construct(DB::getInstance(), [
111			'cookie_domain' => $url['host'],
112			'cookie_path'   => preg_replace('!/admin/$!', '/', $url['path']),
113			'cookie_secure' => HTTP::getScheme() == 'https' ? true : false,
114		]);

in .../include/lib/Paheko/Users/Session.php:90

→ Paheko\Users\Session->__construct (0 arg.)

86
87	static public function getInstance()
88	{
89		// Use of static is important for Files\WebDAV\Session
90		return static::$_instance ?: static::$_instance = new static;
91	}
92
93	public function __clone()
94	{

in .../include/lib/Paheko/Template.php:30

→ Paheko\Users\Session::getInstance (0 arg.)

26	}
27
28	public function display(?string $template = null): self
29	{
30		$session = Session::getInstance();
31		$this->assign('table_export', false);
32		$this->assign('pdf_export', false);
33
34		if ((isset($_GET['_pdf']) || isset($_GET['_export']))

in .../www/admin/install.php:52

→ Paheko\Template->display (1 arg.)

$template
string(11) "install.tpl"
48$tpl->assign('require_admin_account', !is_array(LOCAL_LOGIN));
49
50$tpl->assign(compact('csrf_key'));
51
52$tpl->display('install.tpl');
53

Context

date2026-08-17T22:01:00+02:00
duration2.4771690368652
environmentdevelopment
hostnamepahek.iel24.org
http_filesarray(0) { }
http_methodGET
http_postarray(0) { }
http_referrerhttp://pahek.iel24.org/admin/install.php
http_user_agentMozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
id5wsh7pry
languagePHP 8.4.24
memory_peak2097152
memory_used2097152
osLinux
paheko_data_root/var/lib/paheko
paheko_version1.3.22.1
php_sapiapache2handler
remote_ip172.24.24.100
root_directory/usr/share/paheko
server_addr172.24.24.107
sqlite_journalWAL
user_addr172.24.24.100
urlhttp://pahek.iel24.org/admin/install.php