\__/
(xx)
//||\\

Une erreur s'est produite

Exception

CHECK constraint failed: compta_journal

in .../include/lib/KD2/DB_SQLite3.php:433

429	public function exec($query)
430	{
431		$this->connect();
432		$query = $this->applyTablePrefix($query);
433		return $this->db->exec($query);
434	}
435
436	/**
437	 * Runs a query and returns the first row from the result

in .../include/lib/KD2/DB_SQLite3.php:433

→ SQLite3->exec (1 arg.)

$query
string(18501) "-- Ajouter champ pour OTP
ALTER TABLE membres ADD COLUMN secret_otp TEXT NULL;

-- Ajouter champ clé PGP
ALTER TABLE membres ADD COLUMN clef_pgp TEXT NULL;

--------------------------…
429	public function exec($query)
430	{
431		$this->connect();
432		$query = $this->applyTablePrefix($query);
433		return $this->db->exec($query);
434	}
435
436	/**
437	 * Runs a query and returns the first row from the result

in .../include/lib/Garradin/DB.php:83

→ KD2\DB_SQLite3->exec (1 arg.)

$query
string(18501) "-- Ajouter champ pour OTP
ALTER TABLE membres ADD COLUMN secret_otp TEXT NULL;

-- Ajouter champ clé PGP
ALTER TABLE membres ADD COLUMN clef_pgp TEXT NULL;

--------------------------…
79        $sql = preg_replace_callback('/^\.read (.+\.sql)$/m', function ($match) use ($dir) {
80            return file_get_contents($dir . DIRECTORY_SEPARATOR . $match[1]) . "\n";
81        }, $sql);
82
83        return $this->exec($sql);
84    }
85
86    /**
87     * @see https://www.sqlite.org/lang_altertable.html

in .../www/admin/upgrade.php:136

→ Garradin\DB->import (1 arg.)

$file
string(26) ".../include/data/0.8.0.sql"
132        $db->toggleForeignKeys(false);
133
134        $db->begin();
135
136        $db->import(ROOT . '/include/data/0.8.0.sql');
137
138        $db->commit();
139
140        $config = Config::getInstance();

Context

idb34lhag9
date2021-12-07T12:38:38+01:00
osLinux
languagePHP 7.4.26
environmentdevelopment
php_sapilitespeed
remote_ip54.158.251.104
http_methodGET
files_sentarray(0) { }
rootDirectory/home2/benapse/public_html/garradin.makerspace56.org
garradin_data_root/home2/benapse/public_html/garradin.makerspace56.org
garradin_version0.9.8.1
urlhttp://garradin.makerspace56.org/admin/upgrade.php