[!AjaxSearch? &ajaxSearch=`1` &AS_landing=`8` &moreResultsPage=`8` &showMoreResults=`1` &addJscript=`0` &extract=`0` &AS_showResults=`0` &grabMax=`10` &searchStyle=`relevance`!]
« Execution of a query to the database failed - 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 'sc WHERE MATCH (sc.pagetitle, sc.longtitle, sc.introtext, sc.description, sc.con' at line 1 »
SQL: SELECT DISTINCT sc.id, sc.pagetitle, sc.description, sc.content, sc.introtext FROM `modx`.`modx_site_content` LEFT JOIN `modx`.`modx_site_tmplvar_contentvalues` stc ON sc.id = stc.contentid sc WHERE MATCH (sc.pagetitle, sc.longtitle, sc.introtext, sc.description, sc.content, stc.value) AGAINST ('mall') AND sc.privateweb = 0 AND sc.published = 1 AND sc.searchable=1 AND sc.deleted=0;
<?php // Use the following syntax $param = 'value'; $extractLength = 300; $useAllWords = 1; $showMoreResults = 1; $moreResultsPage = 240; $ajaxMax = 4; $minChars = 3; $searchStyle = 'relevence'; ?>
and i think that this never run at allCannot query the database (SELECT DISTINCT sc.id, sc.pagetitle, sc.description, sc.content, sc.introtext FROM `modx_site_content` LEFT JOIN `modx_site_tmplvar_contentvalues` stc ON sc.id = stc.contentid sc WHERE MATCH (sc.pagetitle, sc.longtitle, sc.introtext, sc.description, sc.content, stc.value) AGAINST ('water') AND sc.id IN (243,47,355,179,201,202,236,199,200,180,223,214,229,203,191,185,196,197,186,195,192,193,190,189,187,181,188,194,182,184,183,226,224,225,227,219,220,215,216,218,217,221,230,235,232,234,231,204,212,209,210,211,207,208,206,205) AND sc.privateweb = 0 AND sc.published = 1 AND sc.searchable=1 AND sc.deleted=0;)