NAVIGATIE

Freetime overzicht
Zoeken


  RUBRIEKEN

FAQ / Help
Wat mag niet?
WZL Wedstrijden
WZL Chat
WZL Toolbar
WZL Statistieken
WZL leden
WZL shop
E-cards

RSS

Fun-feed
Babe-feed
Stud-feed

Een groot aantal pokerrooms geven de mogelijkheid om poker te spelen op internet en geld te storten via het veilige iDeal betaalsysteem.
Overzicht » Computer » Programmeren » phpBB-forum (Op aanvraag van Ets hier een topic geopend)
Onderaan pagina
CrazyWaiter 3.486
[sport-mod] The One
Sinds 24/9/2004
T: 57 R: 2506
18/3/2005 - 9:45u | Quote
zijn er mensen die een phpBB-forum beheren en/of kennen waar je volgende een dergelijke fout krijgt als je naar een topic wil kijken ...

Algemene Fout

Could not obtain post/user information.

DEBUG MODE

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

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 = 3569 AND pt.post_id = p.post_id AND u.user_id = p.poster_id ORDER BY p.post_time ASC LIMIT 15, 15

Line : 393
File : /opt/www/vermeulenw/web/forum.loungeplace.be/viewtopic.php


Als je een nieuwe post wil aanmaken krijg je volgende foutmelding ...

Error in posting

DEBUG MODE

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

INSERT INTO phpbb_posts_text (post_id, post_subject, bbcode_uid, post_text) VALUES (37909, 'Onderwerp van de Topic', '003a310d2e', 'Tekst die in de topic moet komen')

Line : 280
File : /opt/www/vermeulenw/web/forum.loungeplace.be/includes/functions_post.php


Voor de rest werkt alles normaal ...

Der wordt altijd over een "phpbb_posts_text.MYI"-file gesproken, weet er iemand wat die doet?

Ik ben moderator op da forum, ma kan niet aan op de server, ma weet iemand hoe ge deze fout kunt oplossen? zodat ik deze informatie kan doorspelen?

Alvast bedankt!
TETTN 3.475
wzl-lid
Sinds 1/2/2005
T:6 - R:82
18/3/2005 - 11:21u | Quote
TETTN schreef:
Tabel corrupt of gecrashed in je DB. Gewoon repareren.

Misschien helpt onderstaande uitleg je beetje verderop.


If you are using MySQL 3.23.16 and above, you can (and should) use the CHECK TABLE and REPAIR TABLE statements to check and repair MyISAM tables. See Section 13.5.2.3, “CHECK TABLE Syntax” and Section 13.5.2.6, “REPAIR TABLE Syntax”.

The symptoms of a corrupted table include queries that abort unexpectedly and observable errors such as these:

tbl_name.frm is locked against change

Can't find file tbl_name.MYI (Errcode: ###)

Unexpected end of file

Record file is crashed

Got error ### from table handler

To get more information about the error you can run perror ###, where ### is the error number. The following example shows how to use perror to find the meanings for the most common error numbers that indicate a problem with a table:

shell> perror 126 127 132 134 135 136 141 144 145
126 = Index file is crashed / Wrong file format
127 = Record-file is crashed
132 = Old database file
134 = Record was already deleted (or record file crashed)
135 = No more room in record file
136 = No more room in index file
141 = Duplicate unique key or constraint on write or update
144 = Table is crashed and last repair failed
145 = Table was marked as crashed and should be repaired

Note that error 135 (no more room in record file) and error 136 (no more room in index file) are not errors that can be fixed by a simple repair. In this case, you have to use ALTER TABLE to increase the MAX_ROWS and AVG_ROW_LENGTH table option values:

ALTER TABLE tbl_name MAX_ROWS=xxx AVG_ROW_LENGTH=yyy;

If you don't know the current table option values, use SHOW CREATE TABLE tbl_name.

For the other errors, you must repair your tables. myisamchk can usually detect and fix most problems that occur.

The repair process involves up to four stages, described here. Before you begin, you should change location to the database directory and check the permissions of the table files. On Unix, make sure that they are readable by the user that mysqld runs as (and to you, because you need to access the files you are checking). If it turns out you need to modify files, they must also be writable by you.

The options that you can use for table maintenance with myisamchk and isamchk are described in several of the earlier subsections of Section 5.7.3, “Table Maintenance and Crash Recovery”.

The following section is for the cases where the above command fails or if you want to use the extended features that myisamchk and isamchk provide.

If you are going to repair a table from the command line, you must first stop the mysqld server. Note that when you do mysqladmin shutdown on a remote server, the mysqld server is still alive for a while after mysqladmin returns, until all queries are stopped and all keys have been flushed to disk.

Stage 1: Checking your tables

Run myisamchk *.MYI or myisamchk -e *.MYI if you have more time. Use the -s (silent) option to suppress unnecessary information.

If the mysqld server is down, you should use the --update-state option to tell myisamchk to mark the table as 'checked'.

You have to repair only those tables for which myisamchk announces an error. For such tables, proceed to Stage 2.

If you get weird errors when checking (such as out of memory errors), or if myisamchk crashes, go to Stage 3.

Stage 2: Easy safe repair

Note: If you want a repair operation to go much faster, you should set the values of the sort_buffer_size and key_buffer_size variables each to about 25% of your available memory when running myisamchk or isamchk.

First, try myisamchk -r -q tbl_name (-r -q means ``quick recovery mode''). This attempts to repair the index file without touching the data file. If the data file contains everything that it should and the delete links point at the correct locations within the data file, this should work, and the table is fixed. Start repairing the next table. Otherwise, use the following procedure:

Make a backup of the data file before continuing.

Use myisamchk -r tbl_name (-r means ``recovery mode''). This removes incorrect records and deleted records from the data file and reconstructs the index file.

If the preceding step fails, use myisamchk --safe-recover tbl_name. Safe recovery mode uses an old recovery method that handles a few cases that regular recovery mode doesn't (but is slower).

If you get weird errors when repairing (such as out of memory errors), or if myisamchk crashes, go to Stage 3.

Stage 3: Difficult repair

You should reach this stage only if the first 16KB block in the index file is destroyed or contains incorrect information, or if the index file is missing. In this case, it's necessary to create a new index file. Do so as follows:

Move the data file to some safe place.

Use the table description file to create new (empty) data and index files:

shell> mysql db_name
mysql> SET AUTOCOMMIT=1;
mysql> TRUNCATE TABLE tbl_name;
mysql> quit

If your version of MySQL doesn't have TRUNCATE TABLE, use DELETE FROM tbl_name instead.

Copy the old data file back onto the newly created data file. (Don't just move the old file back onto the new file; you want to retain a copy in case something goes wrong.)

Go back to Stage 2. myisamchk -r -q should work. (This shouldn't be an endless loop.)

As of MySQL 4.0.2, you can also use REPAIR TABLE tbl_name USE_FRM, which performs the whole procedure automatically.

Stage 4: Very difficult repair

You should reach this stage only if the .frm description file has also crashed. That should never happen, because the description file isn't changed after the table is created:

Restore the description file from a backup and go back to Stage 3. You can also restore the index file and go back to Stage 2. In the latter case, you should start with myisamchk -r.

If you don't have a backup but know exactly how the table was created, create a copy of the table in another database. Remove the new data file, then move the .frm description and .MYI index files from the other database to your crashed database. This gives you new description and index files, but leaves the .MYD data file alone. Go back to Stage 2 and attempt to reconstruct the index file.
CrazyWaiter 3.486
[sport-mod] The One
Sinds 24/9/2004
T:57 - R:2506
22/3/2005 - 9:21u | Quote
'k heb op 't forum van phpbb zelf eens naar mijn foutmelding gezocht en een topic voor geopend en ik werd doorverwezen naar deze link http://www.phpbb.com/phpBB/viewtopic.php?t=259967

Ik heb gedaan wat daar staat en 't probleem is opgelost, ma 'k wou het hier toch ff posten voor mensen die hetzelfde probleem moesten tegenkomen

--> Topic Closed

Laatst aangepast door CrazyWaiter op 22/03/2005 9:21:54u (1x aangepast)
 
Bovenaan pagina