Fatal error: Call to undefined function: bccomp() in /home/httpd/vhosts/default/htdocs/civicspace-0.8.1.3/modules/location/location.module on line 398

Latest location module from today. I was able to create a node and see it directly after, but upon returning to it get the above error. Advice on bug hunting appreciated. What is the bccomp() function?

Comments

ankur’s picture

Status: Active » Closed (duplicate)

This is the same issue as the one posted here: http://drupal.org/node/29696

Basically, bccomp() is a part of the bcmath library which doesn't come bundled with PHP out-of-the-box for most distributions. This means that we have to write our own function for comparing floating point numbers.

-Ankur