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

Bug: Run console app before installed #2319

Closed
githubjeka opened this issue Mar 2, 2017 · 0 comments
Closed

Bug: Run console app before installed #2319

githubjeka opened this issue Mar 2, 2017 · 0 comments

Comments

@githubjeka
Copy link
Contributor

\humhub>php protected/yii message/extract-module installer
Exception 'yii\base\InvalidConfigException' with message 'Please configure UrlManager::scriptUrl correctly as you are running a console application.'

in D:\projects\humhub\protected\vendor\yiisoft\yii2\web\UrlManager.php:542

Stack trace:
#0 D:\projects\humhub\protected\vendor\yiisoft\yii2\web\UrlManager.php(363): yii\web\UrlManager->getScriptUrl()
#1 D:\projects\humhub\protected\vendor\yiisoft\yii2\helpers\BaseUrl.php(104): yii\web\UrlManager->createUrl(Array)
#2 D:\projects\humhub\protected\vendor\yiisoft\yii2\helpers\BaseUrl.php(214): yii\helpers\BaseUrl::toRoute(Array, false)
#3 D:\projects\humhub\protected\humhub\modules\installer\Module.php(128): yii\helpers\BaseUrl::to(Array)
#4 D:\projects\humhub\protected\humhub\modules\installer\Module.php(47): humhub\modules\installer\Module->initConfigSteps()
#5 D:\projects\humhub\protected\vendor\yiisoft\yii2\base\Object.php(107): humhub\modules\installer\Module->init()
#6 D:\projects\humhub\protected\vendor\yiisoft\yii2\base\Module.php(158): yii\base\Object->__construct(Array)
#7 [internal function]: yii\base\Module->__construct('installer', Object(humhub\components\console\Application), Array)
#8 D:\projects\humhub\protected\vendor\yiisoft\yii2\di\Container.php(381): ReflectionClass->newInstanceArgs(Array)
#9 D:\projects\humhub\protected\vendor\yiisoft\yii2\di\Container.php(156): yii\di\Container->build('humhub\\modules\\...', Array, Array)
#10 D:\projects\humhub\protected\vendor\yiisoft\yii2\BaseYii.php(344): yii\di\Container->get('humhub\\modules\\...', Array, Array)
#11 D:\projects\humhub\protected\vendor\yiisoft\yii2\base\Module.php(423): yii\BaseYii::createObject(Array, Array)
#12 D:\projects\humhub\protected\humhub\components\ModuleManager.php(230): yii\base\Module->getModule('installer', true)
#13 D:\projects\humhub\protected\humhub\commands\MessageController.php(33): humhub\components\ModuleManager->getModule('installer')
#14 [internal function]: humhub\commands\MessageController->actionExtractModule('installer')
#15 D:\projects\humhub\protected\vendor\yiisoft\yii2\base\InlineAction.php(57): call_user_func_array(Array, Array)
#16 D:\projects\humhub\protected\vendor\yiisoft\yii2\base\Controller.php(156): yii\base\InlineAction->runWithParams(Array)
#17 D:\projects\humhub\protected\vendor\yiisoft\yii2\console\Controller.php(128): yii\base\Controller->runAction('extract-module', Array)
#18 D:\projects\humhub\protected\vendor\yiisoft\yii2\base\Module.php(523): yii\console\Controller->runAction('extract-module', Array)
#19 D:\projects\humhub\protected\vendor\yiisoft\yii2\console\Application.php(180): yii\base\Module->runAction('message/extract...', Array)
#20 D:\projects\humhub\protected\vendor\yiisoft\yii2\console\Application.php(147): yii\console\Application->runAction('message/extract...', Array)
#21 D:\projects\humhub\protected\vendor\yiisoft\yii2\base\Application.php(380): yii\console\Application->handleRequest(Object(yii\console\Request))
#22 D:\projects\humhub\protected\yii(29): yii\base\Application->run()
#23 {main}

@luke- luke- closed this as completed in 888c899 Mar 9, 2017
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

1 participant