FacebookTwitter
Hatrack River Forum   
my profile login | search | faq | forum home

  next oldest topic   next newest topic
» Hatrack River Forum » Active Forums » Books, Films, Food and Culture » Hobbes, what did you do to my forum?

   
Author Topic: Hobbes, what did you do to my forum?
saxon75
Member
Member # 4589

 - posted      Profile for saxon75           Edit/Delete Post 
quote:
SQL Error : 1016 Can't open file: 'phpbb_users.MYI'. (errno: 145)

SELECT * FROM phpbb_users WHERE user_id = 2

Line : 62
File : /home/sakerive/.panel/web/bulletin/bb/includes/sessions.php

You were the last one in there, and now one of my databases is just GONE. Didn't you ever learn to put stuff back where you found it? [Razz]

::sigh:: I have no idea how to fix this.

Posts: 4534 | Registered: Jan 2003  |  IP: Logged | Report this post to a Moderator
fugu13
Member
Member # 2859

 - posted      Profile for fugu13   Email fugu13         Edit/Delete Post 
Your index is corrupted. You need to try 'repair table phpbb_users', and possibly mysqlisamchk. Another possibility is a file access problem, though that's unlikely (check the permissions on that .MYI file)

If the table is still gone after those (check phpmyadmin -- install it if you haven't yet),
your forums likely came with some sql code to populate the databases originally -- find that file, copy and paste the lines for that database into a new file, then inject that file into your database.

Posts: 15770 | Registered: Dec 2001  |  IP: Logged | Report this post to a Moderator
saxon75
Member
Member # 4589

 - posted      Profile for saxon75           Edit/Delete Post 
I fixed it. I had made a backup of the whole forum not too long before it crashed, but I didn't want to drop any posts that may have happened between the backup and the crash so I just cut-and-pasted in the SQL commands from the backup.

I haven't actually been able to locate the files for my databases, I do all my administration through my host's web control panel. fugu, are those SQL commands or are they shell commands?

Posts: 4534 | Registered: Jan 2003  |  IP: Logged | Report this post to a Moderator
saxon75
Member
Member # 4589

 - posted      Profile for saxon75           Edit/Delete Post 
Hmmm... Apparently the web client I use for database admin is phpMyAdmin (v. 2.4.0), but it sounds like you're talking about a shell application. Man, I wish my office firewall would let me connect in any way other than the web...
Posts: 4534 | Registered: Jan 2003  |  IP: Logged | Report this post to a Moderator
fugu13
Member
Member # 2859

 - posted      Profile for fugu13   Email fugu13         Edit/Delete Post 
The first is an sql command, the second a shell command. Put a colon on the end of the sql command to run it.

I think phpmyadmin may be able to run the shell command, but I'm unsure and don't have easy access to an install right now.

Posts: 15770 | Registered: Dec 2001  |  IP: Logged | Report this post to a Moderator
   

   Close Topic   Feature Topic   Move Topic   Delete Topic next oldest topic   next newest topic
 - Printer-friendly view of this topic
Hop To:


Contact Us | Hatrack River Home Page

Copyright © 2008 Hatrack River Enterprises Inc. All rights reserved.
Reproduction in whole or in part without permission is prohibited.


Powered by Infopop Corporation
UBB.classic™ 6.7.2