To jest tylko wersja do druku, aby zobaczyć pełną wersję tematu, kliknij TUTAJ
phpBB2 by Przemo
Support forów phpBB2 modified by Przemo

English version - Error message from nowhere?

Anonymous - 14-02-2004, 05:13
Temat postu: Error message from nowhere?
I didn't change any files, and i this message is coming up

DEBUG MODE

SQL Error : 1016 Can't open file: 'phpbb2_read_history.MYI'. (errno: 145)

SELECT forum_id FROM phpbb2_read_history WHERE forum_id = 5 AND user_id = 2

Line : 201
File : /home/cvzero/public_html/includes/functions.php

Please help

bajt - 14-02-2004, 13:58

try

put this in sql

Kod:
DROP TABLE IF EXISTS `phpbb_read_history`;
CREATE TABLE `phpbb_read_history` (
  `user_id` mediumint(8) NOT NULL default '0',
  `forum_id` smallint(5) unsigned NOT NULL default '0',
  `topic_id` mediumint(8) unsigned NOT NULL default '0',
  `post_id` mediumint(8) unsigned NOT NULL default '0',
  `post_time` int(11) NOT NULL default '0',
  PRIMARY KEY  (`user_id`,`forum_id`,`topic_id`,`post_id`,`post_time`),
  KEY `user_id` (`user_id`),
  KEY `forum_id` (`forum_id`),
  KEY `topic_id` (`topic_id`)
) TYPE=MyISAM;

Przemo - 20-02-2004, 05:46

The table phpbb_read_history is damaged, you have to repair it:
Kod:
repair table phpbb_read_history



Powered by phpBB modified by Przemo © 2003 phpBB Group