Question

Laravel 4 Error After install composer its says

  • Posted August 8, 2014

Hello there , I uploading my laravel 4 app and install composer too but when I do php artisan migrate:install its says:

PHP Warning: require(/var/www/bootstrap/…/vendor/autoload.php): failed to open stream: No such file or directory in /var/www/bootstrap/autoload.php on line 17

PHP Fatal error: require(): Failed opening required ‘/var/www/bootstrap/…/vend or/autoload.php’ (include_path=‘.:/usr/share/php:/usr/share/pear’) in /var/www/b ootstrap/autoload.php on line 17

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Did you only installed composer or also did a ‘composer update’ (or ‘composer install’) in the directory Laravel is location (same level as composer.json)?

Hello Kamal Nasser Thanks for replay

The Error still there, I’m not expert on laravel 4 sorry

but I search in google and I found this coomand " composer dump-autoload "

when I do it it says :

PHP Fatal error: Class ‘Patchwork\Utf8\Bootup’ not found in /var/www/bootstrap/ autoload.php on line 46

You will need to create the files that handle autoloading first:

php artisan dump-autoload