You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 56 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Site Messenger Block problem... please help. [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
jeebus
Sergeant
Sergeant


Joined: Jun 17, 2003
Posts: 103


PostPosted: Sun Oct 15, 2006 7:31 pm Reply with quoteBack to top

Correction: The problem actually lies in the Site Messenger Block

I've had this block working on my site for the past two years or so now.. never a problem. Well the power went out the other day and knocked the server out. When I brought everything back up the entire site works fine but I'm getting errors with the Site Vistor block.

I've disabled it for now until I can get rid of the errors... please help.

Nuke 6.5

Here's the errors... the bottom part works fine but the top half where it actually shows the users who are logged in is giving me these errors.

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in c:\phpdev\www\public\html\includes\sql_layer.php on line 341

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in c:\phpdev\www\public\html\includes\sql_layer.php on line 237

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in c:\phpdev\www\public\html\includes\sql_layer.php on line 341

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in c:\phpdev\www\public\html\includes\sql_layer.php on line 237

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in c:\phpdev\www\public\html\includes\sql_layer.php on line 237

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in c:\phpdev\www\public\html\includes\sql_layer.php on line 285

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in c:\phpdev\www\public\html\includes\sql_layer.php on line 285
Site Messenger

IM Messages:
IM's Unread: 76
0

Membership:
Latest: hdfdjr
Today: 0
Yesterday: 0
Overall: 2381

--------------------------------------------------------------------------------
Visitation:
Guests: 0
Members: 0
Total: 0

--------------------------------------------------------------------------------


Last edited by jeebus on Mon Oct 16, 2006 6:29 am; edited 1 time in total
Find all posts by jeebusView user's profileSend private messageVisit poster's website
Slackervaara
Captain
Captain


Joined: Sep 13, 2003
Posts: 313


PostPosted: Sun Oct 15, 2006 8:06 pm Reply with quoteBack to top

Maybe a table in the database is corrupt? Have you tried to look at nuke_session table in phpMyAdmin? If you get an error message when you try to view it, it might be a sign for database corruption, but it can be repaired relatively simple.
Find all posts by SlackervaaraView user's profileSend private message
jeebus
Sergeant
Sergeant


Joined: Jun 17, 2003
Posts: 103


PostPosted: Mon Oct 16, 2006 6:28 am Reply with quoteBack to top

I will check this when I go home this evening.. however I'm not sure I'd even know what to look for.

Also I made a mistake it's actually in the Site Messenger Block where the problem lies.

Any other ideas anyone?
Find all posts by jeebusView user's profileSend private messageVisit poster's website
jeebus
Sergeant
Sergeant


Joined: Jun 17, 2003
Posts: 103


PostPosted: Mon Oct 16, 2006 12:54 pm Reply with quoteBack to top

Ok so you were right I tried access the nuke_sessions table in phpmyadmin and I get this....


Error

SQL-query :

SHOW KEYS FROM `nuke_session`

MySQL said:


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




Now what?????
Find all posts by jeebusView user's profileSend private messageVisit poster's website
Slackervaara
Captain
Captain


Joined: Sep 13, 2003
Posts: 313


PostPosted: Mon Oct 16, 2006 1:00 pm Reply with quoteBack to top

You can repair the corrupt table in phpMyAdmin, if you read this thread:
http://www.nukecops.com/postlite54036-.html
Find all posts by SlackervaaraView user's profileSend private message
jeebus
Sergeant
Sergeant


Joined: Jun 17, 2003
Posts: 103


PostPosted: Mon Oct 16, 2006 7:08 pm Reply with quoteBack to top

Well I was very happy when I came home tonight and saw your post of what to do.. I've read through that entire thread and the entire page on the MSQL site and I can't seem to fix this problem. However it's most likely me that's causing the problem.

Basically I try everything it sugests and I keep getting this message...


Quote:
ERROR 1064: You have an error in your SQL syntax near 'myisamchk -r nuke_session
' at line 1


basically no matter what I type it comes up with

Quote:
ERROR 1064: You have an error in your SQL syntax near '' at line 1



Please Help.
Find all posts by jeebusView user's profileSend private messageVisit poster's website
jeebus
Sergeant
Sergeant


Joined: Jun 17, 2003
Posts: 103


PostPosted: Mon Oct 16, 2006 7:48 pm Reply with quoteBack to top

I tried REPAIR TABLE... this is what I get... no idea where to go from here.


Quote:

mysql> REPAIR TABLE nuke_session.MYD;
+------------------+--------+----------+----------------------------------------
+
| Table | Op | Msg_type | Msg_text
|
+------------------+--------+----------+----------------------------------------
+
| nuke_session.MYD | repair | error | Table 'nuke_session.myd' doesn't exist
|
+------------------+--------+----------+----------------------------------------
+
1 row in set (0.00 sec)
Find all posts by jeebusView user's profileSend private messageVisit poster's website
Slackervaara
Captain
Captain


Joined: Sep 13, 2003
Posts: 313


PostPosted: Tue Oct 17, 2006 1:29 am Reply with quoteBack to top

Check the documentation! I think you must write REPAIR TABLE nuke_session; . I think one must write the table name and not the file name.
Find all posts by SlackervaaraView user's profileSend private message
jeebus
Sergeant
Sergeant


Joined: Jun 17, 2003
Posts: 103


PostPosted: Tue Oct 17, 2006 1:10 pm Reply with quoteBack to top

Slackervaara wrote:
Check the documentation! I think you must write REPAIR TABLE nuke_session; . I think one must write the table name and not the file name.


Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you, Thank you,


I really appreciate your help with this. It's not easy getting quick help. Thank you. I was doing exactly what you suggested. Funny thing is I had done that a million times last night but didn't realize I was in the wrong database. Oops.. no wonder it wasn't working. Very Happy

As soon as I changed the database it took 2 secs and I was done. Everything appears to be working.

Now to look at upgrading the entire site. 6.5 to 7.9. Not looking forward to that.
Find all posts by jeebusView user's profileSend private messageVisit poster's website
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.463 Seconds - 310 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::