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, 139 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 - Nuke_users table getting corrupted? [ ]
 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
Deacon
Nuke Soldier
Nuke Soldier


Joined: Apr 16, 2003
Posts: 19


PostPosted: Tue Jul 15, 2003 12:00 pm Reply with quoteBack to top

This is a problem that just started recently and has happened twice this week. I'm assuming that the user table is getting corrupted. This is what one of my members sent me...
Quote:
This one is on the right hand side above the latest thread updates.....(this is refering to the homepage where we have the scrolling forum block)

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/clanlms/public_html/lmsphp/includes/sql_layer.php on line 286


This is what I get when trying to access the forums.....

message_die() was called multiple times. This isn't supposed to happen. Was message_die() used in page_tail.php?

And there was another one that said 'Critical Error........'


When I go into phpmyadmin and check the tables it lists nuke_users in use. Both times I corrected this by repairing the table but whatever user is logged in when this happens gets dropped. Is there a way to prevent this? I am running 6.5.

thanks
Find all posts by DeaconView user's profileSend private message
sixonetonoffun
Major
Major


Joined: Jan 13, 2003
Posts: 892


PostPosted: Tue Jul 15, 2003 1:29 pm Reply with quoteBack to top

Don't know why your having trouble but I think it would eliminate a lot of trouble if someone initiated a something like this at least in key tables like after someone creates or edits their account.
Code:

$sql = "OPTIMIZE TABLE `TableName`, `TableName`, `TableName`, `TableName`";
$result = mysql_query($sql);

_________________
www.netflake.com
www.glowoptics.com
Find all posts by sixonetonoffunView user's profileSend private message
Deacon
Nuke Soldier
Nuke Soldier


Joined: Apr 16, 2003
Posts: 19


PostPosted: Tue Jul 15, 2003 1:53 pm Reply with quoteBack to top

Forgive me I still new to this. What your suggesting is running optimize table through phpmyadmin right? and I should do this on a regular basis?

Is that the same as running optimize db within the php-nuke admin panel?

Thanks for the help. Any other suggestions?
Find all posts by DeaconView user's profileSend private message
sixonetonoffun
Major
Major


Joined: Jan 13, 2003
Posts: 892


PostPosted: Tue Jul 15, 2003 2:07 pm Reply with quoteBack to top

Yes and no.

I would suggest doing that as part of your normal backup and maintenence routine.

But I think the above example should be hard coded into some of the portals key features. It would be to resource consuming to do it on every call to the tables but when the create and edit account is accessed for example it would be an ideal time for the portal to perform some of automated maintenence. Which it doesn't do now and easily could.

You could also just run the optimize database from the admin panel but this too could be greatly improved. Checking tables first ect.. its a long neglected function IMHO.
Find all posts by sixonetonoffunView user's profileSend private message
Deacon
Nuke Soldier
Nuke Soldier


Joined: Apr 16, 2003
Posts: 19


PostPosted: Tue Jul 15, 2003 5:00 pm Reply with quoteBack to top

ok i think i understand now.

I'll do that and hopefully that might solve my problem as well.

Thanks for the help
Find all posts by DeaconView user's profileSend private message
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Tue Jul 15, 2003 5:08 pm Reply with quoteBack to top

Six,

Wouldn't he then need to echo $result in some manner?

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff
Find all posts by RavenView user's profileSend private messageVisit poster's website
sixonetonoffun
Major
Major


Joined: Jan 13, 2003
Posts: 892


PostPosted: Tue Jul 15, 2003 7:15 pm Reply with quoteBack to top

lol well I didn't mean for him to try hacking that in exactly. It was more of an inappropriate rant. Though the ideas sound enough I think.

_________________
www.netflake.com
www.glowoptics.com
Find all posts by sixonetonoffunView user's profileSend private message
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 - TUTTISU E-COMMERCE http://www.tuttisu.it
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.430 Seconds - 80 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::