Error Con Tagboard En Phpbb
Publicado: 20 May 2008, 21:51
Me estaba instalando un tagboard para phpbb, pero al crear las tablas en sql me dice que hay un error de sintaxis. En el cuadro escirbo esto (copiado directamente del mod):
[Added/Updated] line: 1 , CREATE TABLE phpbb_shout ( shout_id MEDIUMINT(8) UNSIGNED NOT NULL auto_increment, shout_username VARCHAR(25) NOT NULL, shout_user_id MEDIUMINT(8) NOT NULL, shout_group_id MEDIUMINT(8) NOT NULL, shout_session_time INT(11) NOT NULL, shout_ip CHAR(8) NOT NULL, shout_text TEXT NOT NULL, shout_active MEDIUMINT(8) NOT NULL, enable_bbcode TINYINT (1) NOT NULL, enable_html TINYINT (1) NOT NULL, enable_smilies TINYINT (1) NOT NULL, enable_sig TINYINT (1) NOT NULL, shout_bbcode_uid VARCHAR(10) NOT NULL, INDEX (shout_id) )
[Added/Updated] line: 2 , INSERT INTO phpbb_config (config_name, config_value) VALUES ('prune_shouts', '0')
Y me pone esto:
Error
consulta SQL:
[Added / Updated]line :1, CREATE TABLE phpbb_shout(
shout_id MEDIUMINT( 8 ) UNSIGNED NOT NULL AUTO_INCREMENT ,
shout_username VARCHAR( 25 ) NOT NULL ,
shout_user_id MEDIUMINT( 8 ) NOT NULL ,
shout_group_id MEDIUMINT( 8 ) NOT NULL ,
shout_session_time INT( 11 ) NOT NULL ,
shout_ipCHAR( 8 ) NOT NULL ,
shout_text TEXT NOT NULL ,
shout_active MEDIUMINT( 8 ) NOT NULL ,
enable_bbcode TINYINT( 1 ) NOT NULL ,
enable_html TINYINT( 1 ) NOT NULL ,
enable_smilies TINYINT( 1 ) NOT NULL ,
enable_sig TINYINT( 1 ) NOT NULL ,
shout_bbcode_uid VARCHAR( 10 ) NOT NULL ,
INDEX ( shout_id )
)[Added / Updated]line :2,
INSERT INTO phpbb_config( config_name, config_value )
VALUES (
'prune_shouts', '0'
)
MySQL ha dicho: Documentación
#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 '[Added/Updated] line: 1 , CREATE TABLE phpbb_shout ( shout_id MEDIUMINT(8) UNSIG' at line 1
¿Alguien sabe cómo solucionarlo?
[Added/Updated] line: 1 , CREATE TABLE phpbb_shout ( shout_id MEDIUMINT(8) UNSIGNED NOT NULL auto_increment, shout_username VARCHAR(25) NOT NULL, shout_user_id MEDIUMINT(8) NOT NULL, shout_group_id MEDIUMINT(8) NOT NULL, shout_session_time INT(11) NOT NULL, shout_ip CHAR(8) NOT NULL, shout_text TEXT NOT NULL, shout_active MEDIUMINT(8) NOT NULL, enable_bbcode TINYINT (1) NOT NULL, enable_html TINYINT (1) NOT NULL, enable_smilies TINYINT (1) NOT NULL, enable_sig TINYINT (1) NOT NULL, shout_bbcode_uid VARCHAR(10) NOT NULL, INDEX (shout_id) )
[Added/Updated] line: 2 , INSERT INTO phpbb_config (config_name, config_value) VALUES ('prune_shouts', '0')
Y me pone esto:
Error
consulta SQL:
[Added / Updated]line :1, CREATE TABLE phpbb_shout(
shout_id MEDIUMINT( 8 ) UNSIGNED NOT NULL AUTO_INCREMENT ,
shout_username VARCHAR( 25 ) NOT NULL ,
shout_user_id MEDIUMINT( 8 ) NOT NULL ,
shout_group_id MEDIUMINT( 8 ) NOT NULL ,
shout_session_time INT( 11 ) NOT NULL ,
shout_ipCHAR( 8 ) NOT NULL ,
shout_text TEXT NOT NULL ,
shout_active MEDIUMINT( 8 ) NOT NULL ,
enable_bbcode TINYINT( 1 ) NOT NULL ,
enable_html TINYINT( 1 ) NOT NULL ,
enable_smilies TINYINT( 1 ) NOT NULL ,
enable_sig TINYINT( 1 ) NOT NULL ,
shout_bbcode_uid VARCHAR( 10 ) NOT NULL ,
INDEX ( shout_id )
)[Added / Updated]line :2,
INSERT INTO phpbb_config( config_name, config_value )
VALUES (
'prune_shouts', '0'
)
MySQL ha dicho: Documentación
#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 '[Added/Updated] line: 1 , CREATE TABLE phpbb_shout ( shout_id MEDIUMINT(8) UNSIG' at line 1
¿Alguien sabe cómo solucionarlo?