Foumelding bij calender_mod

Installatie lukt niet? Plotseling een foutmelding. Of weet je niet hoe iets werkt. Problemen met phpBB2 kun je in dit archief opzoeken.
Forumregels

Sinds 1 januari 2009 wordt phpBB2 niet meer ondersteund.
Onderstaande informatie is verouderd en dient uitsluitend als archief.
phpBB2.0.x
Gesloten
osn72
Berichten: 31
Lid geworden op: 29 sep 2003, 22:40
Locatie: NB

Foumelding bij calender_mod

Bericht door osn72 » 01 nov 2003, 12:37

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.

Gebruikersavatar
SPyKoN
Berichten: 1224
Lid geworden op: 27 aug 2003, 07:41
Locatie: België
Contacteer:

Bericht door SPyKoN » 01 nov 2003, 12:48

Je bent vergeten je tables in te voegen in je database

osn72
Berichten: 31
Lid geworden op: 29 sep 2003, 22:40
Locatie: NB

Bericht door osn72 » 01 nov 2003, 14:24

SPyKoN schreef:Je bent vergeten je tables in te voegen in je database
Welke tabel en hoe doe ik dat?

Gebruikersavatar
SPyKoN
Berichten: 1224
Lid geworden op: 27 aug 2003, 07:41
Locatie: België
Contacteer:

Bericht door SPyKoN » 01 nov 2003, 17:12

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

osn72
Berichten: 31
Lid geworden op: 29 sep 2003, 22:40
Locatie: NB

Bericht door osn72 » 03 nov 2003, 16:21

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.

Duvelske
Berichten: 656
Lid geworden op: 19 okt 2003, 16:05
Locatie: st willebrord
Contacteer:

Bericht door Duvelske » 03 nov 2003, 16:23

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 ;)

osn72
Berichten: 31
Lid geworden op: 29 sep 2003, 22:40
Locatie: NB

Bericht door osn72 » 03 nov 2003, 16:29

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! :?

Duvelske
Berichten: 656
Lid geworden op: 19 okt 2003, 16:05
Locatie: st willebrord
Contacteer:

Bericht door Duvelske » 03 nov 2003, 16:37

maak ik anders drek wel, heb je de instal file nog waarin staat welke sql veranderingen je moet maken?

osn72
Berichten: 31
Lid geworden op: 29 sep 2003, 22:40
Locatie: NB

Bericht door osn72 » 03 nov 2003, 19:24

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?

Duvelske
Berichten: 656
Lid geworden op: 19 okt 2003, 16:05
Locatie: st willebrord
Contacteer:

Bericht door Duvelske » 03 nov 2003, 21:54

Is goed post maar even hier.

osn72
Berichten: 31
Lid geworden op: 29 sep 2003, 22:40
Locatie: NB

Bericht door osn72 » 03 nov 2003, 22:01

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.

Duvelske
Berichten: 656
Lid geworden op: 19 okt 2003, 16:05
Locatie: st willebrord
Contacteer:

Bericht door Duvelske » 03 nov 2003, 22:10

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; 
# 

osn72
Berichten: 31
Lid geworden op: 29 sep 2003, 22:40
Locatie: NB

Bericht door osn72 » 03 nov 2003, 22:16

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.

Duvelske
Berichten: 656
Lid geworden op: 19 okt 2003, 16:05
Locatie: st willebrord
Contacteer:

Bericht door Duvelske » 03 nov 2003, 22:20

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?

osn72
Berichten: 31
Lid geworden op: 29 sep 2003, 22:40
Locatie: NB

Bericht door osn72 » 03 nov 2003, 22:27

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.

Gesloten