Rucola Senior MemberBug Finder Offline Posts: 286 Location: Country Children Song Joined: Aug 9th, 2017 Gender: Mood: Adventurous Zodiac sign: again the admin can not configure the forum users Dec 17th, 2017 at 3:54am Mark & QuoteQuote Обнаружена Ошибка! Use of uninitialized value in substitution iterator at ./Sources/Profile.pm line 798. IP Logged
Rucola Senior MemberBug Finder Offline Posts: 286 Location: Country Children Song Joined: Aug 9th, 2017 Gender: Mood: Adventurous Zodiac sign: Re: again the admin can not configure the forum users Reply #1 - Dec 17th, 2017 at 5:47am Mark & QuoteQuote video noeditprofileadmin.zip ( 2791 KB | 198 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: again the admin can not configure the forum users Reply #2 - Dec 17th, 2017 at 5:47am Mark & QuoteQuote This is no doubt the same date-time issue as before. In Admin/Settings_Main.pm find Code (Perl)if ( eval { require DateTime; require DateTime::TimeZone; } ) { DateTime->import(); DateTime::TimeZone->import(); load_language('Countries'); and replace with Code (Perl)if ( eval { require DateTime; require DateTime::TimeZone; require Locale::Country; } ) { DateTime->import(); DateTime::TimeZone->import(); Locale::Country->import(); %countrytime_txt = (); my @newmycntry = DateTime::TimeZone->countries(); foreach my $country_code (@newmycntry) { my @local = DateTime::TimeZone->names_in_country($country_code); my $country = code2country($country_code) || uc $country_code; if ( $country eq 'UK' ) { $country = 'Great Britain'; } foreach my $i (@local) { if ( $i =~ /\//xsm ) { my @clist = split /\//xsm, $i; my $counttime = $clist[1]; if ( $clist[2] ) { $counttime = qq~$clist[1], $clist[2]~; } $counttime =~ s/_/ /gxsm; $countrytime_txt{$i} = qq~$country - $counttime~; next; } } } In Profiles.pm find Code (Perl) if ( eval { require DateTime; require DateTime::TimeZone; } ) { DateTime->import(); DateTime::TimeZone->import(); load_language('Countries'); my $mytz = ${ $uid . $user }{'user_tz'} || $default_tz; and replace with Code (Perl) if ( eval { require DateTime; require DateTime::TimeZone; require Locale::Country; } ) { DateTime->import(); DateTime::TimeZone->import(); Locale::Country->import(); my $mytz = ${ $uid . $user }{'user_tz'} || $default_tz; %countrytime_txt = (); my @newmycntry = DateTime::TimeZone->countries(); foreach my $country_code (@newmycntry) { my @local = DateTime::TimeZone->names_in_country($country_code); my $country = code2country($country_code) || uc $country_code; if ( $country eq 'UK' ) { $country = 'Great Britain'; } foreach my $i (@local) { if ( $i =~ /\//xsm ) { my @clist = split /\//xsm, $i; my $counttime = $clist[1]; if ( $clist[2] ) { $counttime = qq~$clist[1], $clist[2]~; } $counttime =~ s/_/ /gxsm; $countrytime_txt{$i} = qq~$country - $counttime~; next; } } } 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: again the admin can not configure the forum users Reply #3 - Dec 17th, 2017 at 6:35am Mark & QuoteQuote not worked Обнаружена Ошибка! Use of uninitialized value in substitution iterator at ./Sources/Profile.pm line 819. IP Logged
Rucola Senior Member Offline Posts: 286 Location: Country Children Song Joined: Aug 9th, 2017 Gender: Mood: Adventurous Zodiac sign: Re: again the admin can not configure the forum users Reply #4 - Dec 17th, 2017 at 6:54am Mark & QuoteQuote corrections did not help, I explain the essence of the error and the problem is the fact that this behavior and such a reaction only to the nickname I pulled from the permanent ban-with the rest all right 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: again the admin can not configure the forum users Reply #5 - Dec 17th, 2017 at 2:22pm Mark & QuoteQuote I cannot reproduce the issue on a different forum even with a banned member although I am still looking into it. I made an edit to your Profile.pm - please see if that solves the problem. But I suspect the problem is with that member's vars file. 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: again the admin can not configure the forum users Reply #6 - Dec 17th, 2017 at 4:31pm Mark & QuoteQuote works, there may be a problem with the permanent ban as it affects this-remember I had a problem that was banned forever for login-banilas for the period from January 1, 1970 to the expiry date in a year from the bizarre-we corrected, but maybe this affects how this situation? 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: again the admin can not configure the forum users Reply #7 - Dec 17th, 2017 at 5:22pm Mark & QuoteQuote Possible - could you zip up a copy of that vars file and PM it to me? (I can't find a banilas.vars in your Members folder and without looking at that file you're asking me to blindly guess the cause of the problem.) Perfection is not possible. Excellence, however, is excellent. WWW IP Logged