Error (1) in Databaseaction on Line 63. Detail: SQLSTATE[42000]: Syntax error or access violation: 1064 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 '= 0) AND page.p_type=0 AND positioner.ptype=0 GROUP BY page.language_id,textbo' at line 65 Template: /home/httpd/press/press.fjallraven.com/offline/lib/funct/query/execsql.php. SQL: SELECT textbox_tmp.editor_id AS t_editor_id, NULL AS pim_id,page.extlink,textbox_tmp.feed_guid,textbox_tmp.t_meta_descr, textbox_tmp.pubtype,page.page_fb_app_secret,page.page_fb_app_id,sites.mainurl AS db_mainurl,ctype.site_excl,sites.sites_id AS content_site,positioner.pmaxrows,positioner.detaillink_t,positioner.detaillink_p,positioner.detaillink_target,positioner.detaillink_descr, textbox_tmp.feedback_opt AS tfeedback_opt,textbox_tmp.identcode AS tidentcode,positioner.ctype_list,positioner.imgformat_id AS imgformat_feed,positioner.positioner_id, positioner.feedoptions,positioner.pubtype AS ppubtype,author.usr_id AS author_id,author.fullname AS afullname,author.username_enc AS author_enc,author.username AS authorid,page.rss_y,page.nicepath,searchrequest.*,ctype.cwebdir,ctype.tbmeta,template_frame.outputformat AS fr_outputformat,template_frame.output_cp AS fr_output_cp,template_frame.output_headers AS fr_output_headers,template_frame.http_auth AS fr_http_auth,template_frame.template_file AS templ_fr_name,rss_template.template_file AS templ_rss_name ,rss_template.outputformat AS rss_outputformat,page.meta_keywords AS thismeta_keywords ,page.meta_descr AS thismeta_description, ud_table.datatable,ud_table.con_field,ud_table.con_field,language.lang, textbox_tmp.textbox_id AS langvers_id, position.anchor AS POS,positioner.publish AS publish_pos,textbox_tmp.dateupdated AS tdateupdated,textbox_tmp.datecreated AS tdatecreated,textbox_tmp.notpublic AS textnotpublic,page.page_id AS PAID ,page.notpublic AS pagenotpublic,textbox_tmp.*,positioner.*,page.*,usr.usr_id,usr.lastname,usr.firstname,usr.fullname,usr.username,ctype.*,template.template_file AS templall,template2.template_file AS templone,template3.template_file AS cocotemplate, usr.username_enc,position.position_descr,position.position_descr AS cocotitle, textbox_tmp.publish AS tpublish,textbox_tmp.con_id as tcon_id, textbox_tmp.pdate,textbox_tmp.t_datefrom,textbox_tmp.t_dateto,textbox_tmp.t_wd_yes, positioner.detaillink AS p_detaillink, template.langtempl_id AS opagelang, template2.langtempl_id AS dpagelang,positioner.dateto,positioner.datefrom,positioner.notime,template3.template_name AS coconame, page.con_id as pcon_id,textbox_tmp.con_id as textbox_id,ctype.con_id as ttypecon_id,rm.r_change,rm.r_read,rm.r_delete,positioner.con_id AS conpositioner_id,rpage.level AS currentmenulevel,page.refererlist,page.referer_id,page.level,page.top_id ,textbox_tmp.author,textbox_tmp.author_id,IFNULL(author.publicprofile,usr.publicprofile) AS publicprofile, page.pagename,positioner.con_id AS positioner_con,template.template_id AS template_all_id,template2.template_id AS template_one_id,template.outputformat,template.http_auth,template2.http_auth AS http_auth2,template.output_cp,template.output_headers,template2.outputformat AS outputformat2,template2.output_cp AS output_cp2,template2.output_headers AS output_headers2, textbox_tmp.keywords FROM positioner INNER JOIN page ON page.con_id = positioner.page_id INNER JOIN textbox_tmp ON textbox_tmp.con_id = positioner.textbox_id LEFT JOIN searchrequest ON textbox_tmp.textbox_id=searchrequest.textbox_id LEFT JOIN position ON positioner.position_id=position.position_id LEFT JOIN page as rpage ON page.page_id=rpage.referer_id AND (page.level+1)=rpage.level LEFT JOIN template ON page.templ_all=template.template_id LEFT JOIN template AS template_frame ON page.templ_fr=template_frame.template_id LEFT JOIN template AS template2 ON page.templ_one=template2.template_id LEFT JOIN template AS template3 ON positioner.coco_id=template3.template_id LEFT JOIN template AS rss_template ON positioner.feed_templ=rss_template.template_id LEFT JOIN ctype ON textbox_tmp.ctype_id = ctype.ctype_id LEFT JOIN sites ON ctype.sites_id=sites.sites_id LEFT JOIN ud_table ON ctype.ud_table_id = ud_table.ud_table_id LEFT JOIN language ON textbox_tmp.language_id=language.language_id LEFT JOIN usr AS author ON textbox_tmp.author_id =author.usr_id LEFT JOIN usr ON textbox_tmp.editor_id=usr.usr_id LEFT JOIN rm ON (textbox_tmp.textbox_id=rm.textbox_id AND ( rm.usrgroup_id IN (0) OR rm.usr_id IN (0) ) AND rm.r_read=1) WHERE textbox_tmp.language_id IN (2,0) AND positioner.sites_id IN (0,3) AND textbox_tmp.positioner_tmp_id=0 AND textbox_tmp.pim_id = 0 AND page.language_id IN (2,0) AND positioner.language_id IN(2,0) AND positioner.publish<>0 AND textbox_tmp.publish IN (1) AND positioner.lock_y=0 AND textbox_tmp.pdate<='2020-10-21 14:47:25' AND (textbox_tmp.pdateto>='2020-10-21 14:47:25' OR textbox_tmp.pdateto_yes=0) AND ((datefrom<='2020-10-21 14:47:25' AND dateto >='2020-10-21 14:47:25') OR notime =1) AND 1 AND page.webdir = 'products' AND ( (rm.textbox_id IS NOT NULL AND textbox_tmp.notpublic=2 )OR (textbox_tmp.notpublic IN (1,4) AND 2 IN (0,1,3)) OR textbox_tmp.notpublic=0 OR 2 == 0) AND page.p_type=0 AND positioner.ptype=0 GROUP BY page.language_id,textbox_tmp.language_id,positioner.con_id ORDER BY position.anchor,positioner.sortorder, positioner.language_id DESC, page.language_id DESC ,textbox_tmp.language_id