Welcome, Guest. Please Login or Register.
July 22, 2025, 01:00:47 PM
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  |  SQL error in admin page « previous next »
Pages: [1] Reply Ignore Print
Author Topic: SQL error in admin page  (Read 324 times)
Juana
Jr. Member
**
Posts: 61


Go Yabbse Go!

ICQ - 27320025 WWW
SQL error in admin page
« on: January 11, 2003, 05:07:50 PM »
Reply with quote

i have big problem . when i enter to my admin page i got this error :

2: mysql_fetch_row(): supplied argument is not a valid MySQL result resource
(/home/httpd/vhosts/tokeikedai.net.my/httpdocs/kedaikopi/Sources/Admin.php ln 75)


how to fix this problem ??
Logged
mediman
Support Team
YaBB God
*****
Posts: 2858


WWW
Re:SQL error in admin page
« Reply #1 on: January 11, 2003, 06:42:07 PM »
Reply with quote

your log_clicks table is locked!

have you phpmyadmin installed?

medi
Logged

mainComm Dev Team
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:SQL error in admin page
« Reply #2 on: January 11, 2003, 11:07:46 PM »
Reply with quote

REPAIR TABLE yabbse_log_clicks

Sometimes the table gets messed up, and then MySQL won't touch it until you repair it.

-[Unknown]
Logged
mediman
Support Team
YaBB God
*****
Posts: 2858


WWW
Re:SQL error in admin page
« Reply #3 on: January 12, 2003, 12:15:59 AM »
Reply with quote

if you have not phpmyadmin installed, then rename the attached file to anything.php and place it in the yabbse folder (the same where Settings.php is) and run it once!

mediman
Logged

mainComm Dev Team
Juana
Jr. Member
**
Posts: 61


Go Yabbse Go!

ICQ - 27320025 WWW
Re:SQL error in admin page
« Reply #4 on: January 12, 2003, 05:27:10 AM »
Reply with quote

i have phpmyadmin in my hosting . when i click table yabbse_log_clicks , i got this msg :

Error

SQL-query :  

SHOW KEYS FROM `yabbse_log_clicks`


MySQL said:


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


how to do now ? give me an idea
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:SQL error in admin page
« Reply #5 on: January 12, 2003, 05:43:21 AM »
Reply with quote

Errno 145 means MySQL locked it 'cuz it's broken.

You are going to need to repair it.

-[Unknown]
Logged
Juana
Jr. Member
**
Posts: 61


Go Yabbse Go!

ICQ - 27320025 WWW
Re:SQL error in admin page
« Reply #6 on: January 12, 2003, 05:48:16 AM »
Reply with quote

how to repair that error ? i have no nothing about that . please guide me
Logged
mediman
Support Team
YaBB God
*****
Posts: 2858


WWW
Re:SQL error in admin page
« Reply #7 on: January 12, 2003, 12:02:59 PM »
Reply with quote

use the file i attached!

mediman
Logged

mainComm Dev Team
Juana
Jr. Member
**
Posts: 61


Go Yabbse Go!

ICQ - 27320025 WWW
Re:SQL error in admin page
« Reply #8 on: January 12, 2003, 05:07:16 PM »
Reply with quote

i have tried your attached file , here the result :

Your database contains 25! tables.
trying to optimize tables ...

optimize: yabbse_calendar .... 0.249 kb optimized
optimize: yabbse_log_floodcontrol .... 0.125 kb optimized
optimize: yabbse_log_online .... 1.66 kb optimized
optimize: yabbse_log_topics .... 10.5 kb optimized
optimize: yabbse_messages .... 152.234 kb optimized
optimize: yabbse_polls .... 2.301 kb optimized
optimize: yabbse_topics .... 0.195 kb optimized


7 tables optimized


after that i try enter to my admin page but still the same problem as i told you before. duhh
Logged
mediman
Support Team
YaBB God
*****
Posts: 2858


WWW
Re:SQL error in admin page
« Reply #9 on: January 17, 2003, 07:44:56 PM »
Reply with quote

last chance

http://www.yabbse.org/jeffstools/RepairTables.zip

mediman
Logged

mainComm Dev Team
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  SQL error in admin page « 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.053 seconds with 21 queries.