Página 1 de 3

Error general con Ajax Chat

Publicado: 12 May 2011, 11:25
por pilar0
Hola, al instalar Ajax chat me he dado este error:

SQL ERROR [ mysqli ]

Table 'xnmiscom_foro.phpbb_chat' doesn't exist [1146]

Lo bajé de aquí: http://www.phpbb-es.com/foro/mods-desar ... tml#p81278

¿ me podéis ayudar?

Re: Error general con Ajax Chat

Publicado: 12 May 2011, 13:46
por pilar0
Supongo que tengo que hacer una condulta SQL pero no se cual y en el install no viene ¿ es así? Ayudarme por favor, estoy sin foro.

Re: Error general con Ajax Chat

Publicado: 12 May 2011, 14:28
por zoby
pilar0 escribió:Supongo que tengo que hacer una condulta SQL pero no se cual y en el install no viene ¿ es así? Ayudarme por favor, estoy sin foro.
Tienes que ejecutar el archivo chat_install.php
Lo subes a root/ (en tu caso /foro/), y luego vas a http://xn--miscompaerosdeviaje-23b.com/ ... nstall.php y ejecutas el instalador :mrgreen:

Re: Error general con Ajax Chat

Publicado: 12 May 2011, 14:29
por pilar0
AL ingreesar como admin me dice esto:

Error General
SQL ERROR [ mysqli ]

Table 'xnmiscom_foro.phpbb_chat' doesn't exist [1146]

SQL

SELECT * FROM phpbb_chat ORDER BY message_id DESC LIMIT 75

BACKTRACE

FILE: includes/db/mysqli.php
LINE: 163
CALL: dbal->sql_error()

FILE: includes/db/mysqli.php
LINE: 205
CALL: dbal_mysqli->sql_query()

FILE: includes/db/dbal.php
LINE: 170
CALL: dbal_mysqli->_sql_query_limit()

FILE: shout.php
LINE: 58
CALL: dbal->sql_query_limit()

FILE: index.php
LINE: 27
CALL: include('shout.php')

Re: Error general con Ajax Chat

Publicado: 12 May 2011, 14:41
por pilar0
No había visto tu respuesta zoby


Al entrar en el install del chat me dice: you did not select a mode



Estoy registrada como admin en l foro.

Re: Error general con Ajax Chat

Publicado: 12 May 2011, 14:42
por pilar0
No había visto tu respuesta zoby


Al entrar en el install del chat me dice: you did not select a mode



Estoy registrada como admin en l foro.

Re: Error general con Ajax Chat

Publicado: 12 May 2011, 14:50
por zoby
pilar0 escribió:No había visto tu respuesta zoby


Al entrar en el install del chat me dice: you did not select a mode



Estoy registrada como admin en l foro.
Ve a http://xn--miscompaerosdeviaje-23b.com/ ... de=install :wink:

Re: Error general con Ajax Chat

Publicado: 12 May 2011, 15:06
por pilar0
me pone esto:

Error General
SQL ERROR [ mysqli ]

Table 'phpbb_chat' already exists [1050]

SQL

CREATE TABLE phpbb_chat ( message_id int(11) unsigned NOT NULL auto_increment, chat_id int(11) unsigned NOT NULL default '0', user_id int(11) unsigned NOT NULL default '0', username varchar(255) NOT NULL default '', user_colour varchar(6) NOT NULL default '', message text NOT NULL, bbcode_bitfield varchar(255) NOT NULL default '', bbcode_uid varchar(8) NOT NULL default '', bbcode_options tinyint(1) unsigned NOT NULL default '7', time int(11) unsigned NOT NULL default '0', PRIMARY KEY (message_id) )CHARACTER SET `utf8` COLLATE `utf8_bin`

BACKTRACE

FILE: includes/db/mysqli.php
LINE: 163
CALL: dbal->sql_error()

FILE: chat_install.php
LINE: 88
CALL: dbal_mysqli->sql_query()

Re: Error general con Ajax Chat

Publicado: 12 May 2011, 15:08
por pilar0
ahora en mi index pone:

Parse error: syntax error, unexpected $end in /home/xnmiscom/public_html/foro/index.php on line 90

Re: Error general con Ajax Chat

Publicado: 12 May 2011, 15:13
por zoby
pilar0 escribió:ahora en mi index pone:

Parse error: syntax error, unexpected $end in /home/xnmiscom/public_html/foro/index.php on line 90
Pon tu root/index.php
También revisa de tener esta linea

Código: Seleccionar todo

include($phpbb_root_path . 'shout.' . $phpEx);
ANTES de esta

Código: Seleccionar todo

display_forums('', $config['load_moderators']);

Re: Error general con Ajax Chat

Publicado: 12 May 2011, 15:18
por pilar0
Revisado y estaba correcto.

Re: Error general con Ajax Chat

Publicado: 12 May 2011, 15:21
por zoby
pilar0 escribió:Revisado y estaba correcto.
zoby escribió: Pon tu root/index.php
También revisa de tener esta linea

Código: Seleccionar todo

include($phpbb_root_path . 'shout.' . $phpEx);
ANTES de esta

Código: Seleccionar todo

display_forums('', $config['load_moderators']);
Ya que estamos, pon también tu root/includes/fuctions_posting.php (no creo que el problema venga de ahi, pero bueno ... :roll:)

Re: Error general con Ajax Chat

Publicado: 12 May 2011, 15:48
por pilar0
NO tengo este codigo en root/includes/fuctions_posting.php:

Código: Seleccionar todo

display_forums('', $config['load_moderators');]

Re: Error general con Ajax Chat

Publicado: 12 May 2011, 15:59
por pilar0
en el index pone que tengo un error en esta línea:

Código: Seleccionar todo

LEFT JOIN ' . BANLIST_TABLE . " b ON (u.user_id = b.ban_user

Re: Error general con Ajax Chat

Publicado: 12 May 2011, 16:26
por pilar0
Revisando de nuevo el tema, no he hecho nada con esto ¿ que se supone que tengo que hacer?
Imagen