MB Publishing Webmaster Resource ::
View previous topic :: View next topic
Author
Message
Colocation Site Admin Joined: Jan 07, 2004 Posts: 412
Posted: Thu Aug 12, 2004 8:30 pm Post subject: Couldn't update private forum permissions
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
Humpa Site Admin Joined: Feb 05, 2004 Posts: 23
Posted: Fri Aug 13, 2004 1:14 pm Post subject:
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
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