"Fatal error: Call to undefined function session_status()" on FreeBCD 10.1 (as well as FreeBSD 8.4, 9.3, 10.2) when Activate WP eCommerce
When activate the plugin WP eCommerce on FreeBCD appears:
How to fix it on FreeBSD?
-----------------------------------------------
It does not appear on Ubuntu.
Both Ubuntu and FreeBCD in VirtualBox: WP eCommerce Version 3.11.2 in WordPress version 4.4.2.
FreeBSD: 10.1-RELEASE #0 r274401: Tue Nov 11 22:51:51 UTC 2014 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386 (here FreeBSD-10.1-RELEASE-i386.vmdk.xz )
Nginx version: nginx/1.8.1
built with OpenSSL 1.0.1l-freebsd 15 Jan 2015 (running with OpenSSL 1.0.1j-freebsd 15 Oct 2014)
MySQL version() 5.6.27
PHP Version 5.6.18
Build Date Feb 11 2016 01:16:57. Server API FPM/FastCGI. PHP API 20131106 PHP. Extension 20131226. Zend Extension 220131226. Zend Extension Build API220131226,NTS. PHP Extension Build API20131226,NTS.
Ubuntu: Linux 3.13.0-48-generic #80-Ubuntu SMP Thu Mar 12 11:16:18 UTC 2015 i686
Build Date Oct 28 2015 01:34:09 (here ubuntu-14.04.2-server-i386.iso)
Nginx version: nginx/1.4.6 (Ubuntu)
MySQL version() 5.5.47-0ubuntu0.14.04.1
PHP Version 5.5.9-1ubuntu4.14. Server API FPM/FastCGI. PHP API 20121113. PHP Extension 20121212. Zend Extension 220121212. Zend Extension Build API220121212,NTS. PHP Extension Build API20121212,NTS.
When activate the plugin WP eCommerce on FreeBCD appears:
Code:
Plugin could not be activated because it triggered a fatal error.
Fatal error: Call to undefined function session_status() in /usr/local/www/wordpress/wp-content/plugins/wp-e-commerce/wpsc-core/wpsc-constants.php on line 18
-----------------------------------------------
It does not appear on Ubuntu.
Both Ubuntu and FreeBCD in VirtualBox: WP eCommerce Version 3.11.2 in WordPress version 4.4.2.
FreeBSD: 10.1-RELEASE #0 r274401: Tue Nov 11 22:51:51 UTC 2014 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386 (here FreeBSD-10.1-RELEASE-i386.vmdk.xz )
Nginx version: nginx/1.8.1
built with OpenSSL 1.0.1l-freebsd 15 Jan 2015 (running with OpenSSL 1.0.1j-freebsd 15 Oct 2014)
MySQL version() 5.6.27
PHP Version 5.6.18
Build Date Feb 11 2016 01:16:57. Server API FPM/FastCGI. PHP API 20131106 PHP. Extension 20131226. Zend Extension 220131226. Zend Extension Build API220131226,NTS. PHP Extension Build API20131226,NTS.
Ubuntu: Linux 3.13.0-48-generic #80-Ubuntu SMP Thu Mar 12 11:16:18 UTC 2015 i686
Build Date Oct 28 2015 01:34:09 (here ubuntu-14.04.2-server-i386.iso)
Nginx version: nginx/1.4.6 (Ubuntu)
MySQL version() 5.5.47-0ubuntu0.14.04.1
PHP Version 5.5.9-1ubuntu4.14. Server API FPM/FastCGI. PHP API 20121113. PHP Extension 20121212. Zend Extension 220121212. Zend Extension Build API220121212,NTS. PHP Extension Build API20121212,NTS.