dostaje taki błąd:
===================================================
Date: Sat, 03 Apr 2010 10:44:52 +0000
Error Number: 1064
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 ') GROUP BY t.forum_id ORDER BY f_posts DESC LIMIT 0,1' at line 1
IP Address: 83.11.231.14
Page: /index.php?showuser=123
Debug: array (
1 =>
array (
'file' => '/home/maxmati/public_html/ips_kernel/classDb.php',
'line' => 1008,
'function' => 'query',
'class' => 'db_driver_mysql',
),
4 =>
array (
'file' => '/home/maxmati/public_html/admin/applications/members/modules_public/profile/view.php',
'line' => 75,
'function' => '_viewModern',
'class' => 'public_members_profile_view',
),
5 =>
array (
'file' => '/home/maxmati/public_html/admin/sources/base/ipsController.php',
'line' => 289,
'function' => 'doExecute',
'class' => 'public_members_profile_view',
),
)
mySQL query error: SELECT COUNT(p.author_id) as f_posts,t.forum_id FROM ibf_posts p LEFT JOIN ibf_topics t ON ( t.tid=p.topic_id ) WHERE p.author_id=123 AND t.forum_id IN () GROUP BY t.forum_id ORDER BY f_posts DESC LIMIT 0,1