gaspaio / gearmanui

A web interface to follow activity on a cluster of gearman servers, powered by Silex and AngularJs.
MIT License
170 stars 49 forks source link

Fatal error: Interface 'Symfony\Component\HttpKernel\Log\LoggerInterface' not found.. #13

Open fractalf opened 8 years ago

fractalf commented 8 years ago

This file seems to be missing

./vendor/symfony/http-kernel/Log/LoggerInterface.php

I followed the instructions here exactly: http://gaspaio.github.io/gearmanui/

wingzero0 commented 8 years ago

I got the same error

PHP Fatal error:  Interface 'Symfony\\Component\\HttpKernel\\Log\\LoggerInterface' not found in MyWebRoot/vendor/symfony/monolog-bridge/Logger.php on line 23
wingzero0 commented 8 years ago

It seems that it is missing the symfony component in composer.json.

I tried to add an entry "symfony/symfony": "2.7.*" in composer.json, the dependence issues is fixed. But the routing is still wrong.

ghost commented 8 years ago

Have same error

Fatal error: Interface 'Symfony\Component\HttpKernel\Log\LoggerInterface' not found in /var/www/gearman-ui/vendor/symfony/monolog-bridge/Logger.php on line 23 Call Stack

Time Memory Function Location

1 0.0001 229736 {main}( ) ../index.php:0 2 0.0011 308728 GearmanUI\GearmanUIApplication->__construct( ) ../index.php:7 3 0.0017 333008 Silex\Application->register( ) ../GearmanUIApplication.php:39 4 0.0018 333384 Silex\Provider\MonologServiceProvider->register( ) ../Application.php:178 5 0.0018 334136 class_exists ( ) ../MonologServiceProvider.php:34 6 0.0018 334432 spl_autoload_call ( ) ../MonologServiceProvider.php:34 7 0.0018 334480 Composer\Autoload\ClassLoader->loadClass( ) ../MonologServiceProvider.php:0 8 0.0019 334608 Composer\Autoload\includeFile( ) ../ClassLoader.php:301 9 0.0019 338368 include( '/var/www/gearman-ui/vendor/symfony/monolog-bridge/Logger.php' ) ../ClassLoader.php:412

tomaszpolska commented 8 years ago

Adding "symfony/symfony": "2.7.*" in composer.json solved the issue in my case. Thanks @wingzero0

ghost commented 8 years ago

Ok. After composer update --no-dev I've working application. Thanks

dorogoy commented 8 years ago

Adding "symfony/http-kernel": "^2.8" resolved the issue for me.

kartrocket commented 8 years ago

@dorogoy's soluton worked for me as well.

Adding "symfony/http-kernel": "^2.8" resolved the issue for me.

projectivemotion commented 8 years ago

I can confirm adding

Adding "symfony/http-kernel": "^2.8" resolved the issue for me.

fixed it for me.

jasonbronson commented 8 years ago

Adding "symfony/symfony": "2.7.*" in composer.json solved the issue in my case too.

pailjin commented 8 years ago

Adding "symfony/symfony": "2.7.*" in composer.json solved the issue in my case. but in china, it is better to add mirror : with command : composer config repo.packagist composer https://packagist.phpcomposer.com