Voila le log :
[31-Mar-2021 08:49:48 UTC] =========== Error ref. dwqaqcdu ===========
Exception: Unable to prepare statement: 1, no such table: fichiers in
L:\wamp64\www\garradin\include\lib\KD2\DB\SQLite3.php:375
Stack trace:
#0 L:\wamp64\www\garradin\include\lib\KD2\DB\SQLite3.php(375):
SQLite3->prepare('SELECT id, id |...')
#1 L:\wamp64\www\garradin\include\lib\KD2\DB\SQLite3.php(471):
KD2\DB\SQLite3->preparedQuery('SELECT id, id |...')
#2 L:\wamp64\www\garradin\include\lib\Garradin\Upgrade.php(85):
KD2\DB\SQLite3->getAssoc('SELECT id, id |...')
#3 L:\wamp64\www\garradin\www\admin\upgrade.php(36): Garradin\Upgrade::upgrade()
#4 {main}
<errorReport>
{
"errors": [
{
"message": "Unable to prepare statement: 1, no such table:
fichiers",
"errorCode": 0,
"type": "Exception",
"backtrace": [
{
"file": "...\\include\\lib\\KD2\\DB\\SQLite3.php",
"line": 375,
"code": {
"371": "",
"372": "\t\t$this->connect();",
"373": "",
"374": "\t\t$query =
$this->applyTablePrefix($query);",
"375": "\t\t$statement =
$this->db->prepare($query);",
"376": "",
"377": "\t\t$nb =
$statement->paramCount();",
"378": "",
"379": "\t\tif (!empty($args))"
}
},
{
"function": "SQLite3->prepare",
"file": "...\\include\\lib\\KD2\\DB\\SQLite3.php",
"line": 375,
"args": {
"$query": "string(42) \"SELECT id, id ||
'_' || nom FROM fichiers;\""
},
"code": {
"371": "",
"372": "\t\t$this->connect();",
"373": "",
"374": "\t\t$query =
$this->applyTablePrefix($query);",
"375": "\t\t$statement =
$this->db->prepare($query);",
"376": "",
"377": "\t\t$nb =
$statement->paramCount();",
"378": "",
"379": "\t\tif (!empty($args))"
}
},
{
"function": "KD2\\DB\\SQLite3->preparedQuery",
"file": "...\\include\\lib\\KD2\\DB\\SQLite3.php",
"line": 471,
"args": {
"$query": "string(42) \"SELECT id, id ||
'_' || nom FROM fichiers;\""
},
"code": {
"467": "\t}",
"468": "",
"469": "\tpublic function getAssoc(string
$statement, ...$args): array",
"470": "\t{",
"471": "\t\t$res =
$this->preparedQuery($statement, ...$args);",
"472": "\t\t$out = [];",
"473": "",
"474": "\t\twhile ($row =
$res->fetchArray(\\SQLITE3_NUM))",
"475": "\t\t{"
}
},
{
"function": "KD2\\DB\\SQLite3->getAssoc",
"file":
"...\\include\\lib\\Garradin\\Upgrade.php",
"line": 85,
"args": {
"$statement": "string(42) \"SELECT id, id ||
'_' || nom FROM fichiers;\""
},
"code": {
"81": "\t\t\t{",
"82": "\t\t\t\t\/\/ Missing trigger",
"83": "\t\t\t\t$db->beginSchemaUpdate();",
"84": "",
"85": "\t\t\t\t$attachments =
$db->getAssoc('SELECT id, id || \\'_\\' || nom FROM
fichiers;');",
"86": "",
"87": "\t\t\t\t\/\/ Update Skriv content for
attachments",
"88": "\t\t\t\tforeach
($db->iterate('SELECT rowid, contenu FROM wiki_revisions;') as $r) {",
"89": "\t\t\t\t\t$content =
preg_replace_callback('!<<(image|fichier)\\s*\\|\\s*(\\d+)\\s*(?:\\|\\s*(gauche|droite|centre))?\\s*(?:\\|\\s*(.+)\\s*)?>>!',
function ($match) use ($attachments) {"
}
},
{
"function": "Garradin\\Upgrade::upgrade",
"file": "...\\www\\admin\\upgrade.php",
"line": 36,
"code": {
"32": "<\/script>';",
"33": "",
"34": "flush();",
"35": "",
"36": "Upgrade::upgrade();",
"37": "",
"38": "echo '<h2>Mise \u00e0 jour
termin\u00e9e.<\/h2>",
"39": "<p><a
href=\"'.ADMIN_URL.'\">Retour<\/a><\/p>",
"40": ""
}
}
]
}
],
"context": {
"id": "dwqaqcdu",
"date": "2021-03-31T08:49:48+00:00",
"os": "WINNT",
"language": "PHP 8.0.3",
"environment": "development",
"php_sapi": "apache2handler",
"remote_ip": "::1",
"http_method": "GET",
"files_sent": "array(0) {\r\n}",
"rootDirectory": "L:\\wamp64\\www\\garradin",
"garradin_data_root": "L:\\wamp64\\www\\garradin\/data",
"garradin_version": "1.1.0-beta1",
"url": "http:\/\/garradin.loc\/admin\/upgrade.php"
}
}
</errorReport>
> -----Original Message-----
> From: BohwaZ <garradin@garradin.eu>
> Sent: Wednesday, March 31, 2021 10:41 AM
> To: aide@garradin.eu
> Subject: RE: [garradin] Version 1.1.0 beta 1
>
> Quelles erreurs ? :)
>
> --
> . ____
> / ___| Liste d'entraide des utilisateurs de Garradin
> | | _ http://garradin.eu/
> | |_| |
> \____| Désinscription : http://garradin.eu/aide/