-
Notifications
You must be signed in to change notification settings - Fork 207
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
Problem with install news module #1883
Comments
It seems you have wrong configure you config files:
news is not an application propertie. maybe you forgot modules section. |
Hmm. ./vendor/bin/luya migrate Total 3 new migrations to be applied: Apply the above migrations? (yes|no) [no]:yes *** applying m150428_095829_news_cat *** applying m161212_084323_add_teaser_field 3 migrations were applied. Migrated up successfully. LUYA import command (based on LUYA 1.0.14) luya\cms\admin\importers\BlockImporter: in /home/uinessdi/luya-kickstarter/vendor/yiisoft/yii2/console/widgets/Table.php:356 Stack trace: |
Make the window bigger, its a problem from yii2 table console widget yiisoft/yii2#15552 |
Importer run success! Thanks man +1 |
I successfully installed module, but then did I find out where I can add news? In my backend panel(admin) I not see News module :/ |
from the readme:
|
My user is administrator, these rights(persmissions) from where they are? I can see your post and solved problem Thanks |
I can successfully installed the module by composer, but then I got an error after vendor migration command
https://luya.io/packages/luyadev--luya-module-news
./vendor/bin/luya migrate
Exception 'yii\base\UnknownPropertyException' with message 'Setting unknown property: luya\console\Application::news'
in /home/uinessdi/luya-kickstarter/vendor/yiisoft/yii2/base/Component.php:209
Stack trace:
#0 /home/uinessdi/luya-kickstarter/vendor/yiisoft/yii2/BaseYii.php(546): yii\base\Component->__set('news', Array)
#1 /home/uinessdi/luya-kickstarter/vendor/yiisoft/yii2/base/BaseObject.php(107): yii\BaseYii::configure(Object(luya\console\Application), Array)
#2 /home/uinessdi/luya-kickstarter/vendor/yiisoft/yii2/base/Application.php(206): yii\base\BaseObject->__construct(Array)
#3 /home/uinessdi/luya-kickstarter/vendor/yiisoft/yii2/console/Application.php(89): yii\base\Application->__construct(Array)
#4 /home/uinessdi/luya-kickstarter/vendor/luyadev/luya-core/base/Boot.php(247): yii\console\Application->__construct(Array)
#5 /home/uinessdi/luya-kickstarter/vendor/luyadev/luya-core/bin/luya(22): luya\base\Boot->applicationConsole()
#6 {main}
./vendor/bin/luya import
Exception 'yii\base\UnknownPropertyException' with message 'Setting unknown property: luya\console\Application::news'
in /home/uinessdi/luya-kickstarter/vendor/yiisoft/yii2/base/Component.php:209
Stack trace:
#0 /home/uinessdi/luya-kickstarter/vendor/yiisoft/yii2/BaseYii.php(546): yii\base\Component->__set('news', Array)
#1 /home/uinessdi/luya-kickstarter/vendor/yiisoft/yii2/base/BaseObject.php(107): yii\BaseYii::configure(Object(luya\console\Application), Array)
#2 /home/uinessdi/luya-kickstarter/vendor/yiisoft/yii2/base/Application.php(206): yii\base\BaseObject->__construct(Array)
#3 /home/uinessdi/luya-kickstarter/vendor/yiisoft/yii2/console/Application.php(89): yii\base\Application->__construct(Array)
#4 /home/uinessdi/luya-kickstarter/vendor/luyadev/luya-core/base/Boot.php(247): yii\console\Application->__construct(Array)
#5 /home/uinessdi/luya-kickstarter/vendor/luyadev/luya-core/bin/luya(22): luya\base\Boot->applicationConsole()
#6 {main}
cd configs
./vendor/bin/luya import
-bash: ./vendor/bin/luya: No such file or directory
cd ..
./vendor/bin/luya import
Exception 'yii\base\UnknownPropertyException' with message 'Setting unknown property: luya\console\Application::news'
in /home/uinessdi/luya-kickstarter/vendor/yiisoft/yii2/base/Component.php:209
Stack trace:
#0 /home/uinessdi/luya-kickstarter/vendor/yiisoft/yii2/BaseYii.php(546): yii\base\Component->__set('news', Array)
#1 /home/uinessdi/luya-kickstarter/vendor/yiisoft/yii2/base/BaseObject.php(107): yii\BaseYii::configure(Object(luya\console\Application), Array)
#2 /home/uinessdi/luya-kickstarter/vendor/yiisoft/yii2/base/Application.php(206): yii\base\BaseObject->__construct(Array)
#3 /home/uinessdi/luya-kickstarter/vendor/yiisoft/yii2/console/Application.php(89): yii\base\Application->__construct(Array)
#4 /home/uinessdi/luya-kickstarter/vendor/luyadev/luya-core/base/Boot.php(247): yii\console\Application->__construct(Array)
#5 /home/uinessdi/luya-kickstarter/vendor/luyadev/luya-core/bin/luya(22): luya\base\Boot->applicationConsole()
#6 {main}
What can I get the Problem?
The text was updated successfully, but these errors were encountered: