in demo page is also ok. I used an raspbetrry PI. With version 1.1.010 and a change in /var/www/html/phpipam/site/ipaddr/ipAddressPrintVisual.php (Added this line:$max = gmp_strval(gmp_and("0xffffffff", (int) $max));) it works
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I wrote about this bug in https://sourceforge.net/p/phpipam/support-requests/187/
First I though that it is database problem. However, then I realized that it happens only with "high" subnet prefixes. I solved this problem by deleting (int) from app/subnets/subnet-visual.php on line 9,10:
Does this also happen in demo page ?
View and moderate all "support-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Support Requests"
in demo page is also ok. I used an raspbetrry PI. With version 1.1.010 and a change in /var/www/html/phpipam/site/ipaddr/ipAddressPrintVisual.php (Added this line:$max = gmp_strval(gmp_and("0xffffffff", (int) $max));) it works
Hi everyone,
I wrote about this bug in https://sourceforge.net/p/phpipam/support-requests/187/
First I though that it is database problem. However, then I realized that it happens only with "high" subnet prefixes. I solved this problem by deleting (int) from app/subnets/subnet-visual.php on line 9,10:
-- $start_visual = gmp_strval(gmp_and("0xffffffff", (int) $Subnets->transform_to_decimal($subnet_detailed['network'])));
-- $stop_visual = gmp_strval(gmp_and("0xffffffff", (int) $Subnets->transform_to_decimal($subnet_detailed['broadcast'])));
++ $start_visual = gmp_strval(gmp_and("0xffffffff", $Subnets->transform_to_decimal($subnet_detailed['network'])));
++ $stop_visual = gmp_strval(gmp_and("0xffffffff", $Subnets->transform_to_decimal($subnet_detailed['broadcast'])));
P.S. I wrote about this solution in previous support request, but it is still awaiting moderation.
Last edit: Orkhan 2016-02-20
View and moderate all "support-requests Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Support Requests"
Hallo,
ist works with the change of Orkhan.
Thanks.