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, 46 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 - Couldn't update 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
ravernews
Premium
Premium


Joined: Jan 26, 2003
Posts: 230

Location: USA

PostPosted: Fri Mar 07, 2003 12:16 pm Reply with quoteBack to top

Couldn't update private forum permissions

DEBUG MODE

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

INSERT INTO nuke_bbauth_access (forum_id, group_id, auth_mod) VALUES (4, , 1)

Line : 385
File : /blah/blah/blah/modules/Forums/admin/admin_ug_auth.php

_________________
I am new at this, give me time.


PHPNUKE = Less Code
NukeCops = More power
PhpNuke + NukeCops = "less code more power"
Find all posts by ravernewsView user's profileSend private messageVisit poster's websiteAIM AddressYahoo Messenger
ravernews
Premium
Premium


Joined: Jan 26, 2003
Posts: 230

Location: USA

PostPosted: Fri Mar 07, 2003 12:18 pm Reply with quoteBack to top

haha I thought I wasnt going to have to post any bugs for awhile. lol

_________________
I am new at this, give me time.


PHPNUKE = Less Code
NukeCops = More power
PhpNuke + NukeCops = "less code more power"
Find all posts by ravernewsView user's profileSend private messageVisit poster's websiteAIM AddressYahoo Messenger
ravernews
Premium
Premium


Joined: Jan 26, 2003
Posts: 230

Location: USA

PostPosted: Fri Mar 07, 2003 2:20 pm Reply with quoteBack to top

any ideas? YOu guys have a fix for it?

_________________
I am new at this, give me time.


PHPNUKE = Less Code
NukeCops = More power
PhpNuke + NukeCops = "less code more power"
Find all posts by ravernewsView user's profileSend private messageVisit poster's websiteAIM AddressYahoo Messenger
ravernews
Premium
Premium


Joined: Jan 26, 2003
Posts: 230

Location: USA

PostPosted: Fri Mar 07, 2003 2:59 pm Reply with quoteBack to top

do I need to add something to the sql database?

_________________
I am new at this, give me time.


PHPNUKE = Less Code
NukeCops = More power
PhpNuke + NukeCops = "less code more power"
Find all posts by ravernewsView user's profileSend private messageVisit poster's websiteAIM AddressYahoo Messenger
ravernews
Premium
Premium


Joined: Jan 26, 2003
Posts: 230

Location: USA

PostPosted: Fri Mar 07, 2003 3:10 pm Reply with quoteBack to top

Code:
 if ( $delete_sql != '' )
                        {
                                $sql = "DELETE FROM " . AUTH_ACCESS_TABLE . "
                                        WHERE group_id = $group_id
                                                AND forum_id IN ($delete_sql)";
                                if( !($result = $db->sql_query($sql)) )
                                {
                                        message_die(GENERAL_ERROR, "Couldn't delete permission entries", "", __LINE__, __FILE__, $sql);
                                }
                        }


I dont know if I am reading this right but if I am the AUTH_ACCESS_TABLE should that be auth_access ? because that is how its in the sql database?

_________________
I am new at this, give me time.


PHPNUKE = Less Code
NukeCops = More power
PhpNuke + NukeCops = "less code more power"
Find all posts by ravernewsView user's profileSend private messageVisit poster's websiteAIM AddressYahoo Messenger
ravernews
Premium
Premium


Joined: Jan 26, 2003
Posts: 230

Location: USA

PostPosted: Fri Mar 07, 2003 3:36 pm Reply with quoteBack to top

and
Code:
Couldn't delete auth access info

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax near 'AND auth_mod = 0' at line 3

DELETE FROM nuke_bbauth_access WHERE group_id = AND auth_mod = 0

_________________
I am new at this, give me time.


PHPNUKE = Less Code
NukeCops = More power
PhpNuke + NukeCops = "less code more power"
Find all posts by ravernewsView user's profileSend private messageVisit poster's websiteAIM AddressYahoo Messenger
sixonetonoffun
Major
Major


Joined: Jan 13, 2003
Posts: 892


PostPosted: Fri Mar 07, 2003 4:01 pm Reply with quoteBack to top

Are you using the port from here? I just went and tried on my site and had no trouble changing permissions back and forth accessing ect.... on existing and new forums. Not much help but wanted ya to know your not being ignored. Maybe when one of the others pops on they will have some ideas to help you out.

_________________
www.netflake.com
www.glowoptics.com
Find all posts by sixonetonoffunView user's profileSend private message
ravernews
Premium
Premium


Joined: Jan 26, 2003
Posts: 230

Location: USA

PostPosted: Fri Mar 07, 2003 4:03 pm Reply with quoteBack to top

yeah I am using this port from here.

_________________
I am new at this, give me time.


PHPNUKE = Less Code
NukeCops = More power
PhpNuke + NukeCops = "less code more power"
Find all posts by ravernewsView user's profileSend private messageVisit poster's websiteAIM AddressYahoo Messenger
ravernews
Premium
Premium


Joined: Jan 26, 2003
Posts: 230

Location: USA

PostPosted: Fri Mar 07, 2003 4:08 pm Reply with quoteBack to top

Do you have to it in order or something?

It shows me as a moderator. But nobody else I try to add. I get that error everytime.

_________________
I am new at this, give me time.


PHPNUKE = Less Code
NukeCops = More power
PhpNuke + NukeCops = "less code more power"
Find all posts by ravernewsView user's profileSend private messageVisit poster's websiteAIM AddressYahoo Messenger
ravernews
Premium
Premium


Joined: Jan 26, 2003
Posts: 230

Location: USA

PostPosted: Fri Mar 07, 2003 4:37 pm Reply with quoteBack to top

This is what I figured out.

I couldnt add users to be moderators or the forums.
I had them in a moderator group. Then I tried to go to user permission and add them as a moderator as well.

It wasnt working and I got that same error. I had to delete the groups and just add them to the selected forums to moderate

_________________
I am new at this, give me time.


PHPNUKE = Less Code
NukeCops = More power
PhpNuke + NukeCops = "less code more power"
Find all posts by ravernewsView user's profileSend private messageVisit poster's websiteAIM AddressYahoo Messenger
sixonetonoffun
Major
Major


Joined: Jan 13, 2003
Posts: 892


PostPosted: Fri Mar 07, 2003 5:13 pm Reply with quoteBack to top

Ok now I understand better at least what you are trying to do. I thought you meant change the forums permissions/access levels. I only have one group and thats a special one without any extra permissions. I'll see how it goes to make a user a mod see if I can duplicate your problem.

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



Joined: Jan 31, 2004
Posts: -88


PostPosted: Fri Mar 07, 2003 6:15 pm Reply with quoteBack to top

the groups themselves work fine cause I run the port on my site and I've got a couple of private forums that are available only to those groups.

AI
Find all posts by ArtificialIntelView user's profileSend private message
eleos111
Nuke Soldier
Nuke Soldier


Joined: Feb 03, 2003
Posts: 28

Location: Greece

PostPosted: Tue Apr 15, 2003 4:28 am Reply with quoteBack to top

Hi.
I have got same error when I tried to make a user moderator.
Problem were ONLY with this user. I did make others without any problem.
The error I got is:
General Error
Couldn't delete auth access info

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax near 'AND auth_mod = 0' at line 3

DELETE FROM nuke_bbauth_access WHERE group_id = AND auth_mod = 0

Line : 175
File : xxxxxxxxxx/kraksimo.com/modules/Forums/admin/admin_ug_auth.php


any ideas?
thanks in advance...
Find all posts by eleos111View user's profileSend private message
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Tue Apr 15, 2003 7:49 am Reply with quoteBack to top

File: admin_ug_auth.php

Change all instances of:

Code:
WHERE group_id = $group_id

to:
Code:
WHERE group_id = '$group_id'

_________________
Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources
Find all posts by chatservView user's profileSend private messageVisit poster's website
eleos111
Nuke Soldier
Nuke Soldier


Joined: Feb 03, 2003
Posts: 28

Location: Greece

PostPosted: Tue Apr 15, 2003 9:13 am Reply with quoteBack to top

chatserv wrote:
File: admin_ug_auth.php

Change all instances of:

Code:
WHERE group_id = $group_id

to:
Code:
WHERE group_id = '$group_id'


Hi.
Thanks for the quick reply.
I did that but I got another error in the same case:

Couldn't update auth access

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax near '' at line 3

UPDATE nuke_bbauth_access SET auth_view = 0, auth_read = 0, auth_post = 0, auth_reply = 0, auth_edit = 0, auth_delete = 0, auth_sticky = 0, auth_announce = 0 WHERE group_id =

Line : 187
File : ......../modules/Forums/admin/admin_ug_auth.php
thanks...
Find all posts by eleos111View 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.216 Seconds - 301 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::