resource(2) of type (mysql link)
Fatal error: Uncaught exception 'Exception' with message 'MySQL.Error(
SELECT 2796 AS merkid,
M.naam,
M.url,
M.isDeprecated,
1 AS `if:isOnline`,
GROUP_CONCAT(DISTINCT T.tag) AS tag,
MAX(M.beschrijving) AS beschrijving,
MAX(S.link) AS specialUrl,
MAX(S.thema) AS specialNaam,
MIN(I1.impid) AS NLimpid, MAX(I1.naam) AS NLimporteur,
MIN(I2.impid) AS BEimpid, MAX(I2.naam) AS BEimporteur,
MAX(I1.abon_type) AS payedNL,
MAX(I2.abon_type) AS payedBE,
MAX(M.abon_type) AS payed,
M.importeur1,
M.importeur2,
M.prijslijst,
IF( IFNULL(M.prijslijst,'') = '',false,true ) AS `if:hasPrijslijst`,
( M.importeur1 = -10 OR M.importeur2 = -10 ) AS `if:isAlsoImporteur`,
IFNULL(MAX(P.plaatje), CONCAT('logo/',MAX(M.plaatje2))) AS plaatje,
IFNULL(MAX(P.alt_tag), '') AS alt,
IF( MAX(T.tag) IS NULL,false,true ) AS `if:hasTag`,
IF( COUNT(BR.brochure1) = 0,false,true ) AS `if:hasBrochure`,
false AS `if:hasPriceList`,
-- IF( MAX(M in /home/forge/hifi.nl/www/include/core/clsDb.php on line 98