Pagina 1 van 1

Probleem met Quick Title edition mod

Geplaatst: 01 jun 2004, 19:57
door Frank
Wanneer ik een topic probeer te bekijken zie een foutmelding
voor de rest kan ik wel tags aanmaken enz maar alleen een topic bekijken werkt niet :S
Wie kan mij helpen?

hier onder staat de foutmelding
Could not obtain topic information

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax near '.forum_name, f.forum_status, f.forum_id, f.auth_view, f.auth_read, f.auth_post, ' at line 1

SELECT t.topic_id, t.topic_title, t.topic_status, t.topic_replies, t.topic_time, t.topic_type, t.topic_vote, t.topic_last_post_id, t.title_compl_infos f.forum_name, f.forum_status, f.forum_id, f.auth_view, f.auth_read, f.auth_post, f.auth_reply, f.auth_edit, f.auth_delete, f.auth_sticky, f.auth_announce, f.auth_pollcreate, f.auth_vote, f.auth_attachments FROM phpbb_topics t, phpbb_forums f WHERE t.topic_id = 623 AND f.forum_id = t.forum_id

Line : 148
File : httpdocs/forum/viewtopic.php

Geplaatst: 01 jun 2004, 20:04
door Luuk
zoek rond regel 148 in viewtopic.php dit op en zet achter .title_compl_infos een ,

Re: Probleem met Quick Title edition mod

Geplaatst: 01 jun 2004, 20:04
door cartoontje
Could not obtain topic information

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax near '.forum_name, f.forum_status, f.forum_id, f.auth_view, f.auth_read, f.auth_post, ' at line 1

SELECT t.topic_id, t.topic_title, t.topic_status, t.topic_replies, t.topic_time, t.topic_type, t.topic_vote, t.topic_last_post_id, t.title_compl_infos f.forum_name, f.forum_status, f.forum_id, f.auth_view, f.auth_read, f.auth_post, f.auth_reply, f.auth_edit, f.auth_delete, f.auth_sticky, f.auth_announce, f.auth_pollcreate, f.auth_vote, f.auth_attachments FROM phpbb_topics t, phpbb_forums f WHERE t.topic_id = 623 AND f.forum_id = t.forum_id

Line : 148
File : httpdocs/forum/viewtopic.php

Volgens mij mist er een "," tussen t.title_compl_infos en f.forum_name,

Probeer dit eens in het bewuste stuk:

Code: Selecteer alles

SELECT t.topic_id, t.topic_title, t.topic_status, t.topic_replies, t.topic_time, t.topic_type, t.topic_vote, t.topic_last_post_id, t.title_compl_infos, f.forum_name, f.forum_status, f.forum_id, f.auth_view, f.auth_read, f.auth_post, f.auth_reply, f.auth_edit, f.auth_delete, f.auth_sticky, f.auth_announce, f.auth_pollcreate, f.auth_vote, f.auth_attachments FROM phpbb_topics t, phpbb_forums f WHERE t.topic_id = 623 AND f.forum_id = t.forum_id

Geplaatst: 01 jun 2004, 20:17
door Frank
thanks de komma "werkt"!!
alleen nu een klein probleempje wanneer ik een bepaalde topic-titel wil editten krijg ik dit
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /httpdocs/forum/modcp.php on line 136

Geplaatst: 01 jun 2004, 20:49
door cartoontje
@ Luuk: Ik zie nu pas dat je me voor was.

Moest dat nou? :roll: ( :P )

Geplaatst: 01 jun 2004, 20:52
door Luuk
laat het stuk bij regel 136 eens zien (liefs 3 regel ervoor en erna)

ps => jij reageert later ja, kan ik er wat aan doen. zal vervolgens je eerst mailen of het mag :lol: