You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.
(3.1.4) Fatal error: Uncaught exception Exception with message Query error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 (SELECT company, concat(lastname,', ',firstname) as "Name",street,postal,city,phone,fax,mobile,email,website FROM tl_member WHERE ((1=1 or 1>0)) AND id='4') thrown in system/modules/core/library/Contao/Database/Statement.php on line 282
You can spend quite a while (!) looking for the error: there is none (visible), and pasting the query into another program will prefectly return the result wanted.
Editing
company,concat(lastname,', ',firstname) as "Name",street,postal,city,phone,fax,mobile,email,website
results in the following stored value in the list_info column:
company,concat(lastname,', ',firstname) as "Name",street,postal,city,phone,fax,mobile,email,website
Solution: add 'decodeEntities'=>true, to the list_info DCA field.
(3.1.4)
Fatal error: Uncaught exception Exception with message Query error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 (SELECT company, concat(lastname,', ',firstname) as "Name",street,postal,city,phone,fax,mobile,email,website FROM tl_member WHERE ((1=1 or 1>0)) AND id='4') thrown in system/modules/core/library/Contao/Database/Statement.php on line 282
You can spend quite a while (!) looking for the error: there is none (visible), and pasting the query into another program will prefectly return the result wanted.
Editing
results in the following stored value in the
list_info
column:Solution: add
'decodeEntities'=>true,
to thelist_info
DCA field.Also see #6337. I am fixing this problem as well.
The text was updated successfully, but these errors were encountered: