Hi.
I'm using the BanIp pluhin, because i got a lot of ip adresses who visit my site, few thousand just last days. So i innstall the BanIp. But then i get this two errors.
Warning: Undefined array key 1 in /customers/6/1/f/abc.net/httpd.www/ph/plugins/BanIP/main.inc.php on line 57 Warning: Undefined array key 2 in /customers/6/1/f/abc.net/httpd.www/ph/plugins/BanIP/main.inc.php on line 57 Warning: Cannot modify header information - headers already sent by (output started at /customers/6/1/f/abc.net/httpd.www/ph/plugins/BanIP/main.inc.php:57) in /customers/6/1/f/abc.net/httpd.www/ph/include/page_header.php on line 99
Since I'm not so good in php, I don't figured out what i need change for fix this. Hope someone can help me.
Thanks
Offline
Hi :-)
use you VPN ?
BanIP version (the last line 57 is empty)
Offline
For now I use my phone as router, and maybe that could cause the issue.?
Offline
Here is the line 57:
$Vip2 = $plage[0].".".$plage[1].".".$plage[2].".*";
Offline
Hi :-)
can you take this file http://piwigo.org/svn/extensions/BanIP/admin.php for test
your error says your not ip adress ?
Offline
I found out the issue, it was because my ip was ipv6, so the script doesen't known the Ip. I changed to ipv4, and now the script runs perfect. So maybe something to edit in the script for the future, because many use ipv6, but then you get the error again.
Thanks :)
Offline