Probleem met Quick Title edition mod

Hulp nodig bij een modificaties of op zoek naar een MOD? Bekijk ons archief. Support wordt helaas niet meer verleend.
Forumregels

Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.
phpBB2.0.x
Gesloten
Gebruikersavatar
Frank
Berichten: 153
Lid geworden op: 29 apr 2004, 23:48
Locatie: Köln (Duitsland)

Probleem met Quick Title edition mod

Bericht door Frank » 01 jun 2004, 19:57

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

Gebruikersavatar
Luuk
Berichten: 7311
Lid geworden op: 22 okt 2003, 10:07
Locatie: Delft

Bericht door Luuk » 01 jun 2004, 20:04

zoek rond regel 148 in viewtopic.php dit op en zet achter .title_compl_infos een ,
Afbeelding

cartoontje
Berichten: 1518
Lid geworden op: 29 jun 2003, 10:57
Locatie: Home Sweet Home
Contacteer:

Re: Probleem met Quick Title edition mod

Bericht door cartoontje » 01 jun 2004, 20:04

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

Gebruikersavatar
Frank
Berichten: 153
Lid geworden op: 29 apr 2004, 23:48
Locatie: Köln (Duitsland)

Bericht door Frank » 01 jun 2004, 20:17

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

cartoontje
Berichten: 1518
Lid geworden op: 29 jun 2003, 10:57
Locatie: Home Sweet Home
Contacteer:

Bericht door cartoontje » 01 jun 2004, 20:49

@ Luuk: Ik zie nu pas dat je me voor was.

Moest dat nou? :roll: ( :P )

Gebruikersavatar
Luuk
Berichten: 7311
Lid geworden op: 22 okt 2003, 10:07
Locatie: Delft

Bericht door Luuk » 01 jun 2004, 20:52

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:
Afbeelding

Gesloten