SQL error in admin_ug_auth when trying to set moderators
Posted: Thu Jan 06, 2005 12:22 pm
Hi, hopefully someone can help me with this problem.
I'm getting the following error message when trying to set up moderators on my board:
It seems to me that the problem is that the " 1" being inserted into auth_mod has a blank space in front of it. I can't work out what part of the code I need to change to fix that though...
Am I barking up the right tree?
Here's the code from my admin_ug_auth.php, if that helps.
http://www.titaniumarchives.com/admin_ug_auth.txt
Thanks
I'm getting the following error message when trying to set up moderators on my board:
Couldn't update private forum permissions
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 ' 1)' at line 2
INSERT INTO phpbb_auth_access (forum_id, group_id, auth_mod) VALUES (11, , 1)
Line : 390
File : /home/httpd/vhosts/titaniumarchives.com/httpdocs/board/admin/admin_ug_auth.php
It seems to me that the problem is that the " 1" being inserted into auth_mod has a blank space in front of it. I can't work out what part of the code I need to change to fix that though...
Am I barking up the right tree?
Here's the code from my admin_ug_auth.php, if that helps.
http://www.titaniumarchives.com/admin_ug_auth.txt
Thanks