Rucola Senior MemberBug Finder Offline Posts: 286 Location: Country Children Song Joined: Aug 9th, 2017 Gender: Mood: Adventurous Zodiac sign: User Profile Admin Edit Bug... Dec 10th, 2017 at 3:04pm Mark & QuoteQuote Обнаружена Ошибка! Use of uninitialized value in string eq at ./Sources/Profile.pm line 2595. IP Logged
Rucola Senior MemberBug Finder Offline Posts: 286 Location: Country Children Song Joined: Aug 9th, 2017 Gender: Mood: Adventurous Zodiac sign: Re: Banned User Profile Edit Bug Reply #1 - Dec 10th, 2017 at 3:10pm Mark & QuoteQuote bug when trying to edit Admin profile member-pops up the above error-not only for banned and when the Admin tries to edit the profile of the participant-the other tabs work correctly IP Logged
Dandello Forum AdministratorYaBB Modder Offline I love YaBB 2.7! Posts: 2234 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: User Profile Admin Edit Bug... Reply #2 - Dec 10th, 2017 at 5:25pm Mark & QuoteQuote In Profile.pm find both instances of Code (Perl)if ( $av_gr eq ${ $uid . $user }{'position'} ) { and replace with Code (Perl)if ( ${ $uid . $user }{'position'} && $av_gr eq ${ $uid . $user }{'position'} ) { 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: User Profile Admin Edit Bug... Reply #3 - Dec 10th, 2017 at 6:05pm Mark & QuoteQuote Обнаружена Ошибка! Use of uninitialized value in split at ./Sources/Profile.pm line 2599 IP Logged
Rucola Senior Member Offline Posts: 286 Location: Country Children Song Joined: Aug 9th, 2017 Gender: Mood: Adventurous Zodiac sign: Re: User Profile Admin Edit Bug... Reply #4 - Dec 10th, 2017 at 6:13pm Mark & QuoteQuote sub edit_avatar { if ( $allowpics && $upload_useravatar && $upload_avatargroup ) { $upload_useravatar = 0; foreach my $av_gr ( split /,\s/xsm, $upload_avatargroup ) { if ( ${ $uid . $user }{'position'} && $av_gr eq ${ $uid . $user }{'position'} ) { $upload_useravatar = 1; last; } for ( split /,/xsm, ${ $uid . $user }{'addgroups'} ) { if ( $av_gr eq $_ ) { $upload_useravatar = 1; last; } } } } « Last Edit: Dec 10th, 2017 at 7:25pm by Rucola » profile.zip ( 30 KB | 148 Downloads ) IP Logged
Dandello Forum AdministratorYaBB Modder Offline I love YaBB 2.7! Posts: 2234 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: User Profile Admin Edit Bug... Reply #5 - Dec 10th, 2017 at 8:08pm Mark & QuoteQuote Code (Perl) for ( split /,/xsm, ${ $uid . $user }{'addgroups'} || q{} ) { It's in 2 places 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: User Profile Admin Edit Bug... Reply #6 - Dec 10th, 2017 at 8:28pm Mark & QuoteQuote Обнаружена Ошибка! Use of uninitialized value in string eq at ./Sources/Profile.pm line 3046. thank you you can go, but after editing does not allow to save now if ( $av_gr eq ${ $uid . $user }{'position'} ) { IP Logged
Rucola Senior Member Offline Posts: 286 Location: Country Children Song Joined: Aug 9th, 2017 Gender: Mood: Adventurous Zodiac sign: Re: User Profile Admin Edit Bug... Reply #7 - Dec 10th, 2017 at 8:35pm Mark & QuoteQuote if ( $av_gr eq ${ $uid . $user }{'position'} || q{} ) { correct? IP Logged
Dandello Forum AdministratorYaBB Modder Offline I love YaBB 2.7! Posts: 2234 Location: The Land of YaBB Joined: Feb 12th, 2014 Gender: Mood: Annoyed Zodiac sign: Re: User Profile Admin Edit Bug... Reply #8 - Dec 10th, 2017 at 8:43pm Mark & QuoteQuote No. Code (Perl)if ( ${ $uid . $user }{'position'} && $av_gr eq ${ $uid . $user }{'position'} ) { and Code (Perl)for ( split /,/xsm, ${ $uid . $user }{'addgroups'} || q{} ) { BTW - the list of groups that can upload avatars is for the groups that can HAVE uploaded avatars. 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: User Profile Admin Edit Bug... Reply #9 - Dec 10th, 2017 at 8:59pm Mark & QuoteQuote Обнаружена Ошибка! Use of uninitialized value in split at ./Sources/Profile.pm line 3050 IP Logged
Rucola Senior Member Offline Posts: 286 Location: Country Children Song Joined: Aug 9th, 2017 Gender: Mood: Adventurous Zodiac sign: Re: User Profile Admin Edit Bug... Reply #10 - Dec 10th, 2017 at 9:06pm Mark & QuoteQuote all worked out-thank you cordially, accidentally found this bug IP Logged