when I searched for _**6XX the site returned: An error occured in a database query!
Context: File /tiki-searchresults.php Url /tiki-searchresults.php?words=_**6XX&where=pages&search=go Query: SELECT COUNT(*) FROM tiki_comments c, tiki_pages p WHERE c.objectType = "wiki page" AND p.pageName=c.object AND (UPPER(c.title) REGEXP '.*_**6XX.*' OR UPPER(c.data) REGEXP '.*_**6XX.*') Values: array(5) { [0]=> array(6) { ["file"]=> string(46) "/var/www/html/tikiwiki-1.8.5/lib/tikidblib.php" ["line"]=> int(109) ["function"]=> string(9) "sql_error" ["class"]=> string(9) "searchlib" ["type"]=> string(2) "->" ["args"]=> array(3) { [0]=> &string(185) "SELECT COUNT(*) FROM tiki_comments c, tiki_pages p WHERE c.objectType = "wiki page" AND p.pageName=c.object AND (UPPER(c.title) REGEXP '.*_**6XX.*' OR UPPER(c.data) REGEXP '.*_**6XX.*')" [1]=> &NULL [2]=> &bool(false) } } [1]=> array(6) { ["file"]=> string(46) "/var/www/html/tikiwiki-1.8.5/lib/searchlib.php" ["line"]=> int(106) ["function"]=> string(6) "getone" ["class"]=> string(9) "searchlib" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> &string(185) "SELECT COUNT(*) FROM tiki_comments c, tiki_pages p WHERE c.objectType = "wiki page" AND p.pageName=c.object AND (UPPER(c.title) REGEXP '.*_**6XX.*' OR UPPER(c.data) REGEXP '.*_**6XX.*')" } } [2]=> array(6) { ["file"]=> string(46) "/var/www/html/tikiwiki-1.8.5/lib/searchlib.php" ["line"]=> int(110) ["function"]=> string(5) "_find" ["class"]=> string(9) "searchlib" ["type"]=> string(2) "->" ["args"]=> array(5) { [0]=> &array(10) { ["from"]=> string(29) "tiki_comments c, tiki_pages p" ["name"]=> string(7) "c.title" ["data"]=> string(6) "c.data" ["hits"]=> string(6) "p.hits" ["lastModif"]=> string(13) "c.commentDate" ["href"]=> string(31) "tiki-index.php?page=%s#comments" ["id"]=> array(2) { [0]=> string(10) "p.pageName" [1]=> string(10) "c.threadId" } ["pageName"]=> string(33) "CONCAT(p.pageName, ": ", c.title)" ["search"]=> array(2) { [0]=> string(7) "c.title" [1]=> string(6) "c.data" } ["filter"]=> string(50) "c.objectType = "wiki page" AND p.pageName=c.object" } [1]=> &string(6) "_**6XX" [2]=> ∫(0) [3]=> &string(2) "10" [4]=> &bool(false) } } [3]=> array(6) { ["file"]=> string(46) "/var/www/html/tikiwiki-1.8.5/lib/searchlib.php" ["line"]=> int(156) ["function"]=> string(5) "_find" ["class"]=> string(9) "searchlib" ["type"]=> string(2) "->" ["args"]=> array(5) { [0]=> &array(10) { ["from"]=> string(29) "tiki_comments c, tiki_pages p" ["name"]=> string(7) "c.title" ["data"]=> string(6) "c.data" ["hits"]=> string(6) "p.hits" ["lastModif"]=> string(13) "c.commentDate" ["href"]=> string(31) "tiki-index.php?page=%s#comments" ["id"]=> array(2) { [0]=> string(10) "p.pageName" [1]=> string(10) "c.threadId" } ["pageName"]=> string(33) "CONCAT(p.pageName, ": ", c.title)" ["search"]=> array(2) { [0]=> string(7) "c.title" [1]=> string(6) "c.data" } ["filter"]=> string(50) "c.objectType = "wiki page" AND p.pageName=c.object" } [1]=> &string(6) "_**6XX" [2]=> ∫(0) [3]=> &string(2) "10" [4]=> &bool(true) } } [4]=> array(6) { ["file"]=> string(51) "/var/www/html/tikiwiki-1.8.5/tiki-searchresults.php" ["line"]=> int(165) ["function"]=> string(10) "find_wikis" ["class"]=> string(9) "searchlib" ["type"]=> string(2) "->" ["args"]=> array(4) { [0]=> &string(6) "_**6XX" [1]=> ∫(0) [2]=> &string(2) "10" [3]=> &bool(true) } } } __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users