ik heb de Cu2 Mod geinstalleerd, alleen als ik naar profile ga , dan staat er helemaal boveaan dit :
en ik kan niks typen in de Cu2 veld...td class="row2"> Yes No
iemand een idee hoe ik dat recht kan krijgen ?
Dit is mijn forum
en ik kan niks typen in de Cu2 veld...td class="row2"> Yes No
Code: Selecteer alles
Could not insert data into users table
DEBUG MODE
SQL Error : 1054 Unknown column 'profile_on' in 'field list'
INSERT INTO phpbb_users (user_id, username, user_regdate, user_password, user_email,profile_on, profile, user_icq, user_website, user_occ, user_from, user_interests, user_sig, user_sig_bbcode_uid, user_avatar, user_avatar_type, user_viewemail, user_aim, user_yim, user_msnm, user_attachsig, user_allowsmile, user_allowhtml, user_allowbbcode, user_allow_viewonline, user_notify, user_notify_pm, user_popup_pm, user_timezone, user_dateformat, user_lang, user_style, user_level, user_allow_pm, user_active, user_actkey) VALUES (3, 'Trudy', 1119283636, '1ca9db61ba4ab54637a5f40f4f986fa1', 'Truud17@gmail.com','0', '', '', '', '', '', '', '', '', '', 0, 0, '', '', '', 1, 1, 0, 1, 1, 0, 1, 1, 0, 'D M d, Y g:i a', 'english', 5, 0, 1, 0, 'cb9dcba')
Line : 601
File : usercp_register.php
Nee, die SQL error is bij JOUW forum!paulus schreef:Je hebt de sql niet uitgevoerd
Code: Selecteer alles
ALTER TABLE `phpbb_users` ADD `profile` TEXT NOT NULL ,
ADD `may_profile` TINYINT( 10 ) NOT NULL ,
ADD `profile_on` TINYINT( 10 ) NOT NULL ;
INSERT INTO phpbb_config VALUES ('html_profile', 'br,b,i,u,a,img,font,div,span,hr,h2,h3,h4,h5,h6,h1,li,ol,sup,sub');
INSERT INTO phpbb_config VALUES ('cu2_version', '0.9.1');
Code: Selecteer alles
ALTER TABLE `phpbb_users` ADD `profile` TEXT NOT NULL
bij de 2e:SQL-query:
ALTER TABLE `phpbb_users` ADD `profile` TEXT NOT NULL
MySQL retourneerde:
#1060 - Duplicate column name 'profile'
Code: Selecteer alles
ADD `may_profile` TINYINT( 10 ) NOT NULL ,
bij de 3e :SQL-query:
ADD `may_profile` TINYINT( 10 ) NOT NULL ,
MySQL retourneerde:
#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 'ADD `may_profile` TINYINT( 10 ) NOT NULL ,' at line 1
Code: Selecteer alles
ADD `profile_on` TINYINT( 10 ) NOT NULL ;
bij de 4e :SQL-query:
ADD `profile_on` TINYINT( 10 ) NOT NULL
MySQL retourneerde:
#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 'ADD `profile_on` TINYINT( 10 ) NOT NULL' at line 1
Code: Selecteer alles
INSERT INTO phpbb_config VALUES ('html_profile', 'br,b,i,u,a,img,font,div,span,hr,h2,h3,h4,h5,h6,h1,li,ol,sup,sub');
bij de 5e :SQL-query:
INSERT INTO phpbb_config
VALUES (
'html_profile', 'br,b,i,u,a,img,font,div,span,hr,h2,h3,h4,h5,h6,h1,li,ol,sup,sub'
)
MySQL retourneerde:
#1062 - Duplicate entry 'html_profile' for key 1
Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /usr/export/www/hosting/phpmyadmin/libraries/common.lib.php on line 685
Code: Selecteer alles
INSERT INTO phpbb_config VALUES ('cu2_version', '0.9.2');
wat doe ik dan fout ?SQL-query:
INSERT INTO phpbb_config
VALUES (
'cu2_version', '0.9.2'
)
MySQL retourneerde:
#1062 - Duplicate entry 'cu2_version' for key 1
Warning: mysql_result(): supplied argument is not a valid MySQL result resource in /usr/export/www/hosting/phpmyadmin/libraries/common.lib.php on line 685
Code: Selecteer alles
ALTER TABLE `phpbb_users` ADD `may_profile` TINYINT( 10 ) NOT NULL , ADD `profile_on` TINYINT( 10 ) NOT NULL ;
heh ?paulus schreef:Eerste 3 was 1 query, voer dit als 1 deel uit in sql vak in phpmyadmin, en daarna de query uit andere topic:Code: Selecteer alles
ALTER TABLE `phpbb_users` ADD `may_profile` TINYINT( 10 ) NOT NULL , ADD `profile_on` TINYINT( 10 ) NOT NULL ;
Code: Selecteer alles
ALTER TABLE `phpbb_users` ADD `profile` TEXT NOT NULL ,
ADD `may_profile` TINYINT( 10 ) NOT NULL ,
ADD `profile_on` TINYINT( 10 ) NOT NULL ;
INSERT INTO phpbb_config VALUES ('html_profile', 'br,b,i,u,a,img,font,div,span,hr,h2,h3,h4,h5,h6,h1,li,ol,sup,sub');
INSERT INTO phpbb_config VALUES ('cu2_version', '0.9.2');
SQL-query:
ALTER TABLE `phpbb_users` ADD `profile` TEXT NOT NULL ,
ADD `may_profile` TINYINT( 10 ) NOT NULL ,
ADD `profile_on` TINYINT( 10 ) NOT NULL
MySQL retourneerde:
#1060 - Duplicate column name 'profile'
Code: Selecteer alles
INSERT INTO phpbb_config VALUES ('html_profile', 'br,b,i,u,a,img,font,div,span,hr,h2,h3,h4,h5,h6,h1,li,ol,sup,sub');
Code: Selecteer alles
INSERT INTO phpbb_config VALUES ('cu2_version', '0.9.2');