Hi All,
Getting an error when I try to install a test version of opencart v4 on my local machine.
I'm using PHP Version 8.0.13 and I've also tried to use PHP 8.1.0 however despite all the extensions enabled I'm still getting mbstring related error.
The module is enabled and everything is loading fine and showing up in phpinfo() but I get this error
Fatal error: Uncaught Error: Call to undefined function Opencart\System\Helper\Utf8\mb_internal_encoding() in D:\Sites\VHost1\system\helper\utf8.php:3 Stack trace: #0 D:\Sites\VHost1\system\startup.php(63): require_once() #1 D:\Sites\VHost1\install\index.php(39): require_once('D:\\Sites\\VHost1...') #2 {main} thrown in D:\Sites\VHost1\system\helper\utf8.php on line 3
Could anyone advise please?
I'm using latest OpenCart version
PHP 8.0.13 and PHP 8.1.0 tested - same issue on both
As per the error, I'm running this on Windows within an WampServer build (can't see that being a problem tho?)
Thanks.
In my case, opencart 4 installation problem ...\system\helper\utf8.php solved by editing php.ini on my localhost server:
in php.ini enable the following by removing ";":
mbstring.internal_encoding =
extension=curl
extension=gd
extension=mbstring
extension=openssl
good luck.
in php.ini enable the following by removing ";":
mbstring.internal_encoding =
extension=curl
extension=gd
extension=mbstring
extension=openssl
good luck.
Who is online
Users browsing this forum: No registered users and 3 guests