Ziet iemand de fout?

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
rambovan
Berichten: 2
Lid geworden op: 30 nov 2003, 18:52
Locatie: Andel

Ziet iemand de fout?

Bericht door rambovan » 30 nov 2003, 18:52

Ziet iemand hier de fout hierin?

Code: Selecteer alles

ALTER TABLE users ADD user_birthday INT DEFAULT '999999' not null
ALTER TABLE users ADD user_next_birthday_greeting INT DEFAULT '0' not null
INSERT INTO CONFIG (config_name, config_value) VALUES ("birthday_required", "0")
INSERT INTO config (config_name, config_value) VALUES ('birthday_greeting', '1')
INSERT INTO config (config_name, config_value) VALUES ('max_user_age', '100')
INSERT INTO config (config_name, config_value) VALUES ('min_user_age', '5')
INSERT INTO config (config_name, config_value) VALUES ('birthday_check_day', '7')

Gebruikersavatar
DaMnNaTiOn
Berichten: 2555
Lid geworden op: 11 dec 2002, 18:29
Locatie: localhost
Contacteer:

Bericht door DaMnNaTiOn » 30 nov 2003, 18:54

Dit moet je uitvoeren in je phpMyAdmin!
lastmodified.net

Gebruikersavatar
Aeolus
Berichten: 795
Lid geworden op: 03 aug 2003, 12:17
Locatie: Biertje?

Bericht door Aeolus » 30 nov 2003, 22:25

welke foutmelding krijg je wanneer je dit invoert?
-----------------------------------8<------(Hierlangs Afknippen)----------------------------------
Gebruik altijd de supporttemplate ! Deze is er niet voor niets !
! Geen support via pb, tenzij ik zelf anders aangeef !

Gebruikersavatar
michaa113
Berichten: 1376
Lid geworden op: 29 mar 2003, 23:27
Locatie: Game Ville
Contacteer:

Bericht door michaa113 » 01 dec 2003, 13:25

moet het niet:

Code: Selecteer alles

ALTER TABLE phpbb_users ADD user_birthday INT DEFAULT '999999' not null 
ALTER TABLE phpbb_users ADD user_next_birthday_greeting INT DEFAULT '0' not null 
INSERT INTO phpbb_CONFIG (config_name, config_value) VALUES ("birthday_required", "0") 
INSERT INTO phpbb_config (config_name, config_value) VALUES ('birthday_greeting', '1') 
INSERT INTO phpbb_config (config_name, config_value) VALUES ('max_user_age', '100') 
INSERT INTO phpbb_config (config_name, config_value) VALUES ('min_user_age', '5') 
INSERT INTO phpbb_config (config_name, config_value) VALUES ('birthday_check_day', '7')
zijn
Tijd weg geweest!
Maar ik BEN terug!

rambovan
Berichten: 2
Lid geworden op: 30 nov 2003, 18:52
Locatie: Andel

Bericht door rambovan » 01 dec 2003, 13:59

Code: Selecteer alles

Fout

SQL-query :  

ALTER TABLE users ADD user_birthday INT DEFAULT '999999' not null 

ALTER TABLE users ADD user_next_birthday_greeting INT DEFAULT '0' not null 

INSERT INTO CONFIG (config_name, config_value) VALUES ("birthday_required", "0") 

INSERT INTO config (config_name, config_value) VALUES ('birthday_greeting', '1') 

INSERT INTO config (config_name, config_value) VALUES ('max_user_age', '100') 

INSERT INTO config (config_name, config_value) VALUES ('min_user_age', '5') 

INSERT INTO config (config_name, config_value) VALUES ('birthday_check_day', '7')

MySQL retourneerde: 


You have an error in your SQL syntax near 'ALTER TABLE users ADD user_next_birthday_greeting INT DEFAULT '0' not null 

INS' at line 2
Deze fout

Gebruikersavatar
Carlo Claessen
Berichten: 1280
Lid geworden op: 02 jul 2005, 14:05

Bericht door Carlo Claessen » 01 dec 2003, 14:03

Code: Selecteer alles

ALTER TABLE phpbb_users ADD user_birthday INT DEFAULT '999999' not null; 
ALTER TABLE phpbb_users ADD user_next_birthday_greeting INT DEFAULT '0' not null; 
INSERT INTO phpbb_CONFIG (config_name, config_value) VALUES ("birthday_required", "0"); 
INSERT INTO phpbb_config (config_name, config_value) VALUES ('birthday_greeting', '1'); 
INSERT INTO phpbb_config (config_name, config_value) VALUES ('max_user_age', '100'); 
INSERT INTO phpbb_config (config_name, config_value) VALUES ('min_user_age', '5'); 
INSERT INTO phpbb_config (config_name, config_value) VALUES ('birthday_check_day', '7');

een ;vergeten zo te zien
''Do not meddle in the affairs of wizards, for they are subtle and quick to anger. '' J.R.R Tolkien

Gesloten