Ver Mensaje Individual
  #5 (permalink)  
Antiguo 19/06/2004, 13:35
Avatar de yeta
yeta
 
Fecha de Ingreso: enero-2004
Mensajes: 148
Antigüedad: 20 años, 4 meses
Puntos: 0
mira, sale ese error en los foros en los que hay algun mensaje. y tambien hay un error cuando escribes un mensaje (en un foro que no haya nada escrito, por supuesto,ya que solo puedes entrar en esos).
este es el error:
en el principio

Warning: Division by zero in /www/www.paginasdemallorca.com/foro/viewtopic.php on line 199

Warning: Cannot add header information - headers already sent by (output started at /www/www.paginasdemallorca.com/foro/viewtopic.php:199) in /www/www.paginasdemallorca.com/foro/includes/page_header.php on line 474

Warning: Cannot add header information - headers already sent by (output started at /www/www.paginasdemallorca.com/foro/viewtopic.php:199) in /www/www.paginasdemallorca.com/foro/includes/page_header.php on line 476

Warning: Cannot add header information - headers already sent by (output started at /www/www.paginasdemallorca.com/foro/viewtopic.php:199) in /www/www.paginasdemallorca.com/foro/includes/page_header.php on line 477


dentro del cuadro donde tendria que salir el mensaje:

General Error

Could not obtain post/user information.

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax near 'q' at line 8

SELECT u.username, u.user_id, u.user_posts, u.user_from, u.user_website, u.user_email, u.user_icq, u.user_aim, u.user_yim, u.user_regdate, u.user_msnm, u.user_viewemail, u.user_rank, u.user_sig, u.user_sig_bbcode_uid, u.user_avatar, u.user_avatar_type, u.user_allowavatar, u.user_allowsmile, p.*, pt.post_text, pt.post_subject, pt.bbcode_uid FROM phpbb_posts p, phpbb_users u, phpbb_posts_text pt WHERE p.topic_id = 5 AND pt.post_id = p.post_id AND u.user_id = p.poster_id ORDER BY p.post_time ASC LIMIT 0, q

Line : 393
File : /www/www.paginasdemallorca.com/foro/viewtopic.php