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
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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)?
You will need to create the files that handle autoloading first:
php artisan dump-autoload
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.