Category: autoload

I am deploying my symfony 5 application. What do I forget to do?

In development mode, when i execute this command symfony server:start -d The application works verry well. But when i writes the http://localhost/wafrica2/public/app_dev.php url, this error points out. Warning: require(C:xampphtdocsmyprojectpublic/../app/autoload.php): failed to open stream: No such file or directory in C:xampphtdocsmyprojectpublicapp_dev.php…

Symfony 5 Bundle namespace autoload failed

I create a bundle like this <?php namespace CDCBasementBundleUtilBundle; use SymfonyComponentHttpKernelBundleBundle; class CDCUtilBundle extends Bundle {} and add composer.json file on root directory of my bundle folder, and put this in autoload “psr-4”: { “CDCBasementBundleUtilBundle”: “src/” }, the main class…

Failed to Open Stream /vendor/phpoffice/phppresenation/vendor/composer/../symfony/polyfill-mbstring/bootstrap.php

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:wamp64wwwprojectaimapilibrariesPhpPresentationvendorphpofficephppresentationvendorcomposer/../symfony/polyfill-mbstring/bootstrap.php): failed to open stream: No such…