|
From: | nexus36 |
Subject: | Re: [noalyss-generale] RESOLU : Ajout d'un document à une opération déjà saisie. |
Date: | Mon, 14 Nov 2016 18:28:27 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 |
Effectivement, j'ai un message d'erreur : Fatal error: Uncaught exception 'Exception' with message 'Attention select the_filestyle from theme where the_name=$1 retourne 2 valeurs array ( 0 => 'Classique', ) values=array ( 0 => array ( 'the_filestyle' => 'style-classic.css', ), 1 => array ( 'the_filestyle' => 'style-classic.css', ), )' in /var/www/html/noalyss/include/lib/class_database.php:566 Stack trace: #0 /var/www/html/noalyss/include/ajax/ajax_ledger.php(219): Database->get_value('select the_file...', Array) #1 /var/www/html/noalyss/html/ajax_misc.php(185): require('/var/www/html/n...') #2 {main} thrown in /var/www/html/noalyss/include/lib/class_database.php on line 566 J'ai essayé de modifier le thème mais cela ne change rien. En regardant dans la base, je me suis aperçu qu'il y avait 2 fois les thèmes, comme il n'y a pas de clé primaire sur cette table, ça pose problème. ![]() J'ai tronqué et recréé les données : INSERT INTO theme( the_name, the_filestyle, the_filebutton) VALUES ('Light','style-light.css', ' '); INSERT INTO theme( the_name, the_filestyle, the_filebutton) VALUES ('Mandarine','style-mandarine.css', ' '); INSERT INTO theme( the_name, the_filestyle, the_filebutton) VALUES ('Mobile','style-mobile.css', ' '); INSERT INTO theme( the_name, the_filestyle, the_filebutton) VALUES ('Classique','style-classic.css', ' '); Après essai, le bouton parcourir est réapparu. Bonne soirée. Le 14/11/2016 à 13:19, Dany De Bontridder a écrit :
|
[Prev in Thread] | Current Thread | [Next in Thread] |