SQL Query:
SELECT
SQL_CALC_FOUND_ROWS * ,
UNIX_TIMESTAMP( bookmark_created ) AS bookmark_created
FROM (
SELECT
bookmark_id, tag_id, link_id, link_count, link_href, bookmark_title, bookmark_description, bookmark_created
FROM
favorite_tag_to_bookmark
INNER JOIN
favorite_bookmarks AS b
USING
( bookmark_id )
INNER JOIN
favorite_user
USING
( user_id )
INNER JOIN
favorite_links
USING
( link_id )
WHERE
tag_id =
AND
b.bookmark_access = 1
ORDER BY
user_points DESC
) AS bookmarks_tag
GROUP BY
link_id
ORDER BY
link_count DESC
LIMIT
25
SQL Error 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 'AND
b.bookmark_access = 1
ORDER BY
user_points DESC
)' at line 24
File: /var/www/favoriten.de/htdocs/module/PublicFrontend/PublicFrontend.class.php
Line: 947
Fatal error: Class 'file' not found in /var/www/favoriten.de/htdocs/framework/internals/db/db.class.php on line 501