Bonjour,
Je suis en train de migrer vers la version 12.0.1 et en utilisant le module en V4.3 j’ai une erreur à l’affichage. Est-ce qu’il y a un problème d’utilisation sur la V12 de Dolibarr ? La version 4.2.2 par contre ne semble pas me poser de soucis.
PS : bravo pour le module, super pratique !
Grégory
===
Voici les informations qui pourront aider au diagnostic (Vous pouvez fixer l’option $dolibarr_main_prod sur ‹ 1 › pour supprimer quelques notifications):
Date: 20200731161115
Dolibarr: 12.0.1 - https://www.dolibarr.org
Niveau de fonctionnalités: 0
PHP: 7.3.20
Server: Apache
OS: Linux bash.o2switch.net 3.10.0-962.3.2.lve1.5.27.el6h.x86_64 #1 SMP Sat Nov 30 03:28:39 EST 2019 x86_64
UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36
Url sollicitée: XXXX/custom/timesheet/Timesheet.php?idmenu=307&mainmenu=timesheet&leftmenu=
Referer: XXXX/core/tools.php?mainmenu=tools&leftmenu=
Gestionnaire de menu: eldy_menu.php
Modules/Applications: syslog, user, propal, tax, import, banque, multicurrency, prelevement, externalsite, externalrss, productbatch, stock, product, projet, supplier_proposal, agenda, commande, ecm, expensereport, facture, fournisseur, holiday, opensurvey, resource, salaries, expedition, societe, service, fckeditor, categorie, notification, searcheverywhere, export, internalnotification, comptabilite, timesheet, mailing
Type gestionnaire de base de données: mysqli
Requête dernier accès en base en erreur: SELECT DISTINCT element_id as taskid, prj.fk_soc, tsk.fk_projet, tsk.progress, tsk.fk_task_parent, tsk.rowid, app.rowid as appid, prj.ref as prjRef, tsk.ref as tskRef FROM llxje_element_contact as ec LEFT JOIN llxje_c_type_contact as ctc ON(ctc.rowid = ec.fk_c_type_contact AND ctc.active = ‹ 1 ›) JOIN llxje_projet_task as tsk ON tsk.rowid = ec.element_id LEFT JOIN llxje_projet as prj ON prj.rowid = tsk.fk_projet LEFT JOIN llxje_project_task_time_approval as app ON tsk.rowid = app.fk_projet_task AND app.fk_userid = fk_socpeople AND app.date_start = ‹ 2020-07-27 00:00:00 › AND app.date_end = ‹ 2020-08-03 00:00:00 › WHERE ec.fk_socpeople = ‹ 1 › AND ctc.element = ‹ project_task › AND prj.fk_statut = 1) AND (prj.datee >= ‹ 2020-07-27 00:00:00 › OR prj.datee IS NULL) AND (prj.dateo <= ‹ 2020-08-03 00:00:00 › OR prj.dateo IS NULL) AND (tsk.datee >= ‹ 2020-07-27 00:00:00 › OR tsk.datee IS NULL) AND (tsk.dateo <= ‹ 2020-08-03 00:00:00 › OR tsk.dateo IS NULL) ORDER BY prj.fk_soc, prjRef, tskRef
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 ‹ ) AND (prj.datee >= ‹ 2020-07-27 00:00:00 › OR prj.datee IS NULL) AND (prj.date… › at line 1