Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting error in php artisan #291

Closed
cleopatra27 opened this issue Jan 8, 2017 · 8 comments
Closed

Getting error in php artisan #291

cleopatra27 opened this issue Jan 8, 2017 · 8 comments

Comments

@cleopatra27
Copy link

PHP Warning: require(C:\xampp\htdocs\can failed to open stream: No such file or di trap\autoload.php on line 17 Warning: require(C:\xampp\htdocs\canvas\b d to open stream: No such file or directo autoload.php on line 17 PHP Fatal error: require(): Failed openi tstrap/../vendor/autoload.php' (include_p docs\canvas\bootstrap\autoload.php on lin Fatal error: require(): Failed opening re p/../vendor/autoload.php' (include_path=' canvas\bootstrap\autoload.php on line 17

@ruchernchong
Copy link

Try composer dumpautoload see if it works?

@austintoddj
Copy link
Owner

Thanks for the help @ruchern. Did this fix your issue @cleopatra27?

@reliq reliq added this to the 3.0.x milestone Jan 11, 2017
@ecnerret-adajet
Copy link

I got the same error. I tried the composer dump-autoload but gives me this error
Fatal error: Uncaught Error: Class 'Illuminate\Foundation\Application' not found in C:\xampp\htdocs\canvasblog\bootstrap\app.php:14 Stack trace: #0 C:\xampp\htdocs\canvasblog\artisan(18): require_once() #1 {main} thrown in C:\xampp\htdocs\canvasblog\bootstrap\app.php on line 14

Thanks..

@austintoddj
Copy link
Owner

Do either of the solutions here or here give you different results in your particular installation?

@LittleHans8
Copy link

@cleopatra27 ,@ecnerret-adajet
Re cloning the repo,and try to run composer install or composer update

@ruchernchong
Copy link

Check your permissions. The easiest way is to run chmod 777 -R bootstrap/ (This is not recommended, but is the easiest way to check for permissions.

@cleopatra27
Copy link
Author

i recloned this morning and it works

@austintoddj
Copy link
Owner

@cleopatra27 Good to hear. So the problem has been resolved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants