Página 1 de 1

Problema al configurar el portal phpbb3

Publicado: 10 Feb 2010, 03:02
por Rashek
Tengo un problema, he instalado el portal phpbb3, pero al definir la id de las noticias, pues me sale este error:

Código: Seleccionar todo

Error General
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 'Noticias) AND t.topic_poster = u.user_id AND t.topic_first_post_id = p' at line 31 [1064]

SQL

SELECT t.forum_id, t.topic_id, t.topic_last_post_id, t.topic_time, t.topic_title, t.topic_attachment, t.topic_views, t.poll_title, t.topic_replies, t.forum_id, t.topic_poster, u.username, u.user_id, u.user_type, u.user_colour, p.post_id, p.post_text, p.post_attachment, p.enable_smilies, p.enable_bbcode, p.enable_magic_url, p.bbcode_bitfield, p.bbcode_uid FROM phpbb_topics AS t, phpbb_users AS u, phpbb_posts AS p WHERE ( t.topic_type != 2 ) AND t.forum_id IN (Ultimas Noticias) AND t.topic_poster = u.user_id AND t.topic_first_post_id = p.post_id AND t.topic_status <> 2 AND t.topic_approved = 1 ORDER BY t.topic_time DESC LIMIT 5

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: portal/includes/functions.php
LINE: 85
CALL: dbal->sql_query_limit()

FILE: portal/block/news.php
LINE: 27
CALL: phpbb_fetch_posts()

FILE: portal.php
LINE: 140
CALL: include('portal/block/news.php')
Espero que me digan una solucion pronto, ya me paso otra vez...