Welcome, Guest. Please Login or Register.
November 30, 2024, 03:39:26 AM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  English User Help  |  English Help  |  Arrgh... errors « previous next »
Pages: [1] 2 3 Reply Ignore Print
Author Topic: Arrgh... errors  (Read 522 times)
CD999
Noobie
*
Posts: 27


I'm NOT a llama

Arrgh... errors
« on: June 24, 2002, 12:45:36 AM »
Reply with quote


General Category

An Error Has Occurred!

2: mysql_num_rows(): supplied argument is not a valid MySQL result resource
((path)\yabbse\Sources\BoardIndex.php ln 176)

Everything else works, but anything that tries to call the posting (most recent post in the admin panel, etc) gives me a similar error.
Logged
Chris Cromer
The Strange One
Mod Team
YaBB God
*****
Posts: 3152


I am just a figment of your imagination.

WWW
Re:Arrgh... errors
« Reply #1 on: June 24, 2002, 02:42:44 AM »
Reply with quote

Could you show me your line 176 in your BoardIndex.php?
Logged

Chris Cromer

I am not suffering from insanity, I am enjoying every minute of it.
CD999
Noobie
*
Posts: 27


I'm NOT a llama

Re:Arrgh... errors
« Reply #2 on: June 24, 2002, 04:57:52 PM »
Reply with quote

Alright

class="bordercolor">
Logged
David
Destroyer Dave
Global Moderator
YaBB God
*****
Posts: 5761


I'm not a llama!

WWW
Re:Arrgh... errors
« Reply #3 on: June 24, 2002, 06:54:17 PM »
Reply with quote

Line 176 is actually
$rowmem = mysql_fetch_row($result3);
in context
if ($latestPostID != '-1') {
                                $result3 = mysql_query("SELECT memberName,realN$
                                $rowmem = mysql_fetch_row($result3);
                                $latestPostRealName = isset($rowmem[1])?$rowmem$
                        }
Logged

CD999
Noobie
*
Posts: 27


I'm NOT a llama

Re:Arrgh... errors
« Reply #4 on: June 25, 2002, 12:37:06 AM »
Reply with quote

odd. In context, my Line 176 is

<table border="0" width="100%" cellspacing="0" cellpadding="0" class="bordercolor"><tr><td>
<table border=0 width="100%" cellspacing="1" cellpadding="5" class="bordercolor">
  <tr>
    <td class="titlebg" colspan="2"><b>$txt[20]</b></td>
    <td class="titlebg" width="6%" align="center"><b>$txt[330]</b></td>
    <td class="titlebg" width="6%" align="center"><b>$txt[21]</b></td>
    <td class="titlebg" width="22%" align="center"><b>$txt[22]</b></td>
  </tr>
Logged
mediman
Support Team
YaBB God
*****
Posts: 2858


WWW
Re:Arrgh... errors
« Reply #5 on: June 25, 2002, 01:35:03 AM »
Reply with quote

i have had a user with the same prob!

the solution: it was the disk quota! if your yabbse can write on disc then this error appears! try with ftp to upload a file to your yabbse folder, maybe you have also a disk quota error!

mediman
Logged

mainComm Dev Team
CD999
Noobie
*
Posts: 27


I'm NOT a llama

Re:Arrgh... errors
« Reply #6 on: June 25, 2002, 01:39:41 AM »
Reply with quote

That isn't the problem either. I just checked. I don't have a disk quota except for the size of my HD. This is being hosted on my own PC.
Logged
mediman
Support Team
YaBB God
*****
Posts: 2858


WWW
Re:Arrgh... errors
« Reply #7 on: June 25, 2002, 01:50:10 AM »
Reply with quote

try to empty (clear) "log_boards" this will fix your prob!

mediman
Logged

mainComm Dev Team
CD999
Noobie
*
Posts: 27


I'm NOT a llama

Re:Arrgh... errors
« Reply #8 on: June 25, 2002, 02:11:30 AM »
Reply with quote

that didnt work either... this just happened one day out of nowhere.
Logged
mediman
Support Team
YaBB God
*****
Posts: 2858


WWW
Re:Arrgh... errors
« Reply #9 on: June 25, 2002, 02:16:46 AM »
Reply with quote

have you cleared all logs? in db, not only in admin center? and have you tried to repair the table "log_clicks" table?

Logged

mainComm Dev Team
mediman
Support Team
YaBB God
*****
Posts: 2858


WWW
Re:Arrgh... errors
« Reply #10 on: June 25, 2002, 02:21:18 AM »
Reply with quote

try to optimze your tables with our script , maybe any tables have to many space usage!

mediman

<?

$db_name = "";
$db_user = "";
$db_passwd = "";
$db_server = "localhost";

mysql_connect("$db_server","$db_user","$db_passwd");
$vers = mysql_get_server_info();
echo "We found a MySQL Server with Version <b>$vers</b> installed!<br>";
optimize();

function optimize() {
global $db_name;
mysql_select_db($db_name);
$tables=mysql_list_tables($db_name);
while (list($bla)=mysql_fetch_array($tables)) {
$result = mysql_query("OPTIMIZE TABLE $bla")or die("Invalid query");
echo "Table <font color=blue>".$bla."</font> analyzed and optimized!<br>";
}
}

?>
« Last Edit: June 25, 2002, 02:23:02 AM by mediman » Logged

mainComm Dev Team
CD999
Noobie
*
Posts: 27


I'm NOT a llama

Re:Arrgh... errors
« Reply #11 on: June 25, 2002, 02:23:54 AM »
Reply with quote

 :'( everything that has been suggested doesn't work. i am considering reinstalling and starting over again.
Logged
mediman
Support Team
YaBB God
*****
Posts: 2858


WWW
Re:Arrgh... errors
« Reply #12 on: June 25, 2002, 02:27:34 AM »
Reply with quote

can i have a link to the board?

mediman
Logged

mainComm Dev Team
CD999
Noobie
*
Posts: 27


I'm NOT a llama

Re:Arrgh... errors
« Reply #13 on: June 25, 2002, 02:29:31 AM »
Reply with quote

http://24.128.153.169/yabbse/

it's nothing much, just a little board I made for a friend.
Logged
CD999
Noobie
*
Posts: 27


I'm NOT a llama

Re:Arrgh... errors
« Reply #14 on: June 25, 2002, 02:31:30 AM »
Reply with quote

sorry, I kinda forgot i had it set for registered users only

login: test p/w:test
Logged
Pages: [1] 2 3 Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  Arrgh... errors « 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.049 seconds with 20 queries.