write migrations for documents
This commit is contained in:
parent
ac4e5d62ec
commit
f3deab46cc
@ -75,7 +75,7 @@ return [
|
|||||||
'components' => [
|
'components' => [
|
||||||
'request' => [
|
'request' => [
|
||||||
'csrfParam' => '_csrf-backend',
|
'csrfParam' => '_csrf-backend',
|
||||||
'baseUrl' => '/secure',
|
'baseUrl' => '', // /secure
|
||||||
'parsers' => [
|
'parsers' => [
|
||||||
'application/json' => 'yii\web\JsonParser',
|
'application/json' => 'yii\web\JsonParser',
|
||||||
'text/xml' => 'yii/web/XmlParser',
|
'text/xml' => 'yii/web/XmlParser',
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
['label' => 'Должность', 'icon' => 'spotify', 'url' => ['/settings/position'], 'active' => \Yii::$app->controller->id == 'position'],
|
['label' => 'Должность', 'icon' => 'spotify', 'url' => ['/settings/position'], 'active' => \Yii::$app->controller->id == 'position'],
|
||||||
['label' => 'Навыки', 'icon' => 'flask', 'url' => ['/settings/skill'], 'active' => \Yii::$app->controller->id == 'skill'],
|
['label' => 'Навыки', 'icon' => 'flask', 'url' => ['/settings/skill'], 'active' => \Yii::$app->controller->id == 'skill'],
|
||||||
],
|
],
|
||||||
'visible' => Yii::$app->user->can('confidential_information')
|
//TODO 'visible' => Yii::$app->user->can('confidential_information')
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'label' => 'Профили', 'icon' => 'address-book-o', 'url' => '#', 'active' => \Yii::$app->controller->id == 'user-card',
|
'label' => 'Профили', 'icon' => 'address-book-o', 'url' => '#', 'active' => \Yii::$app->controller->id == 'user-card',
|
||||||
@ -39,12 +39,12 @@
|
|||||||
['label' => 'Менеджеры', 'icon' => 'user-circle-o', 'url' => ['/employee/manager'], 'active' => \Yii::$app->controller->id == 'manager'],
|
['label' => 'Менеджеры', 'icon' => 'user-circle-o', 'url' => ['/employee/manager'], 'active' => \Yii::$app->controller->id == 'manager'],
|
||||||
['label' => 'Работники', 'icon' => 'user', 'url' => ['/employee/manager-employee'], 'active' => \Yii::$app->controller->id == 'manager-employee'],
|
['label' => 'Работники', 'icon' => 'user', 'url' => ['/employee/manager-employee'], 'active' => \Yii::$app->controller->id == 'manager-employee'],
|
||||||
],
|
],
|
||||||
'visible' => Yii::$app->user->can('confidential_information')
|
//TODO 'visible' => Yii::$app->user->can('confidential_information')
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'label' => 'Проекты', 'icon' => 'cubes', 'url' => ['#'], //'active' => \Yii::$app->controller->id == 'project',
|
'label' => 'Проекты', 'icon' => 'cubes', 'url' => ['#'], //'active' => \Yii::$app->controller->id == 'project',
|
||||||
'items' => $projectItems,
|
'items' => $projectItems,
|
||||||
'visible' => Yii::$app->user->can('confidential_information')
|
//TODO 'visible' => Yii::$app->user->can('confidential_information')
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'label' => 'Задачи', 'icon' => 'tasks', 'url' => '#',
|
'label' => 'Задачи', 'icon' => 'tasks', 'url' => '#',
|
||||||
@ -53,7 +53,7 @@
|
|||||||
['label' => 'Исполнители задачи', 'icon' => 'users', 'url' => ['/task/task-user'], 'active' => \Yii::$app->controller->id == 'task-user'],
|
['label' => 'Исполнители задачи', 'icon' => 'users', 'url' => ['/task/task-user'], 'active' => \Yii::$app->controller->id == 'task-user'],
|
||||||
],
|
],
|
||||||
|
|
||||||
'visible' => Yii::$app->user->can('confidential_information')
|
//TODO 'visible' => Yii::$app->user->can('confidential_information')
|
||||||
],
|
],
|
||||||
['label' => 'Компании', 'icon' => 'building', 'url' => ['/company/company'], 'active' => \Yii::$app->controller->id == 'company', 'visible' => Yii::$app->user->can('confidential_information')],
|
['label' => 'Компании', 'icon' => 'building', 'url' => ['/company/company'], 'active' => \Yii::$app->controller->id == 'company', 'visible' => Yii::$app->user->can('confidential_information')],
|
||||||
[
|
[
|
||||||
@ -62,7 +62,7 @@
|
|||||||
['label' => 'Компании', 'icon' => 'building', 'url' => ['/hh/hh'], 'active' => \Yii::$app->controller->id == 'hh'],
|
['label' => 'Компании', 'icon' => 'building', 'url' => ['/hh/hh'], 'active' => \Yii::$app->controller->id == 'hh'],
|
||||||
['label' => 'Вакансии', 'icon' => 'user-md', 'url' => ['/hh/hh-job'], 'active' => \Yii::$app->controller->id == 'hh-job'],
|
['label' => 'Вакансии', 'icon' => 'user-md', 'url' => ['/hh/hh-job'], 'active' => \Yii::$app->controller->id == 'hh-job'],
|
||||||
],
|
],
|
||||||
'visible' => Yii::$app->user->can('confidential_information')
|
//TODO 'visible' => Yii::$app->user->can('confidential_information')
|
||||||
],
|
],
|
||||||
['label' => 'Баланс', 'icon' => 'dollar', 'url' => ['/balance/balance'], 'active' => \Yii::$app->controller->id == 'balance', 'visible' => Yii::$app->user->can('confidential_information')],
|
['label' => 'Баланс', 'icon' => 'dollar', 'url' => ['/balance/balance'], 'active' => \Yii::$app->controller->id == 'balance', 'visible' => Yii::$app->user->can('confidential_information')],
|
||||||
['label' => 'Отпуска', 'icon' => 'plane', 'url' => ['/holiday/holiday'], 'active' => \Yii::$app->controller->id == 'holiday', 'visible' => Yii::$app->user->can('confidential_information')],
|
['label' => 'Отпуска', 'icon' => 'plane', 'url' => ['/holiday/holiday'], 'active' => \Yii::$app->controller->id == 'holiday', 'visible' => Yii::$app->user->can('confidential_information')],
|
||||||
@ -77,7 +77,7 @@
|
|||||||
'icon' => 'list-alt',
|
'icon' => 'list-alt',
|
||||||
'url' => ['/interview/interview'],
|
'url' => ['/interview/interview'],
|
||||||
'active' => \Yii::$app->controller->id == 'interview',
|
'active' => \Yii::$app->controller->id == 'interview',
|
||||||
'visible' => Yii::$app->user->can('confidential_information'),
|
//TODO 'visible' => Yii::$app->user->can('confidential_information'),
|
||||||
'badge' => '<span class="badge badge-info right">4</span>'
|
'badge' => '<span class="badge badge-info right">4</span>'
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
@ -91,7 +91,7 @@
|
|||||||
['label' => 'Анкеты пользователей', 'icon' => 'drivers-license', 'url' => ['/questionnaire/user-questionnaire'], 'active' => \Yii::$app->controller->id == 'user-questionnaire'],
|
['label' => 'Анкеты пользователей', 'icon' => 'drivers-license', 'url' => ['/questionnaire/user-questionnaire'], 'active' => \Yii::$app->controller->id == 'user-questionnaire'],
|
||||||
['label' => 'Ответы пользователей', 'icon' => 'comments', 'url' => ['/questionnaire/user-response'], 'active' => \Yii::$app->controller->id == 'user-response'],
|
['label' => 'Ответы пользователей', 'icon' => 'comments', 'url' => ['/questionnaire/user-response'], 'active' => \Yii::$app->controller->id == 'user-response'],
|
||||||
],
|
],
|
||||||
'visible' => Yii::$app->user->can('confidential_information')
|
//TODO 'visible' => Yii::$app->user->can('confidential_information')
|
||||||
],
|
],
|
||||||
|
|
||||||
/*['label' => 'Gii', 'icon' => 'file-code-o', 'url' => ['/gii']],
|
/*['label' => 'Gii', 'icon' => 'file-code-o', 'url' => ['/gii']],
|
||||||
|
30
console/migrations/m211223_090918_create_template_table.php
Normal file
30
console/migrations/m211223_090918_create_template_table.php
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
use yii\db\Migration;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Handles the creation of table `{{%template}}`.
|
||||||
|
*/
|
||||||
|
class m211223_090918_create_template_table extends Migration
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* {@inheritdoc}
|
||||||
|
*/
|
||||||
|
public function safeUp()
|
||||||
|
{
|
||||||
|
$this->createTable('{{%template}}', [
|
||||||
|
'id' => $this->primaryKey(),
|
||||||
|
'title' => $this->string(),
|
||||||
|
'created_at' => $this->dateTime(),
|
||||||
|
'updated_at' => $this->dateTime()
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritdoc}
|
||||||
|
*/
|
||||||
|
public function safeDown()
|
||||||
|
{
|
||||||
|
$this->dropTable('{{%template}}');
|
||||||
|
}
|
||||||
|
}
|
37
console/migrations/m211223_091152_create_document_table.php
Normal file
37
console/migrations/m211223_091152_create_document_table.php
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
use yii\db\Migration;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Handles the creation of table `{{%document}}`.
|
||||||
|
*/
|
||||||
|
class m211223_091152_create_document_table extends Migration
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* {@inheritdoc}
|
||||||
|
*/
|
||||||
|
public function safeUp()
|
||||||
|
{
|
||||||
|
$this->createTable('{{%document}}', [
|
||||||
|
'id' => $this->primaryKey(),
|
||||||
|
'title' => $this->string(),
|
||||||
|
'created_at' => $this->dateTime(),
|
||||||
|
'updated_at' => $this->dateTime(),
|
||||||
|
'template_id' => $this->integer(11)->notNull(),
|
||||||
|
'manager_id' => $this->integer(11)->notNull(),
|
||||||
|
]);
|
||||||
|
|
||||||
|
$this->addForeignKey('document_template', 'document', 'template_id', 'template', 'id');
|
||||||
|
$this->addForeignKey('document_manager', 'document', 'manager_id', 'manager', 'id');
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritdoc}
|
||||||
|
*/
|
||||||
|
public function safeDown()
|
||||||
|
{
|
||||||
|
$this->dropForeignKey('document_manager', 'document');
|
||||||
|
$this->dropForeignKey('document_template', 'document');
|
||||||
|
$this->dropTable('{{%document}}');
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,28 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
use yii\db\Migration;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Handles the creation of table `{{%field}}`.
|
||||||
|
*/
|
||||||
|
class m211223_092038_create_document_field_table extends Migration
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* {@inheritdoc}
|
||||||
|
*/
|
||||||
|
public function safeUp()
|
||||||
|
{
|
||||||
|
$this->createTable('{{%document_field}}', [
|
||||||
|
'id' => $this->primaryKey(),
|
||||||
|
'title' => $this->string(),
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritdoc}
|
||||||
|
*/
|
||||||
|
public function safeDown()
|
||||||
|
{
|
||||||
|
$this->dropTable('{{%document_field}}');
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,34 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
use yii\db\Migration;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Handles the creation of table `{{%template_field}}`.
|
||||||
|
*/
|
||||||
|
class m211223_092507_create_template_document_field_table extends Migration
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* {@inheritdoc}
|
||||||
|
*/
|
||||||
|
public function safeUp()
|
||||||
|
{
|
||||||
|
$this->createTable('{{%template_document_field}}', [
|
||||||
|
'id' => $this->primaryKey(),
|
||||||
|
'template_id' => $this->integer(11)->notNull(),
|
||||||
|
'field_id' => $this->integer(11)->notNull()
|
||||||
|
]);
|
||||||
|
|
||||||
|
$this->addForeignKey('template_template_document_field', 'template_document_field', 'template_id', 'template', 'id');
|
||||||
|
$this->addForeignKey('document_field_template_document_field', 'template_document_field', 'field_id', 'document_field', 'id');
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritdoc}
|
||||||
|
*/
|
||||||
|
public function safeDown()
|
||||||
|
{
|
||||||
|
$this->dropForeignKey('template_template_document_field', 'template_document_field');
|
||||||
|
$this->dropForeignKey('document_field_template_document_field', 'template_document_field');
|
||||||
|
$this->dropTable('{{%template_document_field}}');
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,35 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
use yii\db\Migration;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Handles the creation of table `{{%field_value}}`.
|
||||||
|
*/
|
||||||
|
class m211223_095155_create_document_field_value_table extends Migration
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* {@inheritdoc}
|
||||||
|
*/
|
||||||
|
public function safeUp()
|
||||||
|
{
|
||||||
|
$this->createTable('{{%document_field_value}}', [
|
||||||
|
'id' => $this->primaryKey(),
|
||||||
|
'field_id' => $this->integer(11)->notNull(),
|
||||||
|
'document_id' => $this->integer(11)->notNull(),
|
||||||
|
'value' => $this->string()
|
||||||
|
]);
|
||||||
|
|
||||||
|
$this->addForeignKey('document_field_document_field_value', 'document_field_value', 'field_id', 'document_field', 'id');
|
||||||
|
$this->addForeignKey('document_document_field_value', 'document_field_value', 'document_id', 'document', 'id');
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritdoc}
|
||||||
|
*/
|
||||||
|
public function safeDown()
|
||||||
|
{
|
||||||
|
$this->dropForeignKey('document_field_document_field_value', 'document_field_value');
|
||||||
|
$this->dropForeignKey('document_document_field_value', 'document_field_value');
|
||||||
|
$this->dropTable('{{%document_field_value}}');
|
||||||
|
}
|
||||||
|
}
|
@ -74029,3 +74029,26 @@
|
|||||||
127.0.0.1 - - [23/Dec/2021:11:21:14 +0300] "GET /debug/default/toolbar?tag=61c4317a3949a HTTP/1.1" 200 3408 "http://backend.guild.loc/employee/manager/index" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0"
|
127.0.0.1 - - [23/Dec/2021:11:21:14 +0300] "GET /debug/default/toolbar?tag=61c4317a3949a HTTP/1.1" 200 3408 "http://backend.guild.loc/employee/manager/index" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0"
|
||||||
127.0.0.1 - - [23/Dec/2021:11:21:15 +0300] "GET /employee/manager-employee HTTP/1.1" 200 13556 "http://backend.guild.loc/employee/manager/index" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0"
|
127.0.0.1 - - [23/Dec/2021:11:21:15 +0300] "GET /employee/manager-employee HTTP/1.1" 200 13556 "http://backend.guild.loc/employee/manager/index" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0"
|
||||||
127.0.0.1 - - [23/Dec/2021:11:21:15 +0300] "GET /debug/default/toolbar?tag=61c4317b2286d HTTP/1.1" 200 3412 "http://backend.guild.loc/employee/manager-employee" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0"
|
127.0.0.1 - - [23/Dec/2021:11:21:15 +0300] "GET /debug/default/toolbar?tag=61c4317b2286d HTTP/1.1" 200 3412 "http://backend.guild.loc/employee/manager-employee" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0"
|
||||||
|
127.0.0.1 - - [23/Dec/2021:12:02:43 +0300] "GET /employee/manager-employee HTTP/1.1" 200 13560 "http://backend.guild.loc/employee/manager/index" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0"
|
||||||
|
127.0.0.1 - - [23/Dec/2021:12:02:44 +0300] "GET /assets/71772193/css/bootstrap.css HTTP/1.1" 200 145933 "http://backend.guild.loc/employee/manager-employee" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0"
|
||||||
|
127.0.0.1 - - [23/Dec/2021:12:02:44 +0300] "GET /css/site.css HTTP/1.1" 200 805 "http://backend.guild.loc/employee/manager-employee" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0"
|
||||||
|
127.0.0.1 - - [23/Dec/2021:12:02:44 +0300] "GET /assets/ccdf1f3a/css/font-awesome.min.css HTTP/1.1" 200 31000 "http://backend.guild.loc/employee/manager-employee" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0"
|
||||||
|
127.0.0.1 - - [23/Dec/2021:12:02:44 +0300] "GET /assets/cd83ad4b/css/AdminLTE.min.css HTTP/1.1" 200 106548 "http://backend.guild.loc/employee/manager-employee" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0"
|
||||||
|
127.0.0.1 - - [23/Dec/2021:12:02:44 +0300] "GET /assets/cd83ad4b/css/skins/_all-skins.min.css HTTP/1.1" 200 41635 "http://backend.guild.loc/employee/manager-employee" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0"
|
||||||
|
127.0.0.1 - - [23/Dec/2021:12:02:44 +0300] "GET /assets/5aa3f20b/jquery.js HTTP/1.1" 200 288580 "http://backend.guild.loc/employee/manager-employee" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0"
|
||||||
|
127.0.0.1 - - [23/Dec/2021:12:02:44 +0300] "GET /assets/27128343/yii.js HTTP/1.1" 200 20934 "http://backend.guild.loc/employee/manager-employee" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0"
|
||||||
|
127.0.0.1 - - [23/Dec/2021:12:02:44 +0300] "GET /assets/27128343/yii.gridView.js HTTP/1.1" 200 9507 "http://backend.guild.loc/employee/manager-employee" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0"
|
||||||
|
127.0.0.1 - - [23/Dec/2021:12:02:44 +0300] "GET /js/site.js HTTP/1.1" 200 1214 "http://backend.guild.loc/employee/manager-employee" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0"
|
||||||
|
127.0.0.1 - - [23/Dec/2021:12:02:44 +0300] "GET /assets/71772193/js/bootstrap.js HTTP/1.1" 200 75484 "http://backend.guild.loc/employee/manager-employee" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0"
|
||||||
|
127.0.0.1 - - [23/Dec/2021:12:02:44 +0300] "GET /assets/cd83ad4b/js/adminlte.min.js HTTP/1.1" 200 13611 "http://backend.guild.loc/employee/manager-employee" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0"
|
||||||
|
127.0.0.1 - - [23/Dec/2021:12:02:44 +0300] "GET /assets/cd83ad4b/img/user2-160x160.jpg HTTP/1.1" 200 7070 "http://backend.guild.loc/employee/manager-employee" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0"
|
||||||
|
127.0.0.1 - - [23/Dec/2021:12:02:44 +0300] "GET /assets/ccdf1f3a/fonts/fontawesome-webfont.woff2?v=4.7.0 HTTP/1.1" 200 77160 "http://backend.guild.loc/assets/ccdf1f3a/css/font-awesome.min.css" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0"
|
||||||
|
127.0.0.1 - - [23/Dec/2021:12:02:44 +0300] "GET /debug/default/toolbar?tag=61c43b337884f HTTP/1.1" 200 3417 "http://backend.guild.loc/employee/manager-employee" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0"
|
||||||
|
127.0.0.1 - - [23/Dec/2021:12:02:44 +0300] "GET /favicon.ico HTTP/1.1" 200 318 "http://backend.guild.loc/employee/manager-employee" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0"
|
||||||
|
127.0.0.1 - - [23/Dec/2021:14:15:22 +0300] "GET /gii/model HTTP/1.1" 200 11751 "http://guild.loc/gii/model" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0"
|
||||||
|
127.0.0.1 - - [23/Dec/2021:14:15:22 +0300] "GET /debug/default/toolbar?tag=61c45a4a5cc23 HTTP/1.1" 200 3374 "http://guild.loc/gii/model" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0"
|
||||||
|
127.0.0.1 - - [23/Dec/2021:14:15:22 +0300] "GET /favicon.ico HTTP/1.1" 200 318 "http://guild.loc/gii/model" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0"
|
||||||
|
127.0.0.1 - - [23/Dec/2021:14:15:36 +0300] "POST /gii/model HTTP/1.1" 200 12815 "http://guild.loc/gii/model" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0"
|
||||||
|
127.0.0.1 - - [23/Dec/2021:14:15:36 +0300] "GET /debug/default/toolbar?tag=61c45a5820901 HTTP/1.1" 200 3381 "http://guild.loc/gii/model" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0"
|
||||||
|
127.0.0.1 - - [23/Dec/2021:14:15:40 +0300] "POST /gii/model HTTP/1.1" 200 11894 "http://guild.loc/gii/model" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0"
|
||||||
|
127.0.0.1 - - [23/Dec/2021:14:15:40 +0300] "GET /debug/default/toolbar?tag=61c45a5c2bf38 HTTP/1.1" 200 3378 "http://guild.loc/gii/model" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0"
|
||||||
|
@ -6797,3 +6797,11 @@ Stack trace:
|
|||||||
2021/12/23 11:21:14 [error] 781#781: *466 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38" while reading response header from upstream, client: 127.0.0.1, server: backend.guild.loc, request: "GET /debug/default/toolbar?tag=61c4317a3949a HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "backend.guild.loc", referrer: "http://backend.guild.loc/employee/manager/index"
|
2021/12/23 11:21:14 [error] 781#781: *466 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38" while reading response header from upstream, client: 127.0.0.1, server: backend.guild.loc, request: "GET /debug/default/toolbar?tag=61c4317a3949a HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "backend.guild.loc", referrer: "http://backend.guild.loc/employee/manager/index"
|
||||||
2021/12/23 11:21:15 [error] 781#781: *466 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38" while reading response header from upstream, client: 127.0.0.1, server: backend.guild.loc, request: "GET /employee/manager-employee HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "backend.guild.loc", referrer: "http://backend.guild.loc/employee/manager/index"
|
2021/12/23 11:21:15 [error] 781#781: *466 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38" while reading response header from upstream, client: 127.0.0.1, server: backend.guild.loc, request: "GET /employee/manager-employee HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "backend.guild.loc", referrer: "http://backend.guild.loc/employee/manager/index"
|
||||||
2021/12/23 11:21:15 [error] 781#781: *466 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38" while reading response header from upstream, client: 127.0.0.1, server: backend.guild.loc, request: "GET /debug/default/toolbar?tag=61c4317b2286d HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "backend.guild.loc", referrer: "http://backend.guild.loc/employee/manager-employee"
|
2021/12/23 11:21:15 [error] 781#781: *466 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38" while reading response header from upstream, client: 127.0.0.1, server: backend.guild.loc, request: "GET /debug/default/toolbar?tag=61c4317b2286d HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "backend.guild.loc", referrer: "http://backend.guild.loc/employee/manager-employee"
|
||||||
|
2021/12/23 12:02:43 [error] 781#781: *478 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38" while reading response header from upstream, client: 127.0.0.1, server: backend.guild.loc, request: "GET /employee/manager-employee HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "backend.guild.loc", referrer: "http://backend.guild.loc/employee/manager/index"
|
||||||
|
2021/12/23 12:02:44 [error] 779#779: *480 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38" while reading response header from upstream, client: 127.0.0.1, server: backend.guild.loc, request: "GET /debug/default/toolbar?tag=61c43b337884f HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "backend.guild.loc", referrer: "http://backend.guild.loc/employee/manager-employee"
|
||||||
|
2021/12/23 14:15:22 [error] 781#781: *492 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /gii/model HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc", referrer: "http://guild.loc/gii/model"
|
||||||
|
2021/12/23 14:15:22 [error] 781#781: *492 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /debug/default/toolbar?tag=61c45a4a5cc23 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc", referrer: "http://guild.loc/gii/model"
|
||||||
|
2021/12/23 14:15:36 [error] 781#781: *492 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /gii/model HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc", referrer: "http://guild.loc/gii/model"
|
||||||
|
2021/12/23 14:15:36 [error] 781#781: *492 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /debug/default/toolbar?tag=61c45a5820901 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc", referrer: "http://guild.loc/gii/model"
|
||||||
|
2021/12/23 14:15:40 [error] 781#781: *492 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /gii/model HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc", referrer: "http://guild.loc/gii/model"
|
||||||
|
2021/12/23 14:15:40 [error] 781#781: *492 FastCGI sent in stderr: "PHP message: PHP Warning: Use of undefined constant IMG_GIF - assumed 'IMG_GIF' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38PHP message: PHP Warning: Use of undefined constant IMG_JPG - assumed 'IMG_JPG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38PHP message: PHP Warning: Use of undefined constant IMG_PNG - assumed 'IMG_PNG' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38PHP message: PHP Warning: Use of undefined constant IMG_WBMP - assumed 'IMG_WBMP' (this will throw an Error in a future version of PHP) in /var/www/guild.loc/common/config/main.php on line 38PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 102PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 103" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /debug/default/toolbar?tag=61c45a5c2bf38 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc", referrer: "http://guild.loc/gii/model"
|
||||||
|
Loading…
Reference in New Issue
Block a user