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, 52 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - SQL Error : 1064 [ ]
 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
magallanes
Nuke Cadet
Nuke Cadet


Joined: Jan 09, 2006
Posts: 1


PostPosted: Sun Jan 08, 2006 10:24 pm Reply with quoteBack to top

I got the following error trying to add a user account as moderator to a forum through section "User Admin > Permissions". I'm running BBtoNuke 2.0.7 by Nuke Cops.


SQL Error : 1064 You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND aa.group_id = ug.group_id AND aa.auth_mod = 1

SELECT ug.user_id, COUNT(auth_mod) AS is_auth_mod FROM nuke_bbauth_access aa, nuke_bbuser_group ug WHERE ug.user_id IN () AND aa.group_id = ug.group_id AND aa.auth_mod = 1 GROUP BY ug.user_id

Line : 528
File : admin_ug_auth.php
Find all posts by magallanesView user's profileSend private message
phpnuke-hosting
Support Mod
Support Mod


Joined: Oct 19, 2004
Posts: 1032

Location: UK

PostPosted: Mon Jan 09, 2006 5:27 am Reply with quoteBack to top

firstly this will fix your problem.

http://nukecops.com/postp83601.html

Secondly, I highly recomend you upgrade your forums to at least 2.0.15.

It takes 5 minutes to get past 2.0.7.

Please use the search function in future.

Many Thanks

_________________
www.phpnuke-hosting.com

The Internets Foremost PHP-Nuke Web Host.

Image

Click Here!
Find all posts by phpnuke-hostingView user's profileSend private messageVisit poster's website
daman
Nuke Cadet
Nuke Cadet


Joined: May 22, 2006
Posts: 3


PostPosted: Mon May 22, 2006 3:15 pm Reply with quoteBack to top

I searched and tried fixes, my errors changed twice but not fixed any help or pointers for me to fix this? www.the77clan.com thanks anyone...

Code:
Error getting user list for group

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY u.username' at line 7

SELECT u.username, u.user_id, u.user_viewemail, u.user_posts, u.user_regdate, u.user_from, u.user_website, u.user_email, u.user_icq, u.user_aim, u.user_yim, u.user_msnm, ug.user_pending FROM nuke_users u, nuke_bbuser_group ug WHERE ug.group_id = '7' AND u.user_id = ug.user_id AND ug.user_pending = '0' AND ug.user_id <> ORDER BY u.username

Line : 797
File : groupcp.php
 
Find all posts by damanView user's profileSend private message
perfect-games
Site Admin
Site Admin


Joined: Jun 18, 2004
Posts: 212


PostPosted: Mon May 22, 2006 4:10 pm Reply with quoteBack to top

well that message codes meaning unable to insert

and looking at the sql shows this

nuke_bbuser_group

which is possibly from a mod you have installed and you have not done all the edits correctly

try this may work

ALTER TABLE nuke_users DROP bbuser_group;

then see if it works

thanks

steve
Find all posts by perfect-gamesView user's profileSend private messageSend e-mail
daman
Nuke Cadet
Nuke Cadet


Joined: May 22, 2006
Posts: 3


PostPosted: Tue May 23, 2006 3:04 am Reply with quoteBack to top

thanks steve i will try that and post later today when i arrive home from work.
Find all posts by damanView user's profileSend private message
daman
Nuke Cadet
Nuke Cadet


Joined: May 22, 2006
Posts: 3


PostPosted: Thu May 25, 2006 3:35 am Reply with quoteBack to top

SQL query:

ALTER TABLE nuke_users DROP bbuser_group

MySQL said: Documentation
#1091 - Can't DROP 'bbuser_group'. Check that column/key exists

Can I upload new original files, which I believe I tried. I turned off cash mod and other unessicary stuff. It also happens when I try to change forum permissions for users, I get an SQL error. Getting confused but dont want to restore.
Find all posts by damanView 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
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.359 Seconds - 276 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::