Closed Richies97 closed 6 years ago
I wanted to make it possible to have nice Push Notifications in HumHub so i followed the Tutorial on the HumHub-Page (http://docs.humhub.org/admin-push-updates.html)
So as described in the article we now should get now Push Notifications.
But all I get is this:
ReflectionException: Class humhub\modules\live\driver\Push does not exist in /usr/www/users/gkuiyb/!asset/versions/1.01/protected/vendor/yiisoft/yii2/di/Container.php:424 Stack trace: #0 /usr/www/users/gkuiyb/!asset/versions/1.01/protected/vendor/yiisoft/yii2/di/Container.php(424): ReflectionClass->__construct('humhub\\modules\\...') #1 /usr/www/users/gkuiyb/!asset/versions/1.01/protected/vendor/yiisoft/yii2/di/Container.php(364): yii\di\Container->getDependencies('humhub\\modules\\...') #2 /usr/www/users/gkuiyb/!asset/versions/1.01/protected/vendor/yiisoft/yii2/di/Container.php(156): yii\di\Container->build('humhub\\modules\\...', Array, Array) #3 /usr/www/users/gkuiyb/!asset/versions/1.01/protected/vendor/yiisoft/yii2/BaseYii.php(348): yii\di\Container->get('humhub\\modules\\...', Array, Array) #4 /usr/www/users/gkuiyb/!asset/versions/1.01/protected/humhub/modules/live/components/Sender.php(34): yii\BaseYii::createObject(Array) #5 /usr/www/users/gkuiyb/!asset/versions/1.01/protected/vendor/yiisoft/yii2/base/Object.php(107): humhub\modules\live\components\Sender->init() #6 [internal function]: yii\base\Object->__construct(Array) #7 /usr/www/users/gkuiyb/!asset/versions/1.01/protected/vendor/yiisoft/yii2/di/Container.php(381): ReflectionClass->newInstanceArgs(Array) #8 /usr/www/users/gkuiyb/!asset/versions/1.01/protected/vendor/yiisoft/yii2/di/Container.php(156): yii\di\Container->build('humhub\\modules\\...', Array, Array) #9 /usr/www/users/gkuiyb/!asset/versions/1.01/protected/vendor/yiisoft/yii2/BaseYii.php(348): yii\di\Container->get('humhub\\modules\\...', Array, Array) #10 /usr/www/users/gkuiyb/!asset/versions/1.01/protected/vendor/yiisoft/yii2/di/ServiceLocator.php(135): yii\BaseYii::createObject(Array) #11 /usr/www/users/gkuiyb/!asset/versions/1.01/protected/vendor/yiisoft/yii2/di/ServiceLocator.php(73): yii\di\ServiceLocator->get('live') #12 /usr/www/users/gkuiyb/!asset/versions/1.01/protected/humhub/modules/live/controllers/PollController.php(57): yii\di\ServiceLocator->__get('live') #13 /usr/www/users/gkuiyb/!asset/versions/1.01/protected/vendor/yiisoft/yii2/base/Controller.php(154): humhub\modules\live\controllers\PollController->beforeAction(Object(yii\base\InlineAction)) #14 /usr/www/users/gkuiyb/!asset/versions/1.01/protected/vendor/yiisoft/yii2/base/Module.php(523): yii\base\Controller->runAction('', Array) #15 /usr/www/users/gkuiyb/!asset/versions/1.01/protected/vendor/yiisoft/yii2/web/Application.php(102): yii\base\Module->runAction('live/poll', Array) #16 /usr/www/users/gkuiyb/!asset/versions/1.01/protected/vendor/yiisoft/yii2/base/Application.php(380): yii\web\Application->handleRequest(Object(humhub\components\Request)) #17 /usr/www/users/gkuiyb/!asset/versions/1.01/index.php(25): yii\base\Application->run() #18 {main}
When i look to the directory where the config of HumHub expect the driver to be. There is nothing but BaseDriver.php und Database.php
I hope you can help me with this problem
Running HumHub: 1.2.7
Sorry, this documentation page belongs to the upcoming 1.3.x release.
Also note that this is not a Push API implementation but rather a push mechanism for humhub live updates, which is by default handled by a polling job. A real Push API integration is planned soon.
I wanted to make it possible to have nice Push Notifications in HumHub so i followed the Tutorial on the HumHub-Page (http://docs.humhub.org/admin-push-updates.html)
So as described in the article we now should get now Push Notifications.
But all I get is this:
ReflectionException: Class humhub\modules\live\driver\Push does not exist in /usr/www/users/gkuiyb/!asset/versions/1.01/protected/vendor/yiisoft/yii2/di/Container.php:424 Stack trace: #0 /usr/www/users/gkuiyb/!asset/versions/1.01/protected/vendor/yiisoft/yii2/di/Container.php(424): ReflectionClass->__construct('humhub\\modules\\...') #1 /usr/www/users/gkuiyb/!asset/versions/1.01/protected/vendor/yiisoft/yii2/di/Container.php(364): yii\di\Container->getDependencies('humhub\\modules\\...') #2 /usr/www/users/gkuiyb/!asset/versions/1.01/protected/vendor/yiisoft/yii2/di/Container.php(156): yii\di\Container->build('humhub\\modules\\...', Array, Array) #3 /usr/www/users/gkuiyb/!asset/versions/1.01/protected/vendor/yiisoft/yii2/BaseYii.php(348): yii\di\Container->get('humhub\\modules\\...', Array, Array) #4 /usr/www/users/gkuiyb/!asset/versions/1.01/protected/humhub/modules/live/components/Sender.php(34): yii\BaseYii::createObject(Array) #5 /usr/www/users/gkuiyb/!asset/versions/1.01/protected/vendor/yiisoft/yii2/base/Object.php(107): humhub\modules\live\components\Sender->init() #6 [internal function]: yii\base\Object->__construct(Array) #7 /usr/www/users/gkuiyb/!asset/versions/1.01/protected/vendor/yiisoft/yii2/di/Container.php(381): ReflectionClass->newInstanceArgs(Array) #8 /usr/www/users/gkuiyb/!asset/versions/1.01/protected/vendor/yiisoft/yii2/di/Container.php(156): yii\di\Container->build('humhub\\modules\\...', Array, Array) #9 /usr/www/users/gkuiyb/!asset/versions/1.01/protected/vendor/yiisoft/yii2/BaseYii.php(348): yii\di\Container->get('humhub\\modules\\...', Array, Array) #10 /usr/www/users/gkuiyb/!asset/versions/1.01/protected/vendor/yiisoft/yii2/di/ServiceLocator.php(135): yii\BaseYii::createObject(Array) #11 /usr/www/users/gkuiyb/!asset/versions/1.01/protected/vendor/yiisoft/yii2/di/ServiceLocator.php(73): yii\di\ServiceLocator->get('live') #12 /usr/www/users/gkuiyb/!asset/versions/1.01/protected/humhub/modules/live/controllers/PollController.php(57): yii\di\ServiceLocator->__get('live') #13 /usr/www/users/gkuiyb/!asset/versions/1.01/protected/vendor/yiisoft/yii2/base/Controller.php(154): humhub\modules\live\controllers\PollController->beforeAction(Object(yii\base\InlineAction)) #14 /usr/www/users/gkuiyb/!asset/versions/1.01/protected/vendor/yiisoft/yii2/base/Module.php(523): yii\base\Controller->runAction('', Array) #15 /usr/www/users/gkuiyb/!asset/versions/1.01/protected/vendor/yiisoft/yii2/web/Application.php(102): yii\base\Module->runAction('live/poll', Array) #16 /usr/www/users/gkuiyb/!asset/versions/1.01/protected/vendor/yiisoft/yii2/base/Application.php(380): yii\web\Application->handleRequest(Object(humhub\components\Request)) #17 /usr/www/users/gkuiyb/!asset/versions/1.01/index.php(25): yii\base\Application->run() #18 {main}
When i look to the directory where the config of HumHub expect the driver to be. There is nothing but BaseDriver.php und Database.php
I hope you can help me with this problem
Additional info
Running HumHub: 1.2.7