by Leahcim » Tue Feb 10, 2009 5:52 pm
This is the debug:
[Microsoft][ODBC SQL Server Driver][SQL Server]Column "phpbb_topics.topic_last_post_id" is invalid in the ORDER BY clause because it is not contained in either an aggregate function or the GROUP BY clause. [37000]
SQL
SELECT COUNT(topic_id) AS topic FROM phpbb_topics WHERE forum_id IN (4, 6, 7, 8, 9) AND topic_type <> 3 AND topic_status <> 2 ORDER BY topic_last_post_id DESC
BACKTRACE
FILE: includes/db/mssql_odbc.php
LINE: 165
CALL: dbal->sql_error()
FILE: gym_sitemaps/modules/rss_forum.php
LINE: 207
CALL: dbal_mssql_odbc->sql_query()
FILE: gym_sitemaps/includes/gym_sitemaps.php
LINE: 182
CALL: rss_forum->rss_main()
FILE: gym_sitemaps/includes/gym_sitemaps.php
LINE: 165
CALL: gym_sitemaps->load_module()
FILE: gym_sitemaps/includes/gym_rss.php
LINE: 318
CALL: gym_sitemaps->load_modules()
FILE: gym_sitemaps/includes/gym_rss.php
LINE: 128
CALL: gym_rss->rss_output()
FILE: gymrss.php
LINE: 21
CALL: gym_rss->gym_rss()
Where do i find the options?
/Mike