[Database-Error]Membergroups

Started by oasiscritter, April 20, 2008, 10:55:52 AM

Previous topic - Next topic

oasiscritter

hi,

i have SMF 2.0 Beta 3 Public installed.

I cant modify the membergoups (Red-Marked). Only the Administrator, and the moderator (Blue-Marked).


http://bildrian.de/n/b/fcf2e0f18b222e19.jpg

If i want to modify them i get the following error:

http://bildrian.de/n/b/1ed7a702908b3cb8.jpg

thx

oasiscritter

#1
This is the bug report:

908:  'current_group' => $_REQUEST['group'],
909:
910: );
911: $context['group']['moderators'] = array();
912: while ($row = $smcFunc['db_fetch_assoc']($request))
913: $context['group']['moderators'][] = $row['real_name'];
914: $smcFunc['db_free_result']($request);
915:
916: $context['group']['moderator_list'] = empty($context['group']['moderators']) ? '' : '"' . implode('", "', $context['group']['moderators']) . '"';
917:
918: // Get a list of boards this membergroup is allowed to see.
919: $context['boards'] = array();
920: if ($_REQUEST['group'] == 2 || $_REQUEST['group'] > 3)
921: {
922: $result = $smcFunc['db_query']('', '
923: SELECT id_board, name, child_level, FIND_IN_SET({string:current_group}, member_groups) AS can_access
924: FROM {db_prefix}boards',
925: array(
926: 'current_group' => (int) $_REQUEST['group'],
927: )
==>928: );
929: while ($row = $smcFunc['db_fetch_assoc']($result))
930: $context['boards'][] = array(
931: 'id' => $row['id_board'],
932: 'name' => $row['name'],
933: 'child_level' => $row['child_level'],
934: 'selected' => !empty($row['can_access']),
935: );
936: $smcFunc['db_free_result']($result);
937: }
938:
939: // Finally, get all the groups this could be inherited off.
940: $request = $smcFunc['db_query']('', '
941: SELECT id_group, group_name
942: FROM {db_prefix}membergroups
943: WHERE id_group != {int:current_group}' .
944: (empty($modSettings['permission_enable_postgroups']) ? '
945: AND min_posts = {int:min_posts}' : '') . '
946:    AND id_group NOT IN (1, 3)
947: AND id_parent = {int:not_inherited}',
948: array(



Picture:

http://bildrian.de/n/b/58386225aa08f57b.jpg

i need help pls

Rumbaar

I can't seem to get the images you've posted to display.  Can you post the actual errors you get or host them elsewhere.  More info, as I'm not 100% sure what you are after.
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

Advertisement: