I have moved my server from Lighttpd to Nginx, on my server there are two virtual hosts and one of them is BitShop.
I have this kind of error in my logs:
Code: Select all
[error] 32503#32503: *960325 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function bcscale() in /inc/config.inc.php:103
Stack trace:
#0 /ticker/config.php(3): require_once()
#1 /ticker/market_stats.php(2): require_once('/var/www/...')
#2 //inc/common.inc.php(3): require_once('/var/www/...')
#3 //index.php(7): require_once('/var/www/...')
#4 {main}
thrown in /inc/config.inc.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: blablablabla.onion, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "blablablabla.onion"
//Edit
I thought it's going to be easy by installing bcmath
Code: Select all
sudo apt install php7.0-bcmath
but it looks that script is not ready for php7

Code: Select all
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Math_BigInteger has a deprecated constructor in lib/Crypt/Math/BigInteger.php on line 176
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Crypt_Hash has a deprecated constructor in lib/Crypt/Hash.php on line 82
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Crypt_Base has a deprecated constructor in lib/Crypt/Base.php on line 121
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Crypt_RSA has a deprecated constructor in lib/Crypt/RSA.php on line 273
Please fix this!
Thanks.