php - Laravel Setup: Can't install Monolog -



php - Laravel Setup: Can't install Monolog -

i tried install fresh instance of laravel described in docs ( http://laravel.com/docs/quick#installation - "via composer"). got error composer:

... writing lock file generating autoload files php fatal error: class 'monolog\logger' not found in ...\src\vendor\laravel\framework\src\illuminate\log\logserviceprovider.php on line 23 {"error":{"type":"symfony\\component\\debug\\exception\\fatalerrorexception","message":"class 'monolog\\logger' not found","file":"...\\src\\vendor\\laravel\\framework\\src\\illuminate\\log\\logserviceprovider.php","line":23}}script php artisan clear-c ompiled handling post-install-cmd event returned error: php fatal error: class 'monolog\logger' not found in ...\src\illuminate\log\logserviceprovider.php on line 23 php fatal error: class 'monolog\logger' not found in ...\src\illuminate\log\logserviceprovider.php on line 23 {"error":{"type":"symfony\\component\\debug\\exception\\fatalerrorexception","message":"class 'monolog\\logger' not found","file":"...\\src\\vendor\\laravel\\framework\\src\\illuminate\\log\\logserviceprovider.php","line":23}}script php artisan optimiz e handling post-install-cmd event returned error: php fatal error: class 'monolog\logger' not found in ...\src\illuminate\log\logserviceprovider.php on line 23

uhm, now? tried post on official forums wasn't possible due error there (forums based on laravel... yeah that's karma!).

solution: "composer dumpautoload -o"

php laravel laravel-4

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -