bupy7 / yii2-config Goto Github PK
View Code? Open in Web Editor NEWThis is module allow storing configuration parameters of application to database and management they dynamically from admin panel.
This is module allow storing configuration parameters of application to database and management they dynamically from admin panel.
Exception 'yii\base\InvalidConfigException' with message 'Missing required parameter "id" when instantiating "bupy7\config\Module".'
in /var/www/html/vendor/yiisoft/yii2/di/Container.php:451
Stack trace:
#0 /var/www/html/vendor/yiisoft/yii2/di/Container.php(364): yii\di\Container->resolveDependencies(Array, Object(ReflectionClass))
#1 /var/www/html/vendor/yiisoft/yii2/di/Container.php(151): yii\di\Container->build('bupy7\config\Mo...', Array, Array)
#2 /var/www/html/vendor/yiisoft/yii2/BaseYii.php(340): yii\di\Container->get('bupy7\config\Mo...', Array)
#3 /var/www/html/vendor/yiisoft/yii2/base/Application.php(288): yii\BaseYii::createObject('bupy7\config\Mo...')
#4 /var/www/html/vendor/yiisoft/yii2/base/Application.php(267): yii\base\Application->bootstrap()
#5 /var/www/html/vendor/yiisoft/yii2/console/Application.php(120): yii\base\Application->init()
#6 /var/www/html/vendor/yiisoft/yii2/base/Object.php(107): yii\console\Application->init()
#7 /var/www/html/vendor/yiisoft/yii2/base/Application.php(206): yii\base\Object->__construct(Array)
#8 /var/www/html/vendor/yiisoft/yii2/console/Application.php(85): yii\base\Application->__construct(Array)
#9 /var/www/html/yii(30): yii\console\Application->__construct(Array)
#10 {main}
It is impossible to start the migration. He writes:
.yii / permission denied
When I try to run the migration for this extension, I get the following error message:
L:\xampp\htdocs\public_html>php yii migrate/up --migrationPath=@bupy7/config/migrations
Yii Migration Tool (based on Yii v2.0.8)
Total 1 new migration to be applied:
m150802_175752_init
Apply the above migration? (yes|no) [no]:yes
*** applying m150802_175752_init
PHP Notice 'yii\base\ErrorException' with message 'Trying to get property of non-object'
in L:\xampp\htdocs\public_html\vendor\bupy7\yii2-config\models\Config.php:69
Stack trace:
#0 L:\xampp\htdocs\public_html\vendor\bupy7\yii2-config\models\Config.php(69): yii\base\ErrorHandler->handleError(8, 'Trying to get p...', 'L:\\xampp\\htdocs...', 69, Array)
#1 L:\xampp\htdocs\public_html\vendor\bupy7\yii2-config\migrations\m150802_175752_init.php(16): bupy7\config\models\Config::tableName()
#2 L:\xampp\htdocs\public_html\vendor\yiisoft\yii2\console\controllers\BaseMigrateController.php(509): m150802_175752_init->up()
#3 L:\xampp\htdocs\public_html\vendor\yiisoft\yii2\console\controllers\BaseMigrateController.php(130): yii\console\controllers\BaseMigrateController->migrateUp('m150802_175752_...')
#4 [internal function]: yii\console\controllers\BaseMigrateController->actionUp(0)
#5 L:\xampp\htdocs\public_html\vendor\yiisoft\yii2\base\InlineAction.php(55): call_user_func_array(Array, Array)
#6 L:\xampp\htdocs\public_html\vendor\yiisoft\yii2\base\Controller.php(154): yii\base\InlineAction->runWithParams(Array)
#7 L:\xampp\htdocs\public_html\vendor\yiisoft\yii2\console\Controller.php(119): yii\base\Controller->runAction('up', Array)
#8 L:\xampp\htdocs\public_html\vendor\yiisoft\yii2\base\Module.php(454): yii\console\Controller->runAction('up', Array)
#9 L:\xampp\htdocs\public_html\vendor\yiisoft\yii2\console\Application.php(176): yii\base\Module->runAction('migrate/up', Array)
#10 L:\xampp\htdocs\public_html\vendor\yiisoft\yii2\console\Application.php(143): yii\console\Application->runAction('migrate/up', Array)
#11 L:\xampp\htdocs\public_html\vendor\yiisoft\yii2\base\Application.php(375): yii\console\Application->handleRequest(Object(yii\console\Request))
#12 L:\xampp\htdocs\public_html\yii(27): yii\base\Application->run()
#13 {main}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.