This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785
i have installed most all of the MODs on my 2.0.3 version board. everything seem to run smooth but. i have added some "moderators"in the past but i was trying to add one more and i got an error!First thing i did was go search. i found a few thingts that may help but NO real answer.
--------------------------------------------------------
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 phpbb_auth_access (forum_id, group_id, auth_mod) VALUES (1, , 1)
Line : 385
File : d:\www\stranke\***********.com\forum\admin\admin_ug_auth.php
--------------------------------------------------------------------
I didn't think so. but the first thing i did was replace that file with the original file! please tell me that the error is not telling me the table's are not screwed up.
Well, by reading the error message, it indicates that there is no value for the "group_id". For whatever reason, it's not populating the query with that value , as evidenced by the (1, , 1) portion of the INSERT statement. That's causing a syntax error, and mySQL isn't able to do an insert.
Post a copy of your admin_ug_auth.php file and that should give us more insight as to why that field isn't being populated.
I was stumped by the Delete (personal) Group problem I encountered after I installed Niels' Delete Inactive Users mod (http://mods.db9.dk/viewtopic.php?t=460)
I'm unsure this is related to his mod per se. He requested that we try deleting someone using the regular ACP Members Management form. I got the same problem -- suggesting it is a problem with the underlying database.
Tommy's (dkklein) solution assigns Personal Group IDs to inactive accounts -- then allowing Niels mod to do its thing.