Closed bapxido closed 6 years ago
@bapxido use install with web-interface: link /installer.php
Sorry for the late response. I'm not sure if i'm doing anything wrong, i don't have installer.php in my dot plant application folder. I only have installer and install.sh. Is there anything i'm doing wrong?
@bapxido Just set up documentroot to web folder and go to http://YOUR_HOSTNAME/installer/ or YOUR_HOST_NAME/installer.php (can't remember which one is correct)
Alright i got it @bethrezen , my document root was not set to application/web/, i thought /application was the root. Thanks!
When i try to install dotplant2 by running php installer in application folder i get the following error:
..../dotplant2-master/application $ ./installer installer is running in console Checking permissions [ OK ] @app/config/db-local.php [ OK ] @app/config/web-local.php [ OK ] @app/config/common-local.php [ OK ] @app/config/common-configurables.php [ OK ] @app/config/console-configurables.php [ OK ] @app/config/web-configurables.php [ OK ] @app/config/kv-configurables.php [ OK ] @app/config/aliases.php Enter language(ie. ru, zh-CN, en) [en] Enter your database configuration: -> db_host [localhost] -> db_name [dotplant2] -> username [root] -> password $kym0us3IT. -> schemaCacheDuration [86400] -> schemaCache [cache] Exception 'yii\base\UnknownPropertyException' with message 'Getting unknown property: yii\console\Application::session'
in /var/www/html/dotplant2-master/application/vendor/yiisoft/yii2/base/Component.php:154
Stack trace:
0 /var/www/html/dotplant2-master/application/vendor/yiisoft/yii2/di/ServiceLocator.php(77): yii\base\Component->__get('session')
1 /var/www/html/dotplant2-master/application/modules/installer/models/DbConfig.php(85): yii\di\ServiceLocator->__get('session')
2 /var/www/html/dotplant2-master/application/modules/installer/commands/InstallController.php(107): app\modules\installer\models\DbConfig->testConnection()
3 /var/www/html/dotplant2-master/application/modules/installer/commands/InstallController.php(69): app\modules\installer\commands\InstallController->dbConfig()
4 /var/www/html/dotplant2-master/application/modules/installer/commands/InstallController.php(55): app\modules\installer\commands\InstallController->language()
5 [internal function]: app\modules\installer\commands\InstallController->actionIndex()
6 /var/www/html/dotplant2-master/application/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
7 /var/www/html/dotplant2-master/application/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array)
8 /var/www/html/dotplant2-master/application/vendor/yiisoft/yii2/console/Controller.php(148): yii\base\Controller->runAction('index', Array)
9 /var/www/html/dotplant2-master/application/vendor/yiisoft/yii2/base/Module.php(528): yii\console\Controller->runAction('index', Array)
10 /var/www/html/dotplant2-master/application/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction('', Array)
11 /var/www/html/dotplant2-master/application/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction('', Array)
12 /var/www/html/dotplant2-master/application/vendor/yiisoft/yii2/base/Application.php(386): yii\console\Application->handleRequest(Object(yii\console\Request))
13 /var/www/html/dotplant2-master/application/installer(22): yii\base\Application->run()
14 {main}
Please help?