Free Press Release Submission




MB Publishing Webmaster Resource ::
 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin 


Couldn't update private forum permissions

 
Post new topic   Reply to topic    MB Publishing Webmaster Resource Forum Index -> Nuke Modules
View previous topic :: View next topic  
Author Message
Colocation
Site Admin
Site Admin


Joined: Jan 07, 2004
Posts: 412

PostPosted: Thu Aug 12, 2004 8:30 pm    Post subject: Couldn't update private forum permissions Reply with quote

What do you make of this one?

Code:
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 (74, , 1)

Line : 366
File : /usr/www/virtual/widgets/www.widgets.com/modules/Forums/admin/admin_ug_auth.php


Last edited by Colocation on Thu Nov 11, 2004 9:18 am, edited 1 time in total
Back to top
View users profile Send private message Visit posters website Yahoo Messenger
Humpa
Site Admin
Site Admin


Joined: Feb 05, 2004
Posts: 23

PostPosted: Fri Aug 13, 2004 1:14 pm    Post subject: Reply with quote

I'm not very familar with the Forums code. Do you have groups set up?
I ask this because the $group_id variable is empty, and that is throwing an sql error.

From line 366 of that admin_ug_auth.php:
Code:
$sql = "INSERT INTO " . AUTH_ACCESS_TABLE . " (forum_id, group_id, $sql_field)
                                                        VALUES ($forum_id, $group_id, $sql_value)";

... and, the error you get shows this:
Code:

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

The missing value is throwing an error, and the missing value is $group_id.
What does this mean, you ask? ... I'm not sure. lol
Back to top
View users profile Send private message Visit posters website
Display posts from previous:   
Post new topic   Reply to topic    MB Publishing Webmaster Resource Forum Index -> Nuke Modules All times are GMT + 1 Hour
Page 1 of 1

 

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
Home | News Feeds | Release Archive | Web Marketing | Weight Loss | Publish Your Links | Press Release Topics | Free Downloads | Press FAQs | AvantGO | Amazon Store
Webmaster Forums | Search Releases | Press Topics | Feedback | Submit Press Release | Webmaster Surveys | Recommend | Top | Account | PM | Prweb | Free Link Submission | Add Downloads | New Media | Audio School | TOS

The comments are property of their posters, all the rest 2004 - 2008 by MB
Audana Ltd
You can syndicate our news using the file backend.php
Web site engine's code is Copyright © 2003 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.776 Seconds. -