context_title
context_text
Topic Summary - Displaying all post(s). Click here to show the reduced amount
Posted by: Rucola Posted on: Nov 20th , 2017 at 7:24pm
thank you Hartly-everything works corrected the code
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 20
th , 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
$user =~ s/\x{a0}/ /igxsm;
to that section.
{
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
my $selbox = q{};
and replace it with
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~ ~; } 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
$user eq 'admin'
as it's in the section that was just edited.
you can try putting
$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
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
{
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.
Posted by: Dandello Posted on: Nov 20th , 2017 at 3:30pm
In Sources/Profile.pm find (around line 171)
|| ( $iamgmod && ${ $uid . $user }{'position'} eq 'Administrator' )
and replace with
|| ( $iamgmod && ${ $uid . $user }{'position'} && ${ $uid . $user }{'position'} eq 'Administrator' )
find (around line 3137 )
|| ( $iamgmod
&& $allow_gmod_profile
&& ${ $uid . $user }{'position'} ne 'Administrator' )
)
replace with
|| ( $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
Posted by: Rucola Posted on: Nov 20th , 2017 at 3:11pm
thanks, worked
Posted by: Dandello Posted on: Nov 20th , 2017 at 2:52pm
Rucola wrote on Nov 20
th , 2017 at 2:10pm:
my $showadmin = q{}; if ( $iamadmin || ( $iamgmod && $allow_gmod_profile && $gmod_access2{'profileAdmin'} ) ) { $showadmin = $myprofile_showadmin; $showadmin =~ s/Q{yabb menucolor5}E/$menucolors[5]/xsm; $showadmin =~ s/Q{yabb aduser}E/$useraccount{$user}/xsm; $showadmin =~ s/Q{yabb profile_txt820}E/$profile_txt{'820'}/xsm; $showadmin =~ s/Q{yabb sid}E/$INFO{'sid'}/gxsm; } CORRECT?
Correct.
In Admin/AdminEdit.pm find
if ( $FORM{'allow_gmod_aprofile'} ) {
$seepmattach =
qq~managepmattachments => '$FORM{'managepmattachments'}',~;
$emailbackup = qq~emailbackup => '$FORM{'emailbackup'}',~;
}
if ( $FORM{'allow_gmod_aprofile'}
|| ( $FORM{'allow_gmod_profile'} && $self_del_user ) )
{
$deletemulti = qq~deletemultimembers => '$FORM{'deletemultimembers'}',~;
}
and replace with:
if ( $FORM{'allow_gmod_aprofile'} ) {
$FORM{'managepmattachments'} ||= q{};
$FORM{'emailbackup'} ||= q{};
$seepmattach =
qq~managepmattachments => '$FORM{'managepmattachments'}',~;
$emailbackup = qq~emailbackup => '$FORM{'emailbackup'}',~;
}
if ( $FORM{'allow_gmod_aprofile'}
|| ( $FORM{'allow_gmod_profile'} && $self_del_user ) )
{
$FORM{'deletemultimembers'} ||= q{};
$deletemulti = qq~deletemultimembers => '$FORM{'deletemultimembers'}',~;
}
I need to double check some things - this section may have to be completely refactored.
Posted by: Rucola Posted on: Nov 20th , 2017 at 2:50pm
basically version 1848 can not correctly update to version 1927 when downloading files to the FTP distorted the forum's forum page and admin panel ftp you provided I ask help with the update, I can not every time put a new version and start building a new forum
Posted by: Rucola Posted on: Nov 20th , 2017 at 2:36pm
Обнаружена Ошибка! Use of uninitialized value $FORM{"managepmattachments"} in concatenation (.) or string at ./Admin/AdminEdit.pm line 663. thank you error with the reagent disappeared, I try to give access to the Coordinator to the Special Fields of the profile-jumps out this
Posted by: Rucola Posted on: Nov 20th , 2017 at 2:10pm
my $showadmin = q{}; if ( $iamadmin || ( $iamgmod && $allow_gmod_profile && $gmod_access2{'profileAdmin'} ) ) { $showadmin = $myprofile_showadmin; $showadmin =~ s/\Q{yabb menucolor5}\E/$menucolors[5]/xsm; $showadmin =~ s/\Q{yabb aduser}\E/$useraccount{$user}/xsm; $showadmin =~ s/\Q{yabb profile_txt820}\E/$profile_txt{'820'}/xsm; $showadmin =~ s/\Q{yabb sid}\E/$INFO{'sid'}/gxsm; } CORRECT?
Posted by: Dandello Posted on: Nov 20th , 2017 at 1:32pm
Please post what the Revision number is on these files.
The problem in Profile.pm: find
if (
$iamadmin
|| ( $iamgmod
&& $allow_gmod_profile
&& $gmod_access2{'profileAdmin'} )
)
{
$showadmin = $myprofile_showadmin;
Add before
my $showadmin = q{};
In Admin/ViewMembers.pm find
if ( $iamadmin
|| ( $iamgmod && $gmod_access{'deletemultimembers'} eq 'on' ) )
and replace with
|| ( $iamgmod && $gmod_access{'deletemultimembers'} && $gmod_access{'deletemultimembers'} eq 'on' ) )
Posted by: Rucola Posted on: Nov 20th , 2017 at 11:00am
Обнаружена Ошибка! Use of uninitialized value $gmod_access{"deletemultimembers"} in string eq at ./Admin/ViewMembers.pm line 895. after fixing the problem with viewing and deleting in the admin panel, the Coordinator jumped out a new error Неожиданная ошибка : Can't use string ("676leskov") as a HASH ref while "strict refs" in use at ./Admin/ViewMembers.pm line 555.
Forum Jump »
Board Index
» 10 most recent Posts
» 10 most recent Topics
News and Updates
YaBB News
General Category
General Board
Test Zone
- Test Sub
- Test sub 2
Showcase
Archived Development Forums
- http://www.yabb26.yabbforumsoftware.com/
YaBB Development
HTML5 and CSS
SQL - yes, we're heading there
New Features
Documentation
On the Road to 2.7
Lounge
Talk it Up
The Comedy Club
Support
Security Announcements
YaBB 2.6.0 and 2.6.1 Support
Other Places
- http://www.yabbforum.com/
- https://www.facebook.com/YaBBForum/
- http://yabbmain.yabbforumsoftware.com/cgi-bin/community/YaBB.pl
Converting to other software
Mod Spot
Mods Wanted (Old Mods)
Mods Wanted (New Mods)
2.6.1 Mods
2.6.0 Mods
- http://www.xonder.com/cgi-bin/yabb26/YaBB.pl
- http://boardmod.de
- http://www.boardmod.org/cgi-bin/forum/YaBB.pl
- http://boardmod26.yabbforumsoftware.com/cgi-bin/yabb2/YaBB.pl
2.5.2 Mods
2.7.00 Mods
- http://yabbforumsoftware.com/cgi-bin/modlang/modlang.pl
Templates for 2.7
Helps
YaBB Administration
Language Packs (2.6)
- Suomi
- Русский
- Deutsch
Language Packs (2.7)
http://yabbforumsoftware.com/cgi-bin/langfix/complang.pl
Bug Zone
YaBB Bugs
YaBB 2.7 Issues ««