SilverCart Forum

We moderate this Forum and we're here to help. Have you already run a forum search to check if your problem has already been solved?

You can help us helping you by providing detailed error messages, screenshots and logfile entries.

SebastianRamon

Page: 1
Topic Fatal error: Call to undefined function bcsqrt() 5426 Views

Fatal error: Call to undefined function bcsqrt()

29 June 2011 at 11:17am

Attempt to add product to the cart gives:

Fatal error: Call to undefined function bcsqrt() in /usr/home/gour/www/sc/silvercart/code/order/SilvercartShoppingCart.php on line 254

Sincerely,
Gour

Re: Fatal error: Call to undefined function bcsqrt()

29 June 2011 at 11:37am

Hi Gour,
seems like BCMath extension is not installed.

Learn more about it here: http://www.php.net/manual/en/book.bc.php

We did not particularly mention it in the system requirements, because we did not run across a host in the last years who does not have it installed / activated.

We will change our requirements documentation accordingly.

Cheers
Ramon

Re: Fatal error: Call to undefined function bcsqrt()

29 June 2011 at 11:55am

seems like BCMath extension is not installed.

Indeed...I thought it's part of 'standard' PHP.

We did not particularly mention it in the system requirements, because we did not run across a host in the last years who does not have it installed / activated.

Heh...as you can see, it's not installed on my localhost desktop machine and it might not be for people running their own VPS.

We will change our requirements documentation accordingly.

Thank you.