https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19898
--- Comment #3 from Craig <cbut...@gmail.com> --- (In reply to Jonathan Druart from comment #2) > The relevant code of the warning is: > > 1084 my $branches = { map { $_->branchcode => > $_->unblessed } Koha::Libraries->search }; > 1085 if ( $type ne 'opac' and > C4::Context->boolean_preference('AutoLocation') ) { > 1086 > 1087 # we have to check they are coming from the > right ip range > 1088 my $domain = > $branches->{$branchcode}->{'branchip'}; > 1089 $domain =~ s|\.\*||g; > 1090 if ( $ip !~ /^$domain/ ) { > 1091 $loggedin = 0; > 1092 $cookie = $query->cookie( > 1093 -name => 'CGISESSID', > 1094 -value => '', > 1095 -HttpOnly => 1 > 1096 ); > 1097 $info{'wrongip'} = 1; > 1098 } > 1099 } > > > It says that you have AutoLocation turned on and the "branchip" field of the > branches table does not match your IP. It also says that you are using a non > superlibrarian account. > > Could you confirm this? > If the IP does not match, it is expected that you are rejected, but in that > case it should be the same behaviour with other scripts. Hi Jonathan, Thanks for this. I am indeed using a superlibrarian account, so I'm surprised that it is reporting otherwise. I have only one patron in the system, me, and it was initially setup as superlibrarian staff. You are correct about Autolocation, it was turned on. But I have since disabled it. The IP address field in the bramches table is blank. Unfortunately, after turning off Autolocation, restarting Koha, and restarting memcache, the error still persists. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/