Rucola Senior MemberBug Finder Offline Posts: 286 Location: Country Children Song Joined: Aug 9th, 2017 Gender: Mood: Adventurous Zodiac sign: Re: add\delete user AdminPanel Reply #21 - Nov 20th, 2017 at 7:24pm Mark & QuoteQuote thank you Hartly-everything works corrected the code IP Logged
Rucola Senior MemberBug Finder Offline Posts: 286 Location: Country Children Song Joined: Aug 9th, 2017 Gender: Mood: Adventurous Zodiac sign: Re: add\delete user AdminPanel Reply #20 - Nov 20th, 2017 at 7:17pm Mark & QuoteQuote correct error Обнаружена Ошибка! "my" variable $sel_box masks earlier declaration in same scope at ./Admin/ViewMembers.pm line 897 IP Logged
Rucola Senior MemberBug Finder Offline Posts: 286 Location: Country Children Song Joined: Aug 9th, 2017 Gender: Mood: Adventurous Zodiac sign: Re: add\delete user AdminPanel Reply #19 - Nov 20th, 2017 at 7:06pm Mark & QuoteQuote I did as you requested the error does not disappear Look yourself file can the syntax suffers IP Logged
Rucola Senior MemberBug Finder Offline Posts: 286 Location: Country Children Song Joined: Aug 9th, 2017 Gender: Mood: Adventurous Zodiac sign: Re: add\delete user AdminPanel Reply #18 - Nov 20th, 2017 at 7:05pm Mark & QuoteQuote nothing happened viewmembers_001.zip ( 8 KB | 246 Downloads ) IP Logged
Rucola Senior MemberBug Finder Offline Posts: 286 Location: Country Children Song Joined: Aug 9th, 2017 Gender: Mood: Adventurous Zodiac sign: Re: add\delete user AdminPanel Reply #17 - Nov 20th, 2017 at 7:03pm Mark & QuoteQuote Неожиданная ошибка : Unrecognized character \x{a0}; marked by <-- HERE after <-- HERE near column 2 at ./Admin/ViewMembers.pm line 556. Compilation failed in require at /home/host1609329/ablackhole.ru/htdocs/forum/cgi-bin/yabb2/AdminIndex.pl line 183. IP Logged
Dandello Forum AdministratorYaBB Modder Offline I love YaBB 2.7! Posts: 2270 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: add\delete user AdminPanel Reply #16 - Nov 20th, 2017 at 6:50pm Mark & QuoteQuote Rucola wrote on Nov 20th, 2017 at 5:39pm:attached a file you do not edit-did as told-does not go out I'm assuming this means the suggested fix did not work. What I know: '\xA0' is not an allowed character. This is not an error I can duplicate. I am not doubting you've gotten this error. I simply cannot reproduce it. You can try adding Code (Perl)$user =~ s/\x{a0}/ /igxsm; to that section. Code (Perl) { no strict qw(refs); $user =~ s/\x{a0}/ /igxsm; if ( $user eq 'admin' || ( $iamgmod && ( ( ${ $uid . $user }{'position'} && ${ $uid . $user }{'position'} eq 'Administrator' ) || $gmod_access{'deletemultimembers'} ne 'on' ) ) ) { $addel = q~ ~; } else { $addel = qq~<input type="checkbox" name="member$numshown" value="$user" class="windowbg" style="border: 0; vertical-align: middle;" />~; $actualnum++; } } Also find Code (Perl) my $selbox = q{}; and replace it with Code (Perl) my $sel_box = q{}; Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
Rucola Senior Member Offline Posts: 286 Location: Country Children Song Joined: Aug 9th, 2017 Gender: Mood: Adventurous Zodiac sign: Re: add\delete user AdminPanel Reply #15 - Nov 20th, 2017 at 6:38pm Mark & QuoteQuote { $user =~ s/\xA0/ /gxsm; if ( $user eq 'admin' || ( $iamgmod && ( ( ${ $uid . $user }{'position'} && ${ $uid . $user }{'position'} eq 'Administrator' ) || $gmod_access{'deletemultimembers'} ne 'on' ) ) ) { $addel = q~ ~; } else { $addel = qq~<input type="checkbox" name="member$numshown" value="$user" class="windowbg" style="border: 0; vertical-align: middle;" />~; $actualnum++; } } IP Logged
Rucola Senior Member Offline Posts: 286 Location: Country Children Song Joined: Aug 9th, 2017 Gender: Mood: Adventurous Zodiac sign: Re: add\delete user AdminPanel Reply #14 - Nov 20th, 2017 at 6:28pm Mark & QuoteQuote video video_2017-11-20_212549.zip ( 1203 KB | 228 Downloads ) IP Logged
Rucola Senior Member Offline Posts: 286 Location: Country Children Song Joined: Aug 9th, 2017 Gender: Mood: Adventurous Zodiac sign: Re: add\delete user AdminPanel Reply #13 - Nov 20th, 2017 at 5:39pm Mark & QuoteQuote attached a file you do not edit-did as told-does not go out IP Logged
Dandello Forum AdministratorYaBB Modder Offline I love YaBB 2.7! Posts: 2270 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: add\delete user AdminPanel Reply #12 - Nov 20th, 2017 at 5:18pm Mark & QuoteQuote That error tells me there is a non-ASCII and/or invalid character in a user ID. Line 556 in ViewMembers.pm should be Code (Perl) $user eq 'admin' as it's in the section that was just edited. you can try putting Code (Perl) $user =~ s/\xA0/ /gxsm; above that 'if' block. Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
Rucola Senior Member Offline Posts: 286 Location: Country Children Song Joined: Aug 9th, 2017 Gender: Mood: Adventurous Zodiac sign: Re: add\delete user AdminPanel Reply #11 - Nov 20th, 2017 at 4:29pm Mark & QuoteQuote Неожиданная ошибка : Unrecognized character \x{a0}; marked by <-- HERE after <-- HERE near column 2 at ./Admin/ViewMembers.pm line 556. Compilation failed in require at /home/host1609329/ablackhole.ru/htdocs/forum/cgi-bin/yabb2/AdminIndex.pl line 183. viewmembers.zip ( 8 KB | 279 Downloads ) IP Logged
Dandello Forum AdministratorYaBB Modder Offline I love YaBB 2.7! Posts: 2270 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: add\delete user AdminPanel Reply #10 - Nov 20th, 2017 at 3:41pm Mark & QuoteQuote In Admin/ViewMembers.pm find Code (Perl) if ( $user eq 'admin' || ( $iamgmod && ( ${ $uid . $user }{'position'} eq 'Administrator' || $gmod_access{'deletemultimembers'} ne 'on' ) ) ) { $addel = q~ ~; } else { $addel = qq~<input type="checkbox" name="member$numshown" value="$user" class="windowbg" style="border: 0; vertical-align: middle;" />~; $actualnum++; } replace with Code (Perl) { no strict qw(refs); if ( $user eq 'admin' || ( $iamgmod && ( ( ${ $uid . $user }{'position'} && ${ $uid . $user }{'position'} eq 'Administrator' ) || $gmod_access{'deletemultimembers'} ne 'on' ) ) ) { $addel = q~ ~; } else { $addel = qq~<input type="checkbox" name="member$numshown" value="$user" class="windowbg" style="border: 0; vertical-align: middle;" />~; $actualnum++; } } And please do not edit posts to add more information - I may not see the edits. Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
Dandello Forum AdministratorYaBB Modder Offline I love YaBB 2.7! Posts: 2270 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: add\delete user AdminPanel Reply #9 - Nov 20th, 2017 at 3:30pm Mark & QuoteQuote In Sources/Profile.pm find (around line 171) Code (Perl) || ( $iamgmod && ${ $uid . $user }{'position'} eq 'Administrator' ) and replace with Code (Perl) || ( $iamgmod && ${ $uid . $user }{'position'} && ${ $uid . $user }{'position'} eq 'Administrator' ) find (around line 3137 ) Code (Perl) || ( $iamgmod && $allow_gmod_profile && ${ $uid . $user }{'position'} ne 'Administrator' ) ) replace with Code (Perl) || ( $iamgmod && $allow_gmod_profile && ( !${ $uid . $user }{'position'} || ${ $uid . $user }{'position'} ne 'Administrator' ) ) ) Perfection is not possible. Excellence, however, is excellent. WWW IP Logged
Rucola Senior Member Offline Posts: 286 Location: Country Children Song Joined: Aug 9th, 2017 Gender: Mood: Adventurous Zodiac sign: Re: add\delete user AdminPanel Reply #8 - Nov 20th, 2017 at 3:23pm Mark & QuoteQuote Неожиданная ошибка : Can't use string ("381leskov") as a HASH ref while "strict refs" in use at ./Admin/ViewMembers.pm line 555. IP Logged
Rucola Senior Member Offline Posts: 286 Location: Country Children Song Joined: Aug 9th, 2017 Gender: Mood: Adventurous Zodiac sign: Re: add\delete user AdminPanel Reply #7 - Nov 20th, 2017 at 3:15pm Mark & QuoteQuote When the Coordinator tries to edit user rights-An Error has been detected! Use of uninitialized value in string eq at ./Sources/Profile.pm line 171. Обнаружена Ошибка! Use of uninitialized value in string ne at ./Sources/Profile.pm line 3137. and such an error when attempting a new approach to the profile in which the previous error occurred by the Coordinator IP Logged