Página 2 de 3
Re: Error general con Ajax Chat
Publicado: 12 May 2011, 16:42
por leviatan21
pilar0 escribió:ahora en mi index pone:
Parse error: syntax error, unexpected $end in /home/xnmiscom/public_html/foro/index.php on line 90
pilar0 escribió: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
Adjunta tu archivo
raíz/index.php comprimido, así vemos de que se trata el error
Re: Error general con Ajax Chat
Publicado: 12 May 2011, 17:02
por pilar0
Hola leviatan21, aquí lo tienes:
Re: Error general con Ajax Chat
Publicado: 12 May 2011, 17:25
por leviatan21
no sirve en formato WORD, comprime el index.php
Re: Error general con Ajax Chat
Publicado: 12 May 2011, 17:53
por leviatan21
A ese archivo le falta mas o menos la mitad del código que debería tener, no se que programa utilizas para hacer las ediciones, te recomiendo el notepad++ configurado para guardar los archivos en formato UTF-8 sin BOM
Tendrás que utilizar tu archivo de backup y agregarle el nuevo código
Re: Error general con Ajax Chat
Publicado: 12 May 2011, 18:14
por pilar0
Bien, el index ya funciona.
Ahora al entrar en :
http://www.xn--miscompaerosdeviaje-23b. ... nstall.php
Me da este error:
you did not select a mode
Re: Error general con Ajax Chat
Publicado: 12 May 2011, 18:37
por leviatan21
Ejecutalo como indica Zoby :
http://xn--miscompaerosdeviaje-23b.com/foro/chat_install.php?mode=install
Re: Error general con Ajax Chat
Publicado: 12 May 2011, 18:50
por pilar0
Pues seguimos con lo mismo
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, 19:36
por leviatan21
Según ese reporte de error, la tabla ya existe, prueba primero ejecutando :
http://xn--miscompaerosdeviaje-23b.com/foro/chat_install.php?mode=upgrade
y luego nuevamente :
http://xn--miscompaerosdeviaje-23b.com/foro/chat_install.php?mode=install
Re: Error general con Ajax Chat
Publicado: 12 May 2011, 20:57
por pilar0
Al ejecutar el primero me pone:
Database installed successfully. Remove this file from your server
Re: Error general con Ajax Chat
Publicado: 12 May 2011, 21:00
por pilar0
Con el segundo
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, 21:07
por Makoto
mmm creo que debes eliminar la tabla del chat manualmente y despues ejecutar recien el install

Re: Error general con Ajax Chat
Publicado: 12 May 2011, 21:13
por pilar0
No se como se hace eso , me podéis guiar por favor.
Re: Error general con Ajax Chat
Publicado: 12 May 2011, 21:23
por Makoto
tienes que acceder al phpMyAdmin de tu hosting seleccionar la base de datos que estas usando y darle click en
sql
y escribir esto
Guia para insertar una consulta SQL
Re: Error general con Ajax Chat
Publicado: 12 May 2011, 21:26
por leviatan21
Entonces ya está todo hecho, debería funcionar el chat
Re: Error general con Ajax Chat
Publicado: 12 May 2011, 21:40
por pilar0
pues ya está y en
http://xn--miscompaerosdeviaje-23b.com/ ... de=install pone
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()l