Add Poll
 
Options: Text Color Split Pie
 
 
 
 
 
 
 
 
Poll Comment:
Max 500 characters. Remaining characters:
days and minutes. Leave it blank if you don't want to set it now.

Please type the characters exactly as they appear in the image,
without the first 2 and last 2 characters.
The characters must be typed in the same order,
and they are case-sensitive.
Open Preview Preview

You can resize the textbox by dragging the right or bottom border.
Off Topic Comment Insert Spoiler
Insert Hyperlink Insert FTP Link Insert Image Insert E-mail Insert Media Insert Table Insert Table Row Insert Table Column Insert Horizontal Rule Insert Teletype Insert Code Insert Quote Edited Superscript Subscript Insert List /me - my name Insert Marquee Insert Timestamp No Parse
Bold Italicized Underline Insert Strikethrough Highlight
                       
Change Text Color
Insert Preformatted Text Left Align Centered Right Align
resize_wb
resize_hb







Max 5000 characters. Remaining characters:
Text size: %
More Smilies
View All Smilies
Collapse additional features Collapse/Expand additional features Smiley Wink Cheesy Grin Angry Sad Shocked Cool Huh Roll Eyes Tongue Embarrassed Lips Sealed Undecided Kiss Cry
Topic Summary - Displaying 15 post(s). Click here to show all
Posted by: Rucola
Posted on: Nov 20th, 2017 at 7:24pm
thank you Hartly-everything works corrected the code Smiley
Posted by: Rucola
Posted on: Nov 20th, 2017 at 7:17pm

correct error

Обнаружена Ошибка! "my" variable $sel_box masks earlier declaration in same scope at ./Admin/ViewMembers.pm line 897
Posted by: Rucola
Posted on: Nov 20th, 2017 at 7:06pm
I did as you requested the error does not disappear Look yourself file can the syntax suffers
Posted by: Rucola
Posted on: Nov 20th, 2017 at 7:05pm
nothing happened
Posted by: Rucola
Posted on: Nov 20th, 2017 at 7:03pm
Неожиданная ошибка :
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.
Posted by: Dandello
Posted on: Nov 20th, 2017 at 6:50pm
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)
Select All
$user =~ s/\x{a0}/ /igxsm; 

to that section.
Code (Perl)
Select All
        {
          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~&nbsp;~;
              }
              else {
                  $addel =
  qq~<input type="checkbox" name="member$numshown" value="$user" class="windowbg" style="border: 0; vertical-align: middle;" />~;
                  $actualnum++;
              }
          }

  



Also find
Code (Perl)
Select All
    my $selbox = q{}; 

and replace it with
Code (Perl)
Select All
    my $sel_box = q{}; 

Posted by: Rucola
Posted on: Nov 20th, 2017 at 6:38pm
       {
              $user =~ s/\xA0/ /gxsm;
              if (
                  $user eq 'admin'
                  || (
                      $iamgmod
                      && ( (  ${ $uid . $user }{'position'} && ${ $uid . $user }{'position'} eq 'Administrator' )
                          || $gmod_access{'deletemultimembers'} ne 'on' )
                  )
                )
              {
                  $addel = q~&nbsp;~;
              }
              else {
                  $addel =
  qq~<input type="checkbox" name="member$numshown" value="$user" class="windowbg" style="border: 0; vertical-align: middle;" />~;
                  $actualnum++;
              }
          }
Posted by: Rucola
Posted on: Nov 20th, 2017 at 6:28pm
video
Posted by: Rucola
Posted on: Nov 20th, 2017 at 5:39pm
attached a file you do not edit-did as told-does not go out
Posted by: Dandello
Posted on: Nov 20th, 2017 at 5:18pm
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)
Select All
             $user eq 'admin' 


as it's in the section that was just edited.

you can try putting
Code (Perl)
Select All
    $user =~ s/\xA0/ /gxsm; 


above that 'if' block.
Posted by: Rucola
Posted on: Nov 20th, 2017 at 4:29pm
Неожиданная ошибка :
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.
Posted by: Dandello
Posted on: Nov 20th, 2017 at 3:41pm
In Admin/ViewMembers.pm find
Code (Perl)
Select All
        if (
             $user eq 'admin'
             || (
                 $iamgmod
                 && ( ${ $uid . $user }{'position'} eq 'Administrator'
                     || $gmod_access{'deletemultimembers'} ne 'on' )
             )
           )
         {
             $addel = q~&nbsp;~;
         }
         else {
             $addel =
 qq~<input type="checkbox" name="member$numshown" value="$user" class="windowbg" style="border: 0; vertical-align: middle;" />~;
             $actualnum++;
         } 



replace with
Code (Perl)
Select All
        {
         no strict qw(refs);
             if (
                 $user eq 'admin'
                 || (
                     $iamgmod
                     && ( (  ${ $uid . $user }{'position'} && ${ $uid . $user }{'position'} eq 'Administrator' )
                         || $gmod_access{'deletemultimembers'} ne 'on' )
                 )
               )
             {
                 $addel = q~&nbsp;~;
             }
             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.
Posted by: Dandello
Posted on: Nov 20th, 2017 at 3:30pm
In Sources/Profile.pm find (around line 171)
Code (Perl)
Select All
        || ( $iamgmod && ${ $uid . $user }{'position'} eq 'Administrator' ) 



and replace with
Code (Perl)
Select All
        || ( $iamgmod && ${ $uid . $user }{'position'} && ${ $uid . $user }{'position'} eq 'Administrator' ) 



find (around line 3137 )
Code (Perl)
Select All
            || (   $iamgmod
                 && $allow_gmod_profile
                 && ${ $uid . $user }{'position'} ne 'Administrator' )
           ) 


replace with
Code (Perl)
Select All
            || (   $iamgmod
                 && $allow_gmod_profile
                 && ( !${ $uid . $user }{'position'} || ${ $uid . $user }{'position'} ne 'Administrator' ) )
           ) 

Posted by: Rucola
Posted on: Nov 20th, 2017 at 3:23pm
Неожиданная ошибка :
Can't use string ("381leskov") as a HASH ref while "strict refs" in use at ./Admin/ViewMembers.pm line 555.
Posted by: Rucola
Posted on: Nov 20th, 2017 at 3:15pm
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