Warning: preg_match() expects parameter 2 to be string, array given in /home/www/webXXX/html/blog/include/functions.inc.php on line 683
Warning: preg_match() expects parameter 2 to be string, array given in /home/www/webXXX/html/blog/include/functions.inc.php on line 683
Row 679-688 of functions.inc.php
Code: Select all
function serendipity_getUriArguments($uri, $wildcard = false) {
global $serendipity;
/* Explode the path into sections, to later be able to check for arguments and add our own */
preg_match('/^'. preg_quote($serendipity['serendipityHTTPPath'], '/') . '(' . preg_quote($serendipity['indexFile'], '/') . '\?\/)?(' . ($wildcard ? '.+' : '[a-z0-9\-*\/%\+]+') . ')/i', $uri, $_res);
if (strlen($_res[2]) != 0) {
$args = explode('/', $_res[2]);
if ($args[0] == 'index') {
unset($args[0]);
}Query failed:
SELECT
e.id,
e.title,
e.timestamp,
e.comments,
e.exflag,
e.authorid,
e.trackbacks,
e.isdraft,
e.allow_comments,
e.last_modified,
a.realname AS author,
a.email
FROM
serendipity_entries AS e
LEFT JOIN serendipity_authors a
ON e.authorid = a.authorid
LEFT JOIN serendipity_entrycat ec
ON e.id = ec.entryid
LEFT JOIN serendipity_category c
ON ec.categoryid = c.categoryid
WHERE e.timestamp <= '1122224129' AND e.authorid = '1' AND MATCH (title,body,extended) AGAINST ('dfs')
GROUP BY e.id
ORDER BY timestamp DESC
LIMIT 0, 12
/ Can't find FULLTEXT index matching the column list
Have anybody an idea??