Pagina 1 van 1
Foumelding bij calender_mod
Geplaatst: 01 nov 2003, 12:37
door osn72
Hallo mensen,
Ik heb een vraagje, weet iemand misschien wat deze foutmelding inhoudt:
Code: Selecteer alles
Could not obtain topic information
DEBUG MODE
SQL Error : 1064 You have an error in your SQL syntax near ' t.topic_first_post_id, t.topic_calendar_time, t.topic_calendar_duration, f.foru' 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.topic_first_post_id, t.topic_calendar_time, t.topic_calendar_duration, 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 = 4 AND f.forum_id = t.forum_id
Line : 161
File : c:\phpdev\www\phpbb2\viewtopic.php
dit kreeg ik nadat ik mod-topic_calendar heb geinstalleerd en dat gaat alleen bij viewtopic.php fout en de rest doet het gewoon.
Graag jullie reactie.
Alvast bedankt.
Geplaatst: 01 nov 2003, 12:48
door SPyKoN
Je bent vergeten je tables in te voegen in je database
Geplaatst: 01 nov 2003, 14:24
door osn72
SPyKoN schreef:Je bent vergeten je tables in te voegen in je database
Welke tabel en hoe doe ik dat?
Geplaatst: 01 nov 2003, 17:12
door SPyKoN
Heeft je host phpMyadmin? Zoja open die en dan bij run SQL querys geef je die SQL querys in die je terugvind in je .txt file van de mod zo bovenaan
Geplaatst: 03 nov 2003, 16:21
door osn72
SPyKoN schreef:Heeft je host phpMyadmin? Zoja open die en dan bij run SQL querys geef je die SQL querys in die je terugvind in je .txt file van de mod zo bovenaan
Ja die heb ik en die SQL querys had ik al in het begin van de mod-install gerund en toch voor het zekerheid heb ik nog een keer gedaan alleen toen kreeg ik foutmelding en ik zie inderdaad dat die kolommen al in het tabel bestaan, dus ik denk niet dat er daar aan ligt.
Toch bedankt en als je nog andere oplossing vindt of hebt, hoor ik het graag.
Geplaatst: 03 nov 2003, 16:23
door Duvelske
Vaak zit er een install.php bij of een update_db.php die moet je anders in je root van je site zetten en runnen. Wordt het automatisch gedaan

Geplaatst: 03 nov 2003, 16:29
door osn72
Richard schreef:Vaak zit er een install.php bij of een update_db.php die moet je anders in je root van je site zetten en runnen. Wordt het automatisch gedaan

Ik heb het nagekeken maar helaas zit er zo'n bestand niet bij!

Geplaatst: 03 nov 2003, 16:37
door Duvelske
maak ik anders drek wel, heb je de instal file nog waarin staat welke sql veranderingen je moet maken?
Geplaatst: 03 nov 2003, 19:24
door osn72
Richard schreef:maak ik anders drek wel, heb je de instal file nog waarin staat welke sql veranderingen je moet maken?
Ja die heb ik wel, moet ik het hier posten?
Geplaatst: 03 nov 2003, 21:54
door Duvelske
Is goed post maar even hier.
Geplaatst: 03 nov 2003, 22:01
door osn72
Richard schreef:Is goed post maar even hier.
Alsjeblief, hier heb je gedeelte wat SQL-query's betreft in het install.txt
Code: Selecteer alles
#
#-----[ SQL ]-------------------------------------------------
#
ALTER TABLE phpbb_topics ADD topic_calendar_time INT(11);
ALTER TABLE phpbb_topics ADD topic_calendar_duration INT(11);
ALTER TABLE phpbb_topics ADD INDEX (topic_calendar_time);
ALTER TABLE phpbb_auth_access ADD auth_cal TINYINT(1) DEFAULT '0' NOT NULL;
ALTER TABLE phpbb_forums ADD auth_cal TINYINT(2) DEFAULT '0' NOT NULL;
UPDATE phpbb_auth_access SET auth_cal = auth_sticky;
UPDATE phpbb_forums SET auth_cal = auth_sticky;
#
#-----[ SQL ]-------------------------------------------------
#
# This part is optional : do it only if you want your users to be able to choose their setup
# if you want so, you'll have to install the MOD-mods_settings mod included in the pack
#
ALTER TABLE phpbb_users ADD user_calendar_display_open TINYINT(1) DEFAULT '0' NOT NULL;
ALTER TABLE phpbb_users ADD user_calendar_header_cells TINYINT(1) DEFAULT '7' NOT NULL;
ALTER TABLE phpbb_users ADD user_calendar_week_start TINYINT(1) DEFAULT '1' NOT NULL;
ALTER TABLE phpbb_users ADD user_calendar_nb_row TINYINT(2) UNSIGNED DEFAULT '5' NOT NULL;
ALTER TABLE phpbb_users ADD user_calendar_birthday TINYINT(1) DEFAULT '1' NOT NULL;
ALTER TABLE phpbb_users ADD user_calendar_forum TINYINT(1) DEFAULT '1' NOT NULL;
#
Alvast bedankt.
Geplaatst: 03 nov 2003, 22:10
door Duvelske
die onderste dus ook he?
Code: Selecteer alles
#
#-----[ SQL ]-------------------------------------------------
#
# This part is optional : do it only if you want your users to be able to choose their setup
# if you want so, you'll have to install the MOD-mods_settings mod included in the pack
#
ALTER TABLE phpbb_users ADD user_calendar_display_open TINYINT(1) DEFAULT '0' NOT NULL;
ALTER TABLE phpbb_users ADD user_calendar_header_cells TINYINT(1) DEFAULT '7' NOT NULL;
ALTER TABLE phpbb_users ADD user_calendar_week_start TINYINT(1) DEFAULT '1' NOT NULL;
ALTER TABLE phpbb_users ADD user_calendar_nb_row TINYINT(2) UNSIGNED DEFAULT '5' NOT NULL;
ALTER TABLE phpbb_users ADD user_calendar_birthday TINYINT(1) DEFAULT '1' NOT NULL;
ALTER TABLE phpbb_users ADD user_calendar_forum TINYINT(1) DEFAULT '1' NOT NULL;
#
Geplaatst: 03 nov 2003, 22:16
door osn72
Richard schreef:die onderste dus ook he?
Code: Selecteer alles
#
#-----[ SQL ]-------------------------------------------------
#
# This part is optional : do it only if you want your users to be able to choose their setup
# if you want so, you'll have to install the MOD-mods_settings mod included in the pack
#
ALTER TABLE phpbb_users ADD user_calendar_display_open TINYINT(1) DEFAULT '0' NOT NULL;
ALTER TABLE phpbb_users ADD user_calendar_header_cells TINYINT(1) DEFAULT '7' NOT NULL;
ALTER TABLE phpbb_users ADD user_calendar_week_start TINYINT(1) DEFAULT '1' NOT NULL;
ALTER TABLE phpbb_users ADD user_calendar_nb_row TINYINT(2) UNSIGNED DEFAULT '5' NOT NULL;
ALTER TABLE phpbb_users ADD user_calendar_birthday TINYINT(1) DEFAULT '1' NOT NULL;
ALTER TABLE phpbb_users ADD user_calendar_forum TINYINT(1) DEFAULT '1' NOT NULL;
#
Nou, eigenlijk is dit een optie voor calender-mod en wat mij betreft is er momenteel niet echt nodig dus doe het maar behalve dit extra stuk.
Thanx.
Geplaatst: 03 nov 2003, 22:20
door Duvelske
Hier is het .php bestand.
Om hem goed te instaleren moet je die in je root zetten van je forum en dan runnen. Have fun zouk zeggen. Heb je nog problemen of vragen? Pm me dan ffkes ok?
Geplaatst: 03 nov 2003, 22:27
door osn72
Richard schreef:Hier is het .php bestand.
Om hem goed te instaleren moet je die in je root zetten van je forum en dan runnen. Have fun zouk zeggen. Heb je nog problemen of vragen? Pm me dan ffkes ok?
Hartstikke bedankt voor alle moeite en ik ga het zeker doen.
Groetjes.