Página 1 de 1

Pequeí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?±o error al pasar de 2.0.8 a 2.0.10

Publicado: 25 Nov 2004, 01:59
por Garreth
Hola a todos.

Acabo de seguir el tutorial que explica como modificar los ficheros de phpbb 2.0.8 para pasarlo al 2.0.10. Es el tutorial que estí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?¡ en este enlace.

Todo ha ido perfecto, he probado a ver si el foro funcionaba bien y a la vista todo iba bien, el í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?ºnico problema ha sido cuando me se me ha ocurrido probar a borrar un post o un mensaje privado. Al hacerlo, cuando aparece la ventana que me pregunta si quiero borrarlo o no, abajo, me aparecen estos errores:

ERRORES AL INTENTAR BORRAR UN MENSAJE PRIVADO:
Warning: mysql_query(): 13 is not a valid MySQL-Link resource in /home/caosreal/public_html/eq2/phpbb2/db/mysql4.php on line 118

Warning: mysql_error(): 13 is not a valid MySQL-Link resource in /home/caosreal/public_html/eq2/phpbb2/db/mysql4.php on line 330

Warning: mysql_errno(): 13 is not a valid MySQL-Link resource in /home/caosreal/public_html/eq2/phpbb2/db/mysql4.php on line 331
Luego + abajo, un cuadro que pone ERROR GENERAL con este mensaje:
Could not update private message new/read status for user

DEBUG MODE

UPDATE phpbbeq2_users SET user_unread_privmsg = user_unread_privmsg + user_new_privmsg, user_new_privmsg = 0, user_last_privmsg = 1101339188 WHERE user_id = 2

Line : 1816
File : /home/caosreal/public_html/eq2/phpbb2/privmsg.php
Si vamos a la linea 1816 del privmsg.php, nos encontramos con esto:
{
message_die(GENERAL_ERROR, 'Could not update private message new/read status for user', '', __LINE__, __FILE__, $sql);
}
Esto en cuanto a intentar borrar un mensaje privado, luego al intentar borrar un post de cualquier tema, me aparece esto, justo abajo de la pantalla de confirmacií?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?³n (igual que con los privados):
Warning: mysql_query(): 13 is not a valid MySQL-Link resource in /home/caosreal/public_html/eq2/phpbb2/db/mysql4.php on line 118

Warning: mysql_query(): 13 is not a valid MySQL-Link resource in /home/caosreal/public_html/eq2/phpbb2/db/mysql4.php on line 118

Warning: mysql_error(): 13 is not a valid MySQL-Link resource in /home/caosreal/public_html/eq2/phpbb2/db/mysql4.php on line 330

Warning: mysql_errno(): 13 is not a valid MySQL-Link resource in /home/caosreal/public_html/eq2/phpbb2/db/mysql4.php on line 331
Abajo de eso, lo mismo, una ventana de ERROR GENERAL, con esto:
Could not obtain user/day information

DEBUG MODE

SELECT user_id, username, user_allow_viewonline, user_level, user_session_time FROM phpbbeq2_users WHERE user_id > 0 ORDER BY user_level DESC, username ASC

Line : 279
File : /home/caosreal/public_html/eq2/phpbb2/includes/page_header.php
Y en la linea 279 del page_header.php esto:
{
message_die(GENERAL_ERROR, 'Could not obtain user/day information', '', __LINE__, __FILE__, $sql);
}
No sí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?© porque salen estos mensajes. Comentar que no afectan para nada al funcionamiento del foro, y que igualmente puedo borrar los mensajes privados y los posts, solo que al hacerlo bajo la pantalla de confirmacií?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?³n me salen esos mensajes.

Si alguien me puede orientar para eliminarlos, se lo agradecerí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?­a muchí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?­simo. El resto del update parece que ha funcionado perfectamente, y eso que tengo un montí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?³n de MODS instalados. Ahora en cuanto solucione este error tonto, harí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?© el tutorial para pasar a la 2.0.11 ;)

Muchas gracias! :)

Re: Pequeí?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?Â?í?±o error al pasar de 2.0.8 a 2.0.10

Publicado: 25 Nov 2004, 14:09
por Garreth
Por si sirve de algo, pongo el contenido de las lineas de error a las que hace referencia el fichero mysql4.php:

LINEA 118:
$this->query_result = mysql_query($query, $this->db_connect_id);
}
LINEA 330:
$result['message'] = mysql_error($this->db_connect_id);
LINEA 331:
$result['code'] = mysql_errno($this->db_connect_id);
A ver si alguien puede echarme una mano, porque sinceramente ni idea de que puede ser :(