jakubsacha / adminlte

29 stars 16 forks source link

Getting Error on composer update #1

Closed joginder89 closed 10 years ago

joginder89 commented 10 years ago

I get this error when run the composer update command

cartalyst/sentry suggests installing illuminate/database (Default sentry user, group and throttling implementations.) cartalyst/sentry suggests installing ircmaxell/password-compat (Default hashing uses PHP 5.5 password_* functions, with forward-compatible support.) cartalyst/sentry suggests installing happydemon/txt (Required Text helpers when using the Kohana implementation)

ERROR:--

Script php artisan clear-compiled handling the post-update-cmd event returned with an error
[RuntimeException]
Error Output: PHP Fatal error: Trait 'Illuminate\Support\Traits\MacroableT
rait' not found in /var/www/laravel/bootstrap/compiled.php on line 3228

jakubsacha commented 10 years ago

Update your PHP version. 19 cze 2014 12:00 "Joginder Sharma" notifications@github.com napisał(a):

I get this error when run the composer update command

Script php artisan clear-compiled handling the post-update-cmd event returned with an error

[RuntimeException]

Error Output: PHP Fatal error: Trait 'Illuminate\Support\Traits\MacroableT

rait' not found in /var/www/laravel/bootstrap/compiled.php on line 3228

— Reply to this email directly or view it on GitHub https://github.com/jakubsacha/adminlte/issues/1.

joginder89 commented 10 years ago

PHP 5.5.12-2+deb.sury.org~precise+1 (cli) (built: May 12 2014 13:46:35) Copyright (c) 1997-2014 The PHP Group Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2014, by Zend Technologies

Is it ok or i need to update PHP.

jakubsacha commented 10 years ago

did you tried to manualy remove compiled.php file and composer up again?

joginder89 commented 10 years ago

I delete the compiled.php file and run again composer update but get the same error again. This is output which i get:--

cartalyst/sentry suggests installing illuminate/database (Default sentry user, group and throttling implementations.) cartalyst/sentry suggests installing ircmaxell/password-compat (Default hashing uses PHP 5.5 password_* functions, with forward-compatible support.) cartalyst/sentry suggests installing happydemon/txt (Required Text helpers when using the Kohana implementation) Writing lock file Generating autoload files PHP Fatal error: Trait 'Illuminate\Support\Traits\MacroableTrait' not found in /var/www/laravel/bootstrap/compiled.php on line 3228 Script php artisan clear-compiled handling the post-update-cmd event returned with an error

[RuntimeException]
Error Output: PHP Fatal error: Trait 'Illuminate\Support\Traits\MacroableT
rait' not found in /var/www/laravel/bootstrap/compiled.php on line 3228

update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-plugins] [--no-custom-installers] [--no-scripts] [--no-progress] [--with-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [packages1] ... [packagesN]

jakubsacha commented 10 years ago

did you created your project using composer create project? can you try to recreate it?

joginder89 commented 10 years ago

Yes, I create the project using composer create project. Sir i have recreate it many times but get same problem.

joginder89 commented 10 years ago

I was testing it with Laravel 4.2, Today I install Laravel 4.1 then delete compiled.php and run composer update. Now it gives no error. Now I have two packages jakubsacha and mrjuliuss. But when i go to http://127.0.0.1/laravel/public/ it still shows the old page You have arrived. Can you please tell me how i check or test this theme.

joginder89 commented 10 years ago

Today i install it on Laravel 4.2 and it install without any error. I do not understand why it give error in past. Thank you.