PHPBBB3 – php error

Need Help.

I had PHPBB3 ver 3.0.8
Then i made MOD implement. Forum_sort_order from
phpbb. com /community/ viewtopic.php?t=587765

Then any new threads did not appear in the forum only it showed when i sort it by Descending – i thought it was some bug

Immediatelly i did upgrade the Forum to 3.0.9 and now it worse.

i get the message in the viewforum.php
bodyworks .pl /b-forum/ viewforum.php?f=3

Code:

SQL ERROR [ mysqli ]

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 'ASC  LIMIT 25' at line 7 [1064]

SQL

SELECT t.topic_id    FROM bf_topics t    WHERE t.forum_id = 3        AND t.topic_type IN (0, 1)                      ORDER BY t.topic_type DESC,  ASC  LIMIT 25

BACKTRACE

FILE: includes/db/mysqli.php
LINE: 163
CALL: dbal->sql_error()

FILE: includes/db/mysqli.php
LINE: 205
CALL: dbal_mysqli->sql_query()

FILE: includes/db/dbal.php
LINE: 170
CALL: dbal_mysqli->_sql_query_limit()

FILE: viewforum.php
LINE: 439
CALL: dbal->sql_query_limit()


Can Anybody help me fix it ?
i can provide FTP access.

View full post on Tycoon Talk

,

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Get Adobe Flash playerPlugin by wpburn.com wordpress themes


RSS Site FeedRSS Site Feed

© 1992-2011 DC2NET™, Inc. All Rights Reserved