Página 1 de 1

Problemas con las tablas de approve mod

Publicado: 17 Oct 2005, 18:58
por jescobar
Estoy instentando instalar el aprove mod, el approve_instal, no me crea las tablas, las intentí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?© crear usando comandos de sql que vi en un foro de php, pero tampoco las crea, da error de sentencias sql

El mensajes que me aparece es:

DEBUG MODE

SQL Error : 1146 Table 'grupoisi_xmb2.phpbb_approve_users' doesn't exist

SELECT COUNT(user_id) AS total FROM phpbb_approve_users WHERE approve_moderate = 1

El foro estí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?¡ en http://www.grupoisis.com/foroisis

í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?¿Cí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?³mo puedo instalarlo?, me tiene ya loco este mod

Publicado: 17 Oct 2005, 19:30
por ThE KuKa
í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?¿Has editado los archivos correctamente?

Publicado: 17 Oct 2005, 20:54
por tole
Es decir que aí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?ºn no estí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?¡n creadas las tablas no?, puede ser ese el problema.

Fallo al ejecutar sentencias sql en phpmyadmin, te dejo un enlace

ejecutar consultas sql en phpmyadmin

Salu2.

Re: Problemas con las tablas de approve mod

Publicado: 17 Oct 2005, 21:04
por jescobar
Buscando por los foros, por eso de buscar antes de preguntar, encontre la forma de crear las bases de datos desde PhpMyAdmin, era estas instrucciones:
#
#-----[ SQL ]------------------------------------------
#
DROP TABLE IF EXISTS phpbb_approve_forums;
CREATE TABLE phpbb_approve_forums (
forum_id smallint(5) unsigned NOT NULL default '0',
enabled tinyint(1) NOT NULL default '0',
approve_posts tinyint(1) NOT NULL default '0',
approve_topics tinyint(1) NOT NULL default '0',
approve_users tinyint(1) NOT NULL default '0',
approve_poste tinyint(1) NOT NULL default '0',
approve_topice tinyint(1) NOT NULL default '0',
approve_notify tinyint(1) NOT NULL default '0',
approve_notify_approval tinyint(1) NOT NULL default '0',
approve_notify_type tinyint(1) NOT NULL default '0',
approve_notify_message tinyint(1) NOT NULL default '0',
approve_notify_message_len smallint(5) NOT NULL default '500',
approve_notify_user varchar(255) NOT NULL default '0',
approve_notify_posts tinyint(1) NOT NULL default '0',
approve_notify_poste tinyint(1) NOT NULL default '0',
approve_notify_topics tinyint(1) NOT NULL default '0',
approve_notify_topice tinyint(1) NOT NULL default '0',
PRIMARY KEY (forum_id)
) TYPE=MyISAM;

DROP TABLE IF EXISTS phpbb_approve_posts;
CREATE TABLE phpbb_approve_posts (
approval_id mediumint( unsigned NOT NULL auto_increment,
topic_id mediumint( unsigned NOT NULL default '0',
post_id mediumint( unsigned NOT NULL default '0',
is_topic tinyint(1) NOT NULL default '0',
is_post tinyint(1) NOT NULL default '0',
poster_id mediumint( NOT NULL default '0',
PRIMARY KEY (approval_id),
KEY post_id (post_id),
KEY topic_id (topic_id)
) TYPE=MyISAM;

DROP TABLE IF EXISTS phpbb_approve_topics;
CREATE TABLE phpbb_approve_topics (
topic_id mediumint( unsigned NOT NULL default '0',
approve_moderate tinyint(1) NOT NULL default '0',
PRIMARY KEY (topic_id)
) TYPE=MyISAM;

DROP TABLE IF EXISTS phpbb_approve_users;
CREATE TABLE phpbb_approve_users (
user_id mediumint( NOT NULL default '0',
approve_moderate tinyint(1) NOT NULL default '0',
PRIMARY KEY (user_id)
) TYPE=MyISAM;
El problema es que tampoco me funcionan, me crea la primera tabla, pero con las demí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?¡s da el mismo error:
Error
SQL-query:

CREATE TABLE phpbb_approve_posts(

approval_id mediumint( unsigned NOT NULL AUTO_INCREMENT , topic_id mediumint( unsigned NOT NULL default '0', post_id mediumint( unsigned NOT NULL default '0', is_topic tinyint( 1 ) NOT NULL default '0', is_post tinyint( 1 ) NOT NULL default '0', poster_id mediumint( NOT NULL default '0', PRIMARY KEY ( approval_id ) , KEY post_id( post_id ) , KEY topic_id( topic_id ) ) TYPE = MYISAM

MySQL said:

#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 'unsigned NOT NULL auto_increment,
topic_id mediumint( unsigne