Bonjour,
Sur un extrafield type « case à cocher » j’ai une erreur dans les listes lorsque que je veux filtrer dessus :
Dolibarr a détecté une erreur technique. Voici les informations qui pourront aider au diagnostic (Vous pouvez fixer l'option $dolibarr_main_prod sur '1' pour supprimer quelques notifications): Date: 20181205151450 Dolibarr: 8.0.3 Niveau de fonctionnalités: 0 PHP: 7.0.30-0+deb9u1 Server: Apache/2.4.25 (Debian) OS: Linux instance.com 4.9.0-8-amd64 #1 SMP Debian 4.9.110-3+deb9u6 (2018-10-08) x86_64 UserAgent: Mozilla/5.0 (Windows NT 10.0;
Win64;
x64) AppleWebKit/537.36 (KHTML,
LIKE Gecko) Chrome/70.0.3538.110 Safari/537.36 Url sollicitée: /dolibarr/comm/propal/list.php Referer: https://instance.com/dolibarr/comm/propal/list.php?leftmenu=propals Gestionnaire de menu: eldy_menu.php TYPE gestionnaire de base de données: mysqli Requête dernier accès en base en erreur:
SELECT s.rowid AS socid,
s.nom AS name,
s.email,
s.town,
s.zip,
s.fk_pays,
s.client,
s.code_client,
typent.code AS typent_code,
ava.rowid AS availability,
state.code_departement AS state_code,
state.nom AS state_name,
p.rowid,
p.entity,
p.note_private,
p.total_ht,
p.tva AS total_vat,
p.total AS total_ttc,
p.localtax1,
p.localtax2,
p.ref,
p.ref_client,
p.fk_statut,
p.fk_user_author,
p.datep AS dp,
p.fin_validite AS dfv,
p.date_livraison AS ddelivery,
p.datec AS date_creation,
p.tms AS date_update,
pr.rowid AS project_id,
pr.ref AS project_ref,
u.login,
ef.typetravaux AS options_typetravaux,
ef.nomarche AS options_nomarche,
ef.codeserv AS options_codeserv,
ef.noengage AS options_noengage,
ef.noboncomm AS options_noboncomm,
ef.envausiege AS options_envausiege,
ef.recuausiege AS options_recuausiege
FROM llx_societe AS s
LEFT JOIN llx_c_country AS country ON (country.rowid = s.fk_pays)
LEFT JOIN llx_c_typent AS typent ON (typent.id = s.fk_typent)
LEFT JOIN llx_c_departements AS STATE ON (STATE.rowid = s.fk_departement), llx_propal AS p
LEFT JOIN llx_propal_extrafields AS ef ON (p.rowid = ef.fk_object)
LEFT JOIN llx_user AS u ON p.fk_user_author = u.rowid
LEFT JOIN llx_projet AS pr ON pr.rowid = p.fk_projet
LEFT JOIN llx_c_availability AS ava ON (ava.rowid = p.fk_availability)
WHERE p.fk_soc = s.rowid
AND p.entity IN (1)
AND ()
ORDER BY p.ref DESC,
p.ref DESC LIMIT 26 Code retour dernier accès en base en erreur: DB_ERROR_SYNTAX Information sur le dernier accès en base en erreur: You have an error IN your SQL syntax;
CHECK the manual that corresponds TO your MariaDB server VERSION
FOR the RIGHT syntax TO USE near ') ORDER BY p.ref DESC, p.ref DESC LIMIT 26' AT line 1
Reproduisez vous ? Si oui y a t il moyen de fixer ça à la main ? A priori le AND() à la fin fait des siennes
Merci