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, 45 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 - Wicked error found in updating private forum permissions [ ]
 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
simrin
Support Mod
Support Mod


Joined: Jul 17, 2003
Posts: 519

Location: In front of a computer, who wants to know

PostPosted: Fri Nov 14, 2003 12:13 pm Reply with quoteBack to top

Found this in my forum admin panel trying to update private forum access for a user. The install is a 6.9 install that is upgraded from a 6.0 that had bbtonuke port on it.


Code:
Couldn't update private forum permissions

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax near ' 1, 1, 1, 1, 1, 1, 0)' at line 2

INSERT INTO ts_bbauth_access (forum_id, group_id, auth_view, auth_read, auth_post, auth_reply, auth_edit, auth_vote, auth_mod) VALUES (32, , 1, 1, 1, 1, 1, 1, 0)

Line : 425
File : mysite.com/html/modules/Forums/admin/admin_ug_auth.php


Looks like there is a missing value going through in the insert but I have no real idea and I don't see anything in the file that tips me off immediately.
Find all posts by simrinView user's profileSend private messageSend e-mailVisit poster's website
Daniel-cmw
Site Admin
Site Admin


Joined: Mar 02, 2003
Posts: 1662

Location: The UK!

PostPosted: Fri Nov 14, 2003 12:17 pm Reply with quoteBack to top

Please search before posting, this has been solved time and time before.

http://blood.recongamer.com/modules.php?name=Downloads&d_op=viewdownload&cid=2

Use that file, replace the old one.

_________________
Read Me
Find all posts by Daniel-cmwView user's profileSend private message
simrin
Support Mod
Support Mod


Joined: Jul 17, 2003
Posts: 519

Location: In front of a computer, who wants to know

PostPosted: Fri Nov 14, 2003 12:36 pm Reply with quoteBack to top

Sorry about that....must not have searched in detail for that problem.
Find all posts by simrinView user's profileSend private messageSend e-mailVisit poster's website
simrin
Support Mod
Support Mod


Joined: Jul 17, 2003
Posts: 519

Location: In front of a computer, who wants to know

PostPosted: Thu Dec 04, 2003 10:18 pm Reply with quoteBack to top

Sorry to come back to this issue but I replaced the file with the updated one in the link and had no chance in behavior. Even went so far as to clean out browser cache and completely shutdown both my db and apache and start them back up to make sure it was loading the right file. Any thoughts?
Find all posts by simrinView user's profileSend private messageSend e-mailVisit poster's website
Jag1050
Sergeant
Sergeant


Joined: Nov 03, 2003
Posts: 78

Location: DC

PostPosted: Sun Dec 07, 2003 2:17 pm Reply with quoteBack to top

that fix only works with 2.0.4-2.0.6 is that ur forum version? and also nukeresources has a 2nd fix but its a little more risky than that file replacement. http://www.nukeresources.com/downloads-file-747.html
Find all posts by Jag1050View user's profileSend private messageSend e-mailVisit poster's websiteAIM AddressYahoo MessengerMSN Messenger
chron
Nuke Soldier
Nuke Soldier


Joined: Nov 07, 2003
Posts: 22


PostPosted: Sun Dec 07, 2003 7:20 pm Reply with quoteBack to top

the fixgroup file that jag refers to works very well for me, apparently a group id number is not being set, therefore you can't change the permissions.

the fixgroup file goes through the database and fixes any users that do not have a group. i just use it anytime i need to update group permissions on a user that i know is new since the last time that i ran the script. otherwise i just let it ride until then.

or you could just run it anytime you want to.
Find all posts by chronView user's profileSend private message
echostorm
Nuke Soldier
Nuke Soldier


Joined: Oct 13, 2003
Posts: 33


PostPosted: Mon Dec 08, 2003 9:35 am Reply with quoteBack to top

When I run that file I get this: You can't access this file directly... Is this normal? maybe I am running it wrong? I placed it in the root and then ran it through my browser like this: http://mysite .com/fixgroup.php

Is this the correct way? and I have tried replacing: Admim_ug_auth with the fixed one also with no luck.

Thank you for any help.
Find all posts by echostormView user's profileSend private message
cogan
Nuke Soldier
Nuke Soldier


Joined: Dec 03, 2003
Posts: 16


PostPosted: Mon Dec 08, 2003 10:13 am Reply with quoteBack to top

after download from blood website,the error msg is gone... that is good..
but unfortunately... by the time u make changes to user, it won't have effect, it will become user and not moderator all again....
any others try?
Find all posts by coganView user's profileSend private message
PCplayground
Sergeant
Sergeant


Joined: Feb 26, 2003
Posts: 111


PostPosted: Mon Dec 08, 2003 3:27 pm Reply with quoteBack to top

echostorm wrote:
When I run that file I get this: You can't access this file directly... Is this normal? maybe I am running it wrong? I placed it in the root and then ran it through my browser like this: http://mysite .com/fixgroup.php

Is this the correct way? and I have tried replacing: Admim_ug_auth with the fixed one also with no luck.

Thank you for any help.


upload to the Forums folder and point your browser to http://www.yoursite.com/modules.php?name=Forums&file=fixgroup

_________________
High Tech News | Funny Jokes | Free PC Support
Find all posts by PCplaygroundView user's profileSend private messageVisit poster's websiteAIM Address
echostorm
Nuke Soldier
Nuke Soldier


Joined: Oct 13, 2003
Posts: 33


PostPosted: Mon Dec 08, 2003 5:58 pm Reply with quoteBack to top

Lol, Thank you! Wink I can't believe I didn't look at the forums path. Embarassed
Find all posts by echostormView user's profileSend private message
Jag1050
Sergeant
Sergeant


Joined: Nov 03, 2003
Posts: 78

Location: DC

PostPosted: Mon Dec 15, 2003 5:06 am Reply with quoteBack to top

lol at least 20 people per day report this error, it should be an announcement dont u think? itll save the forums and hundreds of people a wicked amount of time from searching the forums and stuff.

_________________
Image
Find all posts by Jag1050View user's profileSend private messageSend e-mailVisit poster's websiteAIM AddressYahoo MessengerMSN Messenger
WebKnight
Nuke Soldier
Nuke Soldier


Joined: Dec 20, 2003
Posts: 16


PostPosted: Fri Jan 02, 2004 5:51 pm Reply with quoteBack to top

No, I dont think there should be a announcement.

I think they should just incorporate the FIXES to FIX the problems that are still dragging along.

Seeing as I "have been" a Club Member for 6 months in the past, I'm un satisfied with paying for phpnuke and still having to bug-free it myself.

I've recently denounced my club account and will just wait patiently for the next "final" bug release.

Funny thing they fixed the modules.php error and added the fix to the download after about 1 week.

This groups error has been around since 6.8 that i know of.

Sometimes you dont get what you pay for Confused

_________________
WebKnight-
Find all posts by WebKnightView user's profileSend private message
Jag1050
Sergeant
Sergeant


Joined: Nov 03, 2003
Posts: 78

Location: DC

PostPosted: Fri Jan 02, 2004 5:57 pm Reply with quoteBack to top

WebKnight wrote:
Sometimes you dont get what you pay for Confused
Why did u have to pay for it in the first place? its free software, you just need to install it yourself...

_________________
Image
Find all posts by Jag1050View user's profileSend private messageSend e-mailVisit poster's websiteAIM AddressYahoo MessengerMSN Messenger
Encabis
Nuke Cadet
Nuke Cadet


Joined: Dec 29, 2003
Posts: 7


PostPosted: Mon Jan 05, 2004 4:50 am Reply with quoteBack to top

Download this file and replace modules/Forums/admin/admin_ug_auth.php with this one.
http://www.nukeresources.com/downloads-file-746-details-Private_forum_permissions_fix_1.html

If that doesn't work, download and run this file. Upload it to modules/Forums/
http://www.nukeresources.com/downloads-file-747-details-Private_forum_permissions_fix_2.html

-Taken from http://www.nukecops.com/postlite13237-sql+error+1064.html
Find all posts by EncabisView user's profileSend private message
DevilsTaco
Private
Private


Joined: Dec 27, 2003
Posts: 46

Location: Los Angeles

PostPosted: Tue Jan 06, 2004 1:46 am Reply with quoteBack to top

PCplayground wrote:
echostorm wrote:
When I run that file I get this: You can't access this file directly... Is this normal? maybe I am running it wrong? I placed it in the root and then ran it through my browser like this: http://mysite .com/fixgroup.php

Is this the correct way? and I have tried replacing: Admim_ug_auth with the fixed one also with no luck.

Thank you for any help.


upload to the Forums folder and point your browser to http://www.yoursite.com/modules.php?name=Forums&file=fixgroup


I still get "You can't access this file directly..."
Crying or Very sad

_________________
Enlightening humanity; one brain freeze at a time. www.lemonsquishy.com/gobblog/index.php
Find all posts by DevilsTacoView 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.259 Seconds - 176 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::