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
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.
Click below to sign up and get $100 of credit to try our products over 60 days!
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: