Attempting to run an API with PHP PowerPoint generation by inclusion of a script with an auto loader pointing to my vendor directory under a custom /api/libraries/PhpPresentation directory results in a warning.

Warning: require(C:\wamp64\www\projectaim\api\libraries\PhpPresentation\vendor\phpoffice\phppresentation\vendor\composer/../symfony/polyfill-mbstring/bootstrap.php): failed to open stream: No such file or directory in C:\wamp64\www\projectaim\api\libraries\PhpPresentation\vendor\phpoffice\phppresentation\vendor\composer\autoload_real.php on line 70

enter image description here

How do I fix this?

1

There are 1 answers

1
Uttam Dhameliya On

I was able to fix this. it requires php extension named "mbstring"

install PHP-mbstring extension on your server, if you are using M2 on local than run below CMD..

sudo apt-get install php7.0-mbstring

change PHP version on above CMD acording to which u's using.. and restart you apache2.

let me know is it working for anyOne or not.. THANK YOU!