Welcome, Guest. Please Login or Register.
August 27, 2025, 09:42:14 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  English User Help  |  English Help  |  Help! Cannot access my board. No one can... « previous next »
Pages: [1] 2 Reply Ignore Print
Author Topic: Help! Cannot access my board. No one can...  (Read 643 times)
campingdad
Jr. Member
**
Posts: 76


Please stand by..I am currently breaking something

WWW
Help! Cannot access my board. No one can...
« on: March 31, 2002, 11:59:52 AM »
Reply with quote

I posted this once elsewhere but I think I was in the wrong forum....

 Hi,
  I am perplexed. Easily done btw I cannot access my board this evening. Everytime I try I get the following warning:
Warning: Supplied argument is not a valid MySQL result resource in /usr/local/plesk/apache/vhosts/northeastonlinewheelers.org/httpdocs/yabbse/Sources/Subs.php on line 156

and the following error:
2: Supplied argument is not a valid MySQL result resource
(/usr/local/plesk/apache/vhosts/northeastonlinewheelers.org/httpdocs/yabbse/Sources/Admin.php ln 69)


Now both of these refer to :

$temp = mysql_fetch_row($request);

PLEASE, any help would be greatly appreciated. I am woefully MySQL ignorant...

My host has left me high and dry on this. If anyone can help me out here it would be greatly appreciated. My users are about to tar and feather me.

...and Happy Easter! :)
Logged
campingdad
Jr. Member
**
Posts: 76


Please stand by..I am currently breaking something

WWW
Re:Help! Cannot access my board. No one can...
« Reply #1 on: March 31, 2002, 12:12:40 PM »
Reply with quote

Note: I am running 1.0.0 .   I have an instance of 1.1.0 that IS still working. That  may help in the dignosys I think.

Thanks
Logged
Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:Help! Cannot access my board. No one can...
« Reply #2 on: March 31, 2002, 01:58:04 PM »
Reply with quote

Actually, that isn't the line causing the error, that is the line it dies on.  Post the line that may be a couple above but it contains the actual query (mysql_query).  That is where the error lies.

To get the actual error yourself, add this right after that mysql_query line:

echo "Error: ".mysql_error();
Logged

campingdad
Jr. Member
**
Posts: 76


Please stand by..I am currently breaking something

WWW
Re:Help! Cannot access my board. No one can...
« Reply #3 on: March 31, 2002, 02:05:41 PM »
Reply with quote

Found the error.

Error: Can't open file: 'yabbse_messages.MYD'. (errno: 145)

Any ideas?

Thanks!
Logged
campingdad
Jr. Member
**
Posts: 76


Please stand by..I am currently breaking something

WWW
Re:Help! Cannot access my board. No one can...
« Reply #4 on: March 31, 2002, 02:10:03 PM »
Reply with quote

I know next to nithing about phpMyAdmin but this is what I get when I click on the messages table...

Error

SQL-query :

SHOW KEYS FROM `yabbse_messages`

MySQL said:

Can't open file: 'yabbse_messages.MYD'. (errno: 145)

Logged
campingdad
Jr. Member
**
Posts: 76


Please stand by..I am currently breaking something

WWW
Re:Help! Cannot access my board. No one can...
« Reply #5 on: March 31, 2002, 02:49:51 PM »
Reply with quote

This may help as well... When I look at the whole database and all the tables, the row with the messages table looks like this:

  yabbse_messages      Browse     Select     Insert     Properties     Drop     Empty    in use

It is the only row that has "in use" as the TYPE. ***Correction*** That table and instant_messages both say "In Use" the rest say MyISAM as TYPE.

Am I screwed here???

Thanks
« Last Edit: March 31, 2002, 02:57:17 PM by campingdad » Logged
Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:Help! Cannot access my board. No one can...
« Reply #6 on: March 31, 2002, 03:35:22 PM »
Reply with quote

Oh oh not good...I still haven't been able to find out how to unlock these tables.  Even posted a message to both the PHP and mySQL mailing lists but got no response...
Logged

campingdad
Jr. Member
**
Posts: 76


Please stand by..I am currently breaking something

WWW
Re:Help! Cannot access my board. No one can...
« Reply #7 on: March 31, 2002, 03:40:30 PM »
Reply with quote

Thanks!   Very reassuring.  ;D

I have a ticket open with my hosting company to see if they can do something but that seems to be like throwing talcum powder into a fan when it comes to things like this.

Judging from a response you gave to a similar problem I saw in a search, I may end up deleting and rebuilding these tables. Is that a correct statement?

IF that is the only option, can you tell me how to do that?

I am gonna catch holy hell for this.  ::)  ;)
Logged
campingdad
Jr. Member
**
Posts: 76


Please stand by..I am currently breaking something

WWW
Re:Help! Cannot access my board. No one can...
« Reply #8 on: April 01, 2002, 01:38:07 AM »
Reply with quote

Any thoughts??? Ideas???

My hosting company has my ticket on hold waiting for a sysadmin to take a look at it. To be quite honest I don't hold out much hope for that avenue. In the mean time, the natives are getting restless...... ;)
Logged
campingdad
Jr. Member
**
Posts: 76


Please stand by..I am currently breaking something

WWW
Re:Help! Cannot access my board. No one can...
« Reply #9 on: April 01, 2002, 11:19:14 AM »
Reply with quote

Well it looks like I really am screwed. According to my host, (as well as you folks, indirectly) it is becoming increasingly clear that the files in question...

ALL MY MESSAGES and ALL MY INSTANT MESSAGES have been corrupted! The files are junk. That is not a good thing at all. VERY big bummer. I hope you folks are looking into that little bug pretty heavily. It doesn't bode well. Maybe ver 1.3 ???

In the meantime, can someone PLEASE tell me how to delete and rebuild the tables in question. I would really appreciate it.

Thanks.
Logged
andrea
Global Moderator
YaBB God
*****
Posts: 4400


Peace on Earth

WWW
Re:Help! Cannot access my board. No one can...
« Reply #10 on: April 01, 2002, 11:25:26 AM »
Reply with quote

With phpMyAdmin you can try to export the data to your local pc. If this works, you can initialize the db and re-import the data.
Logged

campingdad
Jr. Member
**
Posts: 76


Please stand by..I am currently breaking something

WWW
Re:Help! Cannot access my board. No one can...
« Reply #11 on: April 01, 2002, 11:32:05 AM »
Reply with quote

I'm pretty phpMyAdmin illiterate but I don't think that will work for the tables in question. I cannot even access them at all. They are completely locked.

But I appreciate the help. Can you tell me how to go about doing that. I don't remember seeing an export function.

Shane

*Update- I think I figured out how to at least download the data/structure as you mentioned. However, as I suspecte, it didn't work.

Anything else?

Thanks
« Last Edit: April 01, 2002, 11:45:38 AM by campingdad » Logged
campingdad
Jr. Member
**
Posts: 76


Please stand by..I am currently breaking something

WWW
Re:Help! Cannot access my board. No one can...
« Reply #12 on: April 01, 2002, 04:04:01 PM »
Reply with quote

This may help someone who is smarter than I.

http://www.phpbuilder.com/forum/read.php3?num=5&id=7937&loc=0&thread=7937

Shane
Logged
Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:Help! Cannot access my board. No one can...
« Reply #13 on: April 01, 2002, 04:09:04 PM »
Reply with quote

Thanks for the link!  Gives me soemthing to go on!! :)

Interesting that nobody on either the PHP or the mySQL mailing lists offered any help with that error...
Logged

campingdad
Jr. Member
**
Posts: 76


Please stand by..I am currently breaking something

WWW
Re:Help! Cannot access my board. No one can...
« Reply #14 on: April 01, 2002, 04:10:48 PM »
Reply with quote

Hey Jeff, you owe me man. The above worked like a charm!  ;D

All you need to do when this locking occurs is go to MySQL and type in the following...

REPAIR TABLE yabbse_imessages; or whatever table nees to be fixed.

Phewwww.....that was close! ;)

I appreciate you guys' help anyways.

Shane
Logged
Pages: [1] 2 Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  Help! Cannot access my board. No one can... « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.030 seconds with 16 queries.