Pagina 1 van 1

Fout, maar weet niet wat! (Nieuw probleem!)

Geplaatst: 03 apr 2007, 18:26
door Janbotchbingo
Ik heb geprobeerd een eerste Mod geinstalleerd te krijgen voor me forum. Het gaat hierover over de deze mod:

http://www.phpbbhacks.com/download/1420

Ik heb (als klopt) alles goed ingevoerd.

Ik ben het aan het uittesten, als ik op bewerk klik bij de forums overzicht, zie ik wel een extra wit balkje waar ik neem aan een wachtwoord kan invoeren voor dat forum. Maar als ik dat doe krijg ik dit:

SQL Error : 1054 Unknown column 'forum_password' in 'field list'

UPDATE phpbb_forums SET forum_name = 'Carnaval Oud!', cat_id = 2, forum_desc = 'Oud Carnaval Stukken', forum_status = 0, forum_password = 'test', prune_enable = 0 WHERE forum_id = 10

Line : 447
File : admin_forums.php



Edit: Oh, ik zie als je op een onderwerp klikt je ook deze fout krijgt:


SQL Error : 1054 Unknown column 'f.forum_password' in 'field list'

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, f.forum_name, f.forum_status, f.forum_password, 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 = 145 AND f.forum_id = t.forum_id

Line : 156
File : viewtopic.php

Heb ik iets heel ergs fout gedaan, of ligt het aan de mod?

Het forum is trouwens: http://www.tukkies.nl/Forum/

Alvast bedankt!

Dit probleem is opgelost! Kijk onder voor nieuw probleem!

Geplaatst: 03 apr 2007, 18:29
door halsiemp3
heb je ook die database update geopend..?

Geplaatst: 03 apr 2007, 18:37
door Janbotchbingo
Ooh, nu snap ik hem...!

Dankje.

Nu heb ik alleen al de viewtopic file verandert naar het oude geupdate.

Maar dan krijg ik nog steeds:

Parse error: parse error, unexpected '}' in /var/www/html/Forum/viewtopic.php on line 201

Moet ik dit eerst fixen, En hoe ik dat moet doen.

Of ligt dat aan de mod, omdat ik alles weer naar het oude gebracht heb??

(Super bedankt :thumb: )

Edit Dit probleem is opgelost! Kijk onder voor nieuw probleem!

Maar ik heb een Nieuw probleem!

Heb dan de vieuwtopic.php weer helemaal geedit zoals het moet in de mod beschrijving. Dan krijg ik deze foutmelding als ik op topics klik:

Could not obtain topic information

DEBUG MODE

SQL Error : 1064 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 '.forum_id, f.auth_view, f.auth_read, f.auth_post, f.auth_reply, f.auth_edit, f.a' at line 2

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, f.forum_name, f.forum_status, f.forum_password, 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 = 208 AND f.forum_id = t.forum_id

Line : 157
File : viewtopic.php

Ligt het hierbij weer aan mij? Of niet

Geplaatst: 03 apr 2007, 19:23
door halsiemp3
heb je db_update.php in je root van je fpt gezet waar ook je forum in staat dus in de map forum en daarna open je hem zo: http://www.tukkies.nl/Forum/db_update.php

En daarna de file weer verwijderen heb je dit gedaan..?

Geplaatst: 03 apr 2007, 19:29
door Janbotchbingo
halsiemp3 schreef:heb je db_update.php in je root van je fpt gezet waar ook je forum in staat dus in de map forum en daarna open je hem zo: http://www.tukkies.nl/Forum/db_update.php

En daarna de file weer verwijderen heb je dit gedaan..?
Ja :wink:

Geplaatst: 03 apr 2007, 21:21
door Derky
Je hebt een fout gemaakt bij het modden, loop dus regel 157 van viewtopic.php na en vergelijk het met de MOD. :wink:

Waarschijnlijk een , of een ; verkeerd geplaatst. :wink: