changed the creator for tasks from project_user to user, fixed api, documentation, filters, some other fixes
This commit is contained in:
parent
daae8b16b6
commit
e78ff7d779
@ -75,7 +75,7 @@ return [
|
|||||||
'components' => [
|
'components' => [
|
||||||
'request' => [
|
'request' => [
|
||||||
'csrfParam' => '_csrf-backend',
|
'csrfParam' => '_csrf-backend',
|
||||||
'baseUrl' => '/secure',
|
'baseUrl' => '/secure', // TODO /secure
|
||||||
'parsers' => [
|
'parsers' => [
|
||||||
'application/json' => 'yii\web\JsonParser',
|
'application/json' => 'yii\web\JsonParser',
|
||||||
'text/xml' => 'yii/web/XmlParser',
|
'text/xml' => 'yii/web/XmlParser',
|
||||||
|
@ -137,25 +137,4 @@ class TaskController extends Controller
|
|||||||
|
|
||||||
throw new NotFoundHttpException('The requested page does not exist.');
|
throw new NotFoundHttpException('The requested page does not exist.');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function actionCreator()
|
|
||||||
{
|
|
||||||
Yii::$app->response->format = Response::FORMAT_JSON;
|
|
||||||
|
|
||||||
if (isset($_POST['depdrop_parents'])) {
|
|
||||||
$parents = $_POST['depdrop_parents'];
|
|
||||||
if ($parents != null) {
|
|
||||||
$project_id = $parents[0];
|
|
||||||
$users = ProjectUser::usersByProjectArr($project_id);
|
|
||||||
|
|
||||||
$formattedUsersArr = array();
|
|
||||||
foreach ($users as $key => $value){
|
|
||||||
$formattedUsersArr[] = array('id' => $key, 'name' => $value);
|
|
||||||
}
|
|
||||||
|
|
||||||
return ['output'=>$formattedUsersArr, 'selected'=>''];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return ['output'=>'', 'selected'=>''];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -64,16 +64,42 @@ class TaskUserController extends Controller
|
|||||||
* If creation is successful, the browser will be redirected to the 'view' page.
|
* If creation is successful, the browser will be redirected to the 'view' page.
|
||||||
* @return mixed
|
* @return mixed
|
||||||
*/
|
*/
|
||||||
public function actionCreate()
|
public function actionCreate($task_id = null)
|
||||||
{
|
{
|
||||||
$model = new TaskUser();
|
$model = new TaskUser();
|
||||||
|
|
||||||
if ($model->load(Yii::$app->request->post()) && $model->save()) {
|
if ($model->load(Yii::$app->request->post()) && $model->save()) {
|
||||||
|
|
||||||
|
if ($task_id !== null)
|
||||||
|
{
|
||||||
|
return $this->redirect(['task/view', 'id' => $task_id]);
|
||||||
|
}
|
||||||
|
|
||||||
return $this->redirect(['view', 'id' => $model->id]);
|
return $this->redirect(['view', 'id' => $model->id]);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->render('create', [
|
return $this->render('create', [
|
||||||
'model' => $model,
|
'model' => $model,
|
||||||
|
'task_id' => $task_id,
|
||||||
|
]);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Creates a new TaskUser model.
|
||||||
|
* If creation is successful, the browser will be redirected to the 'view' page.
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
|
public function actionCreateForCurrentTask($task_id = null)
|
||||||
|
{
|
||||||
|
$model = new TaskUser();
|
||||||
|
|
||||||
|
if ($model->load(Yii::$app->request->post()) && $model->save()) {
|
||||||
|
return $this->redirect(['task/view', 'id' => $task_id]);
|
||||||
|
}
|
||||||
|
|
||||||
|
return $this->render('create_for_current_task', [
|
||||||
|
'model' => $model,
|
||||||
|
'task_id' => $task_id,
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -84,16 +110,23 @@ class TaskUserController extends Controller
|
|||||||
* @return mixed
|
* @return mixed
|
||||||
* @throws NotFoundHttpException if the model cannot be found
|
* @throws NotFoundHttpException if the model cannot be found
|
||||||
*/
|
*/
|
||||||
public function actionUpdate($id)
|
public function actionUpdate($id, $task_id = null)
|
||||||
{
|
{
|
||||||
$model = $this->findModel($id);
|
$model = $this->findModel($id);
|
||||||
|
|
||||||
if ($model->load(Yii::$app->request->post()) && $model->save()) {
|
if ($model->load(Yii::$app->request->post()) && $model->save()) {
|
||||||
|
|
||||||
|
if ($task_id !== null)
|
||||||
|
{
|
||||||
|
return $this->redirect(['task/view', 'id' => $task_id]);
|
||||||
|
}
|
||||||
|
|
||||||
return $this->redirect(['view', 'id' => $model->id]);
|
return $this->redirect(['view', 'id' => $model->id]);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->render('update', [
|
return $this->render('update', [
|
||||||
'model' => $model,
|
'model' => $model,
|
||||||
|
'task_id' => $task_id === null ? $model->task_id: $task_id,
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -104,10 +137,15 @@ class TaskUserController extends Controller
|
|||||||
* @return mixed
|
* @return mixed
|
||||||
* @throws NotFoundHttpException if the model cannot be found
|
* @throws NotFoundHttpException if the model cannot be found
|
||||||
*/
|
*/
|
||||||
public function actionDelete($id)
|
public function actionDelete($id, $task_id = null)
|
||||||
{
|
{
|
||||||
$this->findModel($id)->delete();
|
$this->findModel($id)->delete();
|
||||||
|
|
||||||
|
if ($task_id !== null)
|
||||||
|
{
|
||||||
|
return $this->redirect(['task/view', 'id' => $task_id]);
|
||||||
|
}
|
||||||
|
|
||||||
return $this->redirect(['index']);
|
return $this->redirect(['index']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
namespace backend\modules\task\models;
|
namespace backend\modules\task\models;
|
||||||
|
|
||||||
|
use backend\modules\project\models\ProjectUser;
|
||||||
use yii\base\Model;
|
use yii\base\Model;
|
||||||
use yii\data\ActiveDataProvider;
|
use yii\data\ActiveDataProvider;
|
||||||
use backend\modules\task\models\Task;
|
use backend\modules\task\models\Task;
|
||||||
@ -17,7 +18,7 @@ class TaskSearch extends Task
|
|||||||
public function rules()
|
public function rules()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
[['id', 'project_id', 'status', 'project_user_id', 'user_id'], 'integer'],
|
[['id', 'project_id', 'status', 'user_id_creator', 'user_id'], 'integer'],
|
||||||
[['title', 'created_at', 'updated_at', 'description'], 'safe'],
|
[['title', 'created_at', 'updated_at', 'description'], 'safe'],
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
@ -40,7 +41,10 @@ class TaskSearch extends Task
|
|||||||
*/
|
*/
|
||||||
public function search($params)
|
public function search($params)
|
||||||
{
|
{
|
||||||
$query = Task::find()->joinWith(['user', 'project', 'projectUser.user']);
|
$query = Task::find()->joinWith(['user', 'project']);
|
||||||
|
// => function($query){
|
||||||
|
// $query->from(ProjectUser::tableName() . ' pt');
|
||||||
|
// }]); //,
|
||||||
|
|
||||||
// add conditions that should always apply here
|
// add conditions that should always apply here
|
||||||
|
|
||||||
@ -59,16 +63,16 @@ class TaskSearch extends Task
|
|||||||
// grid filtering conditions
|
// grid filtering conditions
|
||||||
$query->andFilterWhere([
|
$query->andFilterWhere([
|
||||||
'id' => $this->id,
|
'id' => $this->id,
|
||||||
'project_id' => $this->project_id,
|
'task.project_id' => $this->project_id,
|
||||||
'status' => $this->status,
|
'task.status' => $this->status,
|
||||||
'created_at' => $this->created_at,
|
'task.created_at' => $this->created_at,
|
||||||
'updated_at' => $this->updated_at,
|
'task.updated_at' => $this->updated_at,
|
||||||
'project_user_id' => $this->project_user_id,
|
'user_id_creator' => $this->user_id_creator,
|
||||||
'user_id' => $this->user_id,
|
'task.user_id' => $this->user_id,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$query->andFilterWhere(['like', 'title', $this->title])
|
$query->andFilterWhere(['like', 'title', $this->title])
|
||||||
->andFilterWhere(['like', 'description', $this->description]);
|
->andFilterWhere(['like', 'task.description', $this->description]);
|
||||||
|
|
||||||
return $dataProvider;
|
return $dataProvider;
|
||||||
}
|
}
|
||||||
|
@ -11,6 +11,7 @@ use backend\modules\task\models\TaskUser;
|
|||||||
*/
|
*/
|
||||||
class TaskUserSearch extends TaskUser
|
class TaskUserSearch extends TaskUser
|
||||||
{
|
{
|
||||||
|
public $projectId;
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
@ -18,6 +19,7 @@ class TaskUserSearch extends TaskUser
|
|||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
[['id', 'task_id', 'project_user_id'], 'integer'],
|
[['id', 'task_id', 'project_user_id'], 'integer'],
|
||||||
|
[['projectId'], 'safe']
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -39,7 +41,7 @@ class TaskUserSearch extends TaskUser
|
|||||||
*/
|
*/
|
||||||
public function search($params)
|
public function search($params)
|
||||||
{
|
{
|
||||||
$query = TaskUser::find()->joinWith(['task', 'projectUser']);
|
$query = TaskUser::find()->joinWith(['task', 'projectUser', 'projectUser.project']);
|
||||||
|
|
||||||
// add conditions that should always apply here
|
// add conditions that should always apply here
|
||||||
|
|
||||||
@ -59,9 +61,11 @@ class TaskUserSearch extends TaskUser
|
|||||||
$query->andFilterWhere([
|
$query->andFilterWhere([
|
||||||
'id' => $this->id,
|
'id' => $this->id,
|
||||||
'task_id' => $this->task_id,
|
'task_id' => $this->task_id,
|
||||||
'project_user_id' => $this->project_user_id,
|
'task_user.project_user_id' => $this->project_user_id,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
$query->andFilterWhere(['like', 'project.id', $this->projectId]);
|
||||||
|
|
||||||
return $dataProvider;
|
return $dataProvider;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
use backend\modules\task\models\Task;
|
use backend\modules\task\models\Task;
|
||||||
use kartik\depdrop\DepDrop;
|
use kartik\depdrop\DepDrop;
|
||||||
|
use kartik\select2\Select2;
|
||||||
use yii\helpers\Html;
|
use yii\helpers\Html;
|
||||||
use yii\helpers\Url;
|
use yii\helpers\Url;
|
||||||
use yii\widgets\ActiveForm;
|
use yii\widgets\ActiveForm;
|
||||||
@ -9,19 +10,20 @@ use yii\widgets\ActiveForm;
|
|||||||
/* @var $this yii\web\View */
|
/* @var $this yii\web\View */
|
||||||
/* @var $model backend\modules\task\models\TaskUser */
|
/* @var $model backend\modules\task\models\TaskUser */
|
||||||
/* @var $form yii\widgets\ActiveForm */
|
/* @var $form yii\widgets\ActiveForm */
|
||||||
|
/* @var $task_id */
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="task-user-form">
|
<div class="task-user-form">
|
||||||
|
|
||||||
<?php $form = ActiveForm::begin(); ?>
|
<?php $form = ActiveForm::begin(); ?>
|
||||||
|
|
||||||
<?= $form->field($model, 'task_id')->dropDownList(Task::find()
|
<?= $form->field($model, 'task_id')->widget(Select2::className(),[
|
||||||
->select(['title', 'id'])->indexBy('id')->column(),
|
'data' => Task::find()->select(['title', 'id'])->indexBy('id')->column(),
|
||||||
[
|
'options' => ['placeholder' => 'Выберите проект', 'value' => $task_id, 'id' => 'task-id',],
|
||||||
'id' => 'task-id',
|
'pluginOptions' => [
|
||||||
'prompt' => 'Выберите'
|
'allowClear' => true,
|
||||||
]
|
],
|
||||||
);
|
]);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?= $form->field($model, 'project_user_id')->widget(DepDrop::className(),
|
<?= $form->field($model, 'project_user_id')->widget(DepDrop::className(),
|
||||||
@ -30,13 +32,14 @@ use yii\widgets\ActiveForm;
|
|||||||
'pluginOptions' => [
|
'pluginOptions' => [
|
||||||
'depends' => ['task-id'],
|
'depends' => ['task-id'],
|
||||||
'placeholder' => 'Выберите',
|
'placeholder' => 'Выберите',
|
||||||
|
'initialize' => true,
|
||||||
'url' => Url::to(['/task/task-user/executor'])
|
'url' => Url::to(['/task/task-user/executor'])
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
); ?>
|
); ?>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<?= Html::submitButton('Save', ['class' => 'btn btn-success']) ?>
|
<?= Html::submitButton('Назначить', ['class' => 'btn btn-success']) ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php ActiveForm::end(); ?>
|
<?php ActiveForm::end(); ?>
|
||||||
|
35
backend/modules/task/views/task-user/_search_by_project.php
Normal file
35
backend/modules/task/views/task-user/_search_by_project.php
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
use backend\modules\project\models\Project;
|
||||||
|
use kartik\select2\Select2;
|
||||||
|
use yii\helpers\Html;
|
||||||
|
use yii\widgets\ActiveForm;
|
||||||
|
|
||||||
|
/* @var $this yii\web\View */
|
||||||
|
/* @var $model backend\modules\task\models\TaskUserSearch */
|
||||||
|
/* @var $form yii\widgets\ActiveForm */
|
||||||
|
?>
|
||||||
|
|
||||||
|
<div class="question-search">
|
||||||
|
|
||||||
|
<?php $form = ActiveForm::begin([
|
||||||
|
'action' => ['index'],
|
||||||
|
'method' => 'get',
|
||||||
|
]); ?>
|
||||||
|
|
||||||
|
<?= $form->field($model, 'projectId')->widget(Select2::className(),[
|
||||||
|
'data' => Project::find()->select(['name', 'id'])->indexBy('id')->column(),
|
||||||
|
'options' => ['placeholder' => 'Выберите проект'],
|
||||||
|
'pluginOptions' => [
|
||||||
|
'allowClear' => true
|
||||||
|
],
|
||||||
|
])->label('Проект') ?>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="form-group">
|
||||||
|
<?= Html::submitButton('Поиск', ['class' => 'btn btn-primary']) ?>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<?php ActiveForm::end(); ?>
|
||||||
|
|
||||||
|
</div>
|
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
/* @var $this yii\web\View */
|
/* @var $this yii\web\View */
|
||||||
/* @var $model backend\modules\task\models\TaskUser */
|
/* @var $model backend\modules\task\models\TaskUser */
|
||||||
|
/* @var $task_id */
|
||||||
|
|
||||||
$this->title = 'Назначить сотрудника';
|
$this->title = 'Назначить сотрудника';
|
||||||
$this->params['breadcrumbs'][] = ['label' => 'Task Users', 'url' => ['index']];
|
$this->params['breadcrumbs'][] = ['label' => 'Task Users', 'url' => ['index']];
|
||||||
@ -12,6 +13,7 @@ $this->params['breadcrumbs'][] = $this->title;
|
|||||||
|
|
||||||
<?= $this->render('_form', [
|
<?= $this->render('_form', [
|
||||||
'model' => $model,
|
'model' => $model,
|
||||||
|
'task_id' => $task_id,
|
||||||
]) ?>
|
]) ?>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
use backend\modules\project\models\ProjectUser;
|
use backend\modules\project\models\ProjectUser;
|
||||||
use backend\modules\task\models\Task;
|
use backend\modules\task\models\Task;
|
||||||
use yii\helpers\ArrayHelper;
|
|
||||||
use yii\helpers\Html;
|
use yii\helpers\Html;
|
||||||
use yii\grid\GridView;
|
use yii\grid\GridView;
|
||||||
|
|
||||||
@ -19,6 +18,10 @@ $this->params['breadcrumbs'][] = $this->title;
|
|||||||
<?= Html::a('Назначить сотрудника', ['create'], ['class' => 'btn btn-success']) ?>
|
<?= Html::a('Назначить сотрудника', ['create'], ['class' => 'btn btn-success']) ?>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<?= $this->render('_search_by_project', [
|
||||||
|
'model' => $searchModel,
|
||||||
|
]) ?>
|
||||||
|
|
||||||
<?= GridView::widget([
|
<?= GridView::widget([
|
||||||
'dataProvider' => $dataProvider,
|
'dataProvider' => $dataProvider,
|
||||||
'filterModel' => $searchModel,
|
'filterModel' => $searchModel,
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
use yii\helpers\Html;
|
|
||||||
|
|
||||||
/* @var $this yii\web\View */
|
/* @var $this yii\web\View */
|
||||||
/* @var $model backend\modules\task\models\TaskUser */
|
/* @var $model backend\modules\task\models\TaskUser */
|
||||||
|
/* @var $task_id */
|
||||||
|
|
||||||
$this->title = 'Изменить назначение';
|
$this->title = 'Изменить назначение';
|
||||||
$this->params['breadcrumbs'][] = ['label' => 'Task Users', 'url' => ['index']];
|
$this->params['breadcrumbs'][] = ['label' => 'Task Users', 'url' => ['index']];
|
||||||
@ -14,6 +14,7 @@ $this->params['breadcrumbs'][] = 'Update';
|
|||||||
|
|
||||||
<?= $this->render('_form', [
|
<?= $this->render('_form', [
|
||||||
'model' => $model,
|
'model' => $model,
|
||||||
|
'task_id' => $task_id,
|
||||||
]) ?>
|
]) ?>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
use backend\modules\project\models\Project;
|
use backend\modules\project\models\Project;
|
||||||
use backend\modules\project\models\ProjectUser;
|
use backend\modules\project\models\ProjectUser;
|
||||||
use common\helpers\StatusHelper;
|
use common\helpers\StatusHelper;
|
||||||
|
use common\models\User;
|
||||||
use kartik\depdrop\DepDrop;
|
use kartik\depdrop\DepDrop;
|
||||||
use kartik\select2\Select2;
|
use kartik\select2\Select2;
|
||||||
use yii\helpers\Html;
|
use yii\helpers\Html;
|
||||||
@ -21,20 +22,19 @@ use yii\widgets\ActiveForm;
|
|||||||
<?= $form->field($model, 'project_id')->dropDownList(Project::find()
|
<?= $form->field($model, 'project_id')->dropDownList(Project::find()
|
||||||
->select(['name', 'id'])->indexBy('id')->column(),
|
->select(['name', 'id'])->indexBy('id')->column(),
|
||||||
[
|
[
|
||||||
'id' => 'project-id',
|
|
||||||
'prompt' => 'Выберите'
|
'prompt' => 'Выберите'
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?= $form->field($model, 'project_user_id')->widget(DepDrop::className(),
|
<?= $form->field($model, 'user_id_creator')->widget(Select2::class,
|
||||||
[
|
[
|
||||||
'options' => ['id' => 'project-user-id'],
|
'data' => User::find()->select(['username', 'id'])->indexBy('id')->column(),
|
||||||
|
'options' => ['placeholder' => '...','class' => 'form-control'],
|
||||||
'pluginOptions' => [
|
'pluginOptions' => [
|
||||||
'depends' => ['project-id'],
|
'allowClear' => true,
|
||||||
'placeholder' => 'Выберите',
|
'prompt' => 'Выберите'
|
||||||
'url' => Url::to(['/task/task/creator'])
|
],
|
||||||
]
|
|
||||||
]
|
]
|
||||||
); ?>
|
); ?>
|
||||||
|
|
||||||
@ -47,12 +47,21 @@ use yii\widgets\ActiveForm;
|
|||||||
]
|
]
|
||||||
) ?>
|
) ?>
|
||||||
|
|
||||||
<?= $form->field($model, 'user_id')->textInput() ?>
|
<?= $form->field($model, 'user_id')->widget(Select2::class,
|
||||||
|
[
|
||||||
|
'data' => User::find()->select(['username', 'id'])->indexBy('id')->column(),
|
||||||
|
'options' => ['placeholder' => '...','class' => 'form-control'],
|
||||||
|
'pluginOptions' => [
|
||||||
|
'allowClear' => true,
|
||||||
|
'prompt' => 'Выберите'
|
||||||
|
],
|
||||||
|
]
|
||||||
|
); ?>
|
||||||
|
|
||||||
<?= $form->field($model, 'description')->textInput(['maxlength' => true]) ?>
|
<?= $form->field($model, 'description')->textarea(['rows' => '6']) ?>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<?= Html::submitButton('Save', ['class' => 'btn btn-success']) ?>
|
<?= Html::submitButton('Создать', ['class' => 'btn btn-success']) ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php ActiveForm::end(); ?>
|
<?php ActiveForm::end(); ?>
|
||||||
|
@ -29,14 +29,14 @@ $this->params['breadcrumbs'][] = $this->title;
|
|||||||
|
|
||||||
[
|
[
|
||||||
'attribute' => 'project_id',
|
'attribute' => 'project_id',
|
||||||
'filter' => ArrayHelper::map(Project::find()->all(), 'id', 'name'),
|
'filter' => Project::find()->select(['name', 'id'])->indexBy('id')->column(),
|
||||||
'value' => 'project.name'
|
'value' => 'project.name'
|
||||||
],
|
],
|
||||||
'title',
|
'title',
|
||||||
[
|
[
|
||||||
'attribute' => 'project_user_id',
|
'attribute' => 'user_id_creator',
|
||||||
'filter' => ProjectUser::find()->select(['username', 'project_user.id'])->joinWith('user')->indexBy('id')->column(),
|
'filter' => User::find()->select(['username', 'id'])->indexBy('id')->column(),
|
||||||
'value' => 'projectUser.user.username'
|
'value' => 'userIdCreator.username'
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'attribute' => 'user_id',
|
'attribute' => 'user_id',
|
||||||
@ -48,12 +48,19 @@ $this->params['breadcrumbs'][] = $this->title;
|
|||||||
'attribute' => 'status',
|
'attribute' => 'status',
|
||||||
'format' => 'raw',
|
'format' => 'raw',
|
||||||
'filter' => StatusHelper::statusList(),
|
'filter' => StatusHelper::statusList(),
|
||||||
'value' => function ($model) {
|
'value' => function($model){
|
||||||
return StatusHelper::statusLabel($model->status);
|
return StatusHelper::statusLabel($model->status);
|
||||||
},
|
}
|
||||||
|
],
|
||||||
|
[
|
||||||
|
'attribute' => 'created_at',
|
||||||
|
'format' => ['datetime', 'php:d.m.Y H:i']
|
||||||
|
],
|
||||||
|
[
|
||||||
|
'attribute' => 'updated_at',
|
||||||
|
'filter' => User::find()->select(['updated_at', 'updated_at'])->indexBy('updated_at')->column(),
|
||||||
|
'format' => ['datetime', 'php:d.m.Y H:i']
|
||||||
],
|
],
|
||||||
'created_at',
|
|
||||||
'updated_at',
|
|
||||||
|
|
||||||
['class' => 'yii\grid\ActionColumn'],
|
['class' => 'yii\grid\ActionColumn'],
|
||||||
],
|
],
|
||||||
|
@ -69,17 +69,43 @@ YiiAsset::register($this);
|
|||||||
'columns' => [
|
'columns' => [
|
||||||
['class' => 'yii\grid\SerialColumn'],
|
['class' => 'yii\grid\SerialColumn'],
|
||||||
|
|
||||||
[
|
|
||||||
'attribute' => 'task_id', // ArrayHelper::map(Task::find()->all(), 'id', 'title'),
|
|
||||||
'value' => 'task.title'
|
|
||||||
],
|
|
||||||
[
|
[
|
||||||
'attribute' => 'project_user_id',
|
'attribute' => 'project_user_id',
|
||||||
'value' => 'projectUser.user.username'
|
'value' => 'projectUser.user.username'
|
||||||
],
|
],
|
||||||
|
|
||||||
['class' => 'yii\grid\ActionColumn'],
|
[
|
||||||
|
'class' => 'yii\grid\ActionColumn',
|
||||||
|
'template' => '{view} {update} {delete}',
|
||||||
|
'controller' => 'task-user',
|
||||||
|
'buttons' => [
|
||||||
|
'update' => function ($url,$model) {
|
||||||
|
return Html::a(
|
||||||
|
'<span class="glyphicon glyphicon-pencil"></span>',
|
||||||
|
['task-user/update', 'id' => $model['id'], 'task_id' => $model['task_id']]);
|
||||||
|
},
|
||||||
|
'delete' => function ($url,$model) {
|
||||||
|
return Html::a(
|
||||||
|
'<span class="glyphicon glyphicon-trash"></span>',
|
||||||
|
[
|
||||||
|
'task-user/delete', 'id' => $model['id'], 'task_id' => $model['task_id']
|
||||||
|
],
|
||||||
|
[
|
||||||
|
'data' => ['confirm' => 'Вы уверены, что хотите удалить этого сотрудника?', 'method' => 'post']
|
||||||
|
]
|
||||||
|
);
|
||||||
|
},
|
||||||
|
],
|
||||||
|
],
|
||||||
],
|
],
|
||||||
]); ?>
|
]); ?>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<?= Html::a(
|
||||||
|
'Назначить исполнителя',
|
||||||
|
['task-user/create', 'task_id' => $model->id],
|
||||||
|
['class' => 'btn btn-primary']
|
||||||
|
) ?>
|
||||||
|
</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -47,10 +47,10 @@
|
|||||||
'visible' => Yii::$app->user->can('confidential_information')
|
'visible' => Yii::$app->user->can('confidential_information')
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'label' => 'Задачи', 'icon' => '', 'url' => '#',
|
'label' => 'Задачи', 'icon' => 'tasks', 'url' => '#',
|
||||||
'items' => [
|
'items' => [
|
||||||
['label' => 'Задачи', 'icon' => '', 'url' => ['/task/task'], 'active' => \Yii::$app->controller->id == 'task'],
|
['label' => 'Задачи', 'icon' => 'minus', 'url' => ['/task/task'], 'active' => \Yii::$app->controller->id == 'task'],
|
||||||
['label' => 'Исполнители задачи', 'icon' => '', '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')
|
'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')
|
'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')],
|
||||||
|
@ -34,6 +34,7 @@ class ProjectUser extends \yii\db\ActiveRecord
|
|||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
[['project_id', 'user_id'], 'required'],
|
[['project_id', 'user_id'], 'required'],
|
||||||
|
['user_id', 'unique', 'targetAttribute' => ['user_id', 'project_id'], 'message'=>'Сотрудник уже занят на этом проекте'],
|
||||||
[['project_id', 'user_id'], 'integer'],
|
[['project_id', 'user_id'], 'integer'],
|
||||||
[['project_id'], 'exist', 'skipOnError' => true, 'targetClass' => Project::className(), 'targetAttribute' => ['project_id' => 'id']],
|
[['project_id'], 'exist', 'skipOnError' => true, 'targetClass' => Project::className(), 'targetAttribute' => ['project_id' => 'id']],
|
||||||
[['user_id'], 'exist', 'skipOnError' => true, 'targetClass' => User::className(), 'targetAttribute' => ['user_id' => 'id']],
|
[['user_id'], 'exist', 'skipOnError' => true, 'targetClass' => User::className(), 'targetAttribute' => ['user_id' => 'id']],
|
||||||
@ -69,7 +70,7 @@ class ProjectUser extends \yii\db\ActiveRecord
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return \yii\db\ActiveQuery
|
* @return ActiveQuery
|
||||||
*/
|
*/
|
||||||
public function getCard()
|
public function getCard()
|
||||||
{
|
{
|
||||||
|
@ -18,12 +18,12 @@ use yii\helpers\ArrayHelper;
|
|||||||
* @property int $status
|
* @property int $status
|
||||||
* @property string $created_at
|
* @property string $created_at
|
||||||
* @property string $updated_at
|
* @property string $updated_at
|
||||||
* @property int $project_user_id
|
* @property int $user_id_creator
|
||||||
* @property int $user_id
|
* @property int $user_id
|
||||||
* @property string $description
|
* @property string $description
|
||||||
*
|
*
|
||||||
* @property Project $project
|
* @property Project $project
|
||||||
* @property ProjectUser $projectUser
|
* @property User $userIdCreator
|
||||||
* @property User $user
|
* @property User $user
|
||||||
* @property TaskUser[] $taskUsers
|
* @property TaskUser[] $taskUsers
|
||||||
*/
|
*/
|
||||||
@ -55,13 +55,13 @@ class Task extends \yii\db\ActiveRecord
|
|||||||
public function rules()
|
public function rules()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
[['project_id', 'status', 'title', 'description', 'project_user_id'], 'required'],
|
[['project_id', 'status', 'title', 'description', 'user_id_creator',], 'required'],
|
||||||
[['project_id', 'status', 'project_user_id', 'user_id'], 'integer'],
|
[['project_id', 'status', 'user_id_creator', 'user_id'], 'integer'],
|
||||||
[['created_at', 'updated_at'], 'safe'],
|
[['created_at', 'updated_at'], 'safe'],
|
||||||
[['title'], 'string', 'max' => 255],
|
[['title'], 'string', 'max' => 255],
|
||||||
[['description'], 'string', 'max' => 500],
|
[['description'], 'string', 'max' => 500],
|
||||||
[['project_id'], 'exist', 'skipOnError' => true, 'targetClass' => Project::className(), 'targetAttribute' => ['project_id' => 'id']],
|
[['project_id'], 'exist', 'skipOnError' => true, 'targetClass' => Project::className(), 'targetAttribute' => ['project_id' => 'id']],
|
||||||
[['project_user_id'], 'exist', 'skipOnError' => true, 'targetClass' => ProjectUser::className(), 'targetAttribute' => ['project_user_id' => 'id']],
|
[['user_id_creator'], 'exist', 'skipOnError' => true, 'targetClass' => User::className(), 'targetAttribute' => ['user_id_creator' => 'id']],
|
||||||
[['user_id'], 'exist', 'skipOnError' => true, 'targetClass' => User::className(), 'targetAttribute' => ['user_id' => 'id']],
|
[['user_id'], 'exist', 'skipOnError' => true, 'targetClass' => User::className(), 'targetAttribute' => ['user_id' => 'id']],
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
@ -78,7 +78,7 @@ class Task extends \yii\db\ActiveRecord
|
|||||||
'status' => 'Статус',
|
'status' => 'Статус',
|
||||||
'created_at' => 'Дата создания',
|
'created_at' => 'Дата создания',
|
||||||
'updated_at' => 'Дата обновления',
|
'updated_at' => 'Дата обновления',
|
||||||
'project_user_id' => 'Создатель',
|
'user_id_creator' => 'Создатель задачи',
|
||||||
'user_id' => 'Наблюдатель',
|
'user_id' => 'Наблюдатель',
|
||||||
'description' => 'Описание',
|
'description' => 'Описание',
|
||||||
];
|
];
|
||||||
@ -100,14 +100,6 @@ class Task extends \yii\db\ActiveRecord
|
|||||||
return $this->hasOne(Project::className(), ['id' => 'project_id']);
|
return $this->hasOne(Project::className(), ['id' => 'project_id']);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @return ActiveQuery
|
|
||||||
*/
|
|
||||||
public function getProjectUser()
|
|
||||||
{
|
|
||||||
return $this->hasOne(ProjectUser::className(), ['id' => 'project_user_id']);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return ActiveQuery
|
* @return ActiveQuery
|
||||||
*/
|
*/
|
||||||
@ -116,6 +108,11 @@ class Task extends \yii\db\ActiveRecord
|
|||||||
return $this->hasOne(User::className(), ['id' => 'user_id']);
|
return $this->hasOne(User::className(), ['id' => 'user_id']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getUserIdCreator()
|
||||||
|
{
|
||||||
|
return $this->hasOne(User::className(), ['id' => 'user_id_creator']);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return ActiveQuery
|
* @return ActiveQuery
|
||||||
*/
|
*/
|
||||||
|
@ -32,6 +32,7 @@ class TaskUser extends \yii\db\ActiveRecord
|
|||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
[['task_id', 'project_user_id'], 'integer'],
|
[['task_id', 'project_user_id'], 'integer'],
|
||||||
|
['project_user_id', 'unique', 'targetAttribute' => ['task_id', 'project_user_id'], 'message'=>'Этот сотрудник уже назначен на эту задачу'],
|
||||||
[['project_user_id'], 'exist', 'skipOnError' => true, 'targetClass' => ProjectUser::className(), 'targetAttribute' => ['project_user_id' => 'id']],
|
[['project_user_id'], 'exist', 'skipOnError' => true, 'targetClass' => ProjectUser::className(), 'targetAttribute' => ['project_user_id' => 'id']],
|
||||||
[['task_id'], 'exist', 'skipOnError' => true, 'targetClass' => Task::className(), 'targetAttribute' => ['task_id' => 'id']],
|
[['task_id'], 'exist', 'skipOnError' => true, 'targetClass' => Task::className(), 'targetAttribute' => ['task_id' => 'id']],
|
||||||
];
|
];
|
||||||
|
@ -230,4 +230,9 @@ class User extends ActiveRecord implements IdentityInterface
|
|||||||
{
|
{
|
||||||
return $this->hasMany(ManagerEmployee::className(), ['employee_id' => 'id']);
|
return $this->hasMany(ManagerEmployee::className(), ['employee_id' => 'id']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getProjectUser()
|
||||||
|
{
|
||||||
|
return $this->hasMany(ProjectUser::className(), ['user_id' => 'id']);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,32 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
use yii\db\Migration;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Class m211203_123444_changing_foreign_key_in_task_from_project_user_id_to_user_id
|
||||||
|
*/
|
||||||
|
class m211203_123444_changing_foreign_key_in_task_from_project_user_id_to_user_id extends Migration
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* {@inheritdoc}
|
||||||
|
*/
|
||||||
|
public function safeUp()
|
||||||
|
{
|
||||||
|
$this->dropForeignKey('task_project_user', 'task');
|
||||||
|
$this->dropColumn('task', 'project_user_id');
|
||||||
|
$this->addColumn('task', 'user_id_creator', $this->integer());
|
||||||
|
$this->addForeignKey('creator_task', 'task', 'user_id_creator', 'user', 'id');
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@inheritdoc}
|
||||||
|
*/
|
||||||
|
public function safeDown()
|
||||||
|
{
|
||||||
|
$this->dropForeignKey('creator_task', 'task');
|
||||||
|
$this->dropColumn('task', 'user_id_creator');
|
||||||
|
$this->addColumn('task', 'project_user_id', $this->integer());
|
||||||
|
$this->addForeignKey('task_project_user', 'task',
|
||||||
|
'project_user_id', 'project_user', 'id');
|
||||||
|
}
|
||||||
|
}
|
@ -1285,15 +1285,15 @@
|
|||||||
|
|
||||||
```json5
|
```json5
|
||||||
{
|
{
|
||||||
"id": 3,
|
"id": 14,
|
||||||
"project_id": 2,
|
"project_id": 2,
|
||||||
"title": "polkjhgbfv task",
|
"title": "Пробная 2",
|
||||||
"status": 1,
|
"status": 0,
|
||||||
"created_at": "2021-11-24 11:53:11",
|
"created_at": "2021-12-03 17:22:15",
|
||||||
"updated_at": "2021-11-24 11:53:11",
|
"updated_at": "2021-12-03 17:22:15",
|
||||||
"project_user_id": 1,
|
|
||||||
"user_id": null,
|
"user_id": null,
|
||||||
"description": "dfvdfvfdvfd"
|
"description": "смасмс",
|
||||||
|
"user_id_creator": 1
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
<p>
|
<p>
|
||||||
@ -1356,20 +1356,12 @@
|
|||||||
Дата изменения(string)
|
Дата изменения(string)
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
project_user_id
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
ID сотрудника на проекта(int)
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
user_id
|
user_id
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
ID сотрудника(int)
|
ID наблюдателя проекта(int)
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@ -1380,6 +1372,14 @@
|
|||||||
Описание задачи(string)
|
Описание задачи(string)
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
user_id_creator
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
ID создателя задачи(int)
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
</table>
|
</table>
|
||||||
@ -1444,7 +1444,7 @@
|
|||||||
"status": 1,
|
"status": 1,
|
||||||
"created_at": "2021-11-24 11:53:11",
|
"created_at": "2021-11-24 11:53:11",
|
||||||
"updated_at": "2021-11-24 11:53:11",
|
"updated_at": "2021-11-24 11:53:11",
|
||||||
"project_user_id": 1,
|
"user_id_creator": 1,
|
||||||
"user_id": null,
|
"user_id": null,
|
||||||
"description": "dfvdfvfdvfd"
|
"description": "dfvdfvfdvfd"
|
||||||
},
|
},
|
||||||
@ -1455,7 +1455,7 @@
|
|||||||
"status": 1,
|
"status": 1,
|
||||||
"created_at": "2021-11-24 14:55:01",
|
"created_at": "2021-11-24 14:55:01",
|
||||||
"updated_at": "2021-11-24 14:55:01",
|
"updated_at": "2021-11-24 14:55:01",
|
||||||
"project_user_id": 1,
|
"user_id_creator": 1,
|
||||||
"user_id": null,
|
"user_id": null,
|
||||||
"description": "dfvdfvfdvfdsddsfds"
|
"description": "dfvdfvfdvfdsddsfds"
|
||||||
}
|
}
|
||||||
@ -1523,10 +1523,10 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
project_user_id
|
user_id_creator
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
ID сотрудника на проекта(int)
|
ID создателя задачи(int)
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@ -1534,7 +1534,7 @@
|
|||||||
user_id
|
user_id
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
ID сотрудника(int)
|
ID наблюдателя(int)
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@ -1605,10 +1605,10 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
project_user_id
|
user_id_creator
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
ID сотрудника на проекта, создатель задачи(int)
|
ID сотрудника, создатель задачи(int)
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@ -1638,7 +1638,7 @@
|
|||||||
"project_id": "2",
|
"project_id": "2",
|
||||||
"title": "polkjhgbfv taskdfsdfsd",
|
"title": "polkjhgbfv taskdfsdfsd",
|
||||||
"status": "1",
|
"status": "1",
|
||||||
"project_user_id": "1",
|
"user_id_creator": "1",
|
||||||
"description": "dfvdfvfdvfdsddsfds",
|
"description": "dfvdfvfdvfdsddsfds",
|
||||||
"created_at": {
|
"created_at": {
|
||||||
"expression": "NOW()",
|
"expression": "NOW()",
|
||||||
@ -1659,7 +1659,7 @@
|
|||||||
```json5
|
```json5
|
||||||
{
|
{
|
||||||
"name": "Bad Request",
|
"name": "Bad Request",
|
||||||
"message": "{\"project_user_id\":[\"\С\о\з\д\а\т\е\л\ь cannot be blank.\"]}",
|
"message": "{\"user_id_creator\":[\"\С\о\з\д\а\т\е\л\ь cannot be blank.\"]}",
|
||||||
"code": 0,
|
"code": 0,
|
||||||
"status": 400,
|
"status": 400,
|
||||||
"type": "yii\\web\\BadRequestHttpException"
|
"type": "yii\\web\\BadRequestHttpException"
|
||||||
@ -1712,7 +1712,7 @@
|
|||||||
"status": 1,
|
"status": 1,
|
||||||
"created_at": "2021-11-24 14:40:25",
|
"created_at": "2021-11-24 14:40:25",
|
||||||
"updated_at": "2021-11-25 11:44:30",
|
"updated_at": "2021-11-25 11:44:30",
|
||||||
"project_user_id": 5,
|
"user_id_creator": 5,
|
||||||
"user_id": 2,
|
"user_id": 2,
|
||||||
"description": "888"
|
"description": "888"
|
||||||
}
|
}
|
||||||
@ -1779,10 +1779,10 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
project_user_id
|
user_id_creator
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
ID сотрудника на проекта(int)
|
ID сотрудника, создатель задачи(int)
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
5663
frontend-access.log
5663
frontend-access.log
File diff suppressed because it is too large
Load Diff
@ -1308,3 +1308,100 @@ Stack trace:
|
|||||||
2021/11/25 12:11:55 [error] 775#775: *312 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/task-user/get-task-users?task_id=3 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
2021/11/25 12:11:55 [error] 775#775: *312 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/task-user/get-task-users?task_id=3 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
2021/11/25 12:26:20 [error] 775#775: *317 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task-user/set-task-user HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
2021/11/25 12:26:20 [error] 775#775: *317 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task-user/set-task-user HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
2021/11/25 12:28:13 [error] 775#775: *319 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task-user/set-task-user HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
2021/11/25 12:28:13 [error] 775#775: *319 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task-user/set-task-user HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/02 15:06:40 [error] 718#718: *1 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/02 15:06:40 [error] 716#716: *4 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /debug/default/toolbar?tag=61a8b6d0488ef HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc", referrer: "http://guild.loc/"
|
||||||
|
2021/12/03 16:45:07 [error] 788#788: *681 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /gii/ HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/03 16:45:07 [error] 788#788: *681 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /debug/default/toolbar?tag=61aa1f62edc34 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc", referrer: "http://guild.loc/gii/"
|
||||||
|
2021/12/03 16:45:09 [error] 788#788: *681 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" 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/"
|
||||||
|
2021/12/03 16:45:09 [error] 788#788: *681 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /debug/default/toolbar?tag=61aa1f65a442d HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc", referrer: "http://guild.loc/gii/model"
|
||||||
|
2021/12/03 16:45:20 [error] 788#788: *681 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" 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/03 16:45:20 [error] 788#788: *681 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /debug/default/toolbar?tag=61aa1f6fa8a3f HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc", referrer: "http://guild.loc/gii/model"
|
||||||
|
2021/12/03 16:45:21 [error] 788#788: *681 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /gii/default/diff?id=model&file=b0e323ccb07d1471748de8848e8011a3 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc", referrer: "http://guild.loc/gii/model"
|
||||||
|
2021/12/03 16:51:44 [error] 788#788: *692 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" 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/03 16:51:45 [error] 788#788: *692 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /debug/default/toolbar?tag=61aa20f0ca4fa HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc", referrer: "http://guild.loc/gii/model"
|
||||||
|
2021/12/03 16:51:46 [error] 788#788: *695 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /gii/default/diff?id=model&file=b0e323ccb07d1471748de8848e8011a3 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc", referrer: "http://guild.loc/gii/model"
|
||||||
|
2021/12/03 16:52:34 [error] 788#788: *695 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" 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/03 16:52:34 [error] 788#788: *695 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /debug/default/toolbar?tag=61aa21222e07d HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc", referrer: "http://guild.loc/gii/model"
|
||||||
|
2021/12/03 16:52:38 [error] 788#788: *695 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" 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/03 16:52:38 [error] 788#788: *695 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /debug/default/toolbar?tag=61aa212628725 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc", referrer: "http://guild.loc/gii/model"
|
||||||
|
2021/12/03 16:52:40 [error] 788#788: *695 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /gii/default/diff?id=model&file=b0e323ccb07d1471748de8848e8011a3 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc", referrer: "http://guild.loc/gii/model"
|
||||||
|
2021/12/03 16:52:54 [error] 788#788: *695 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /gii/crud HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc", referrer: "http://guild.loc/gii/model"
|
||||||
|
2021/12/03 16:52:54 [error] 788#788: *695 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /debug/default/toolbar?tag=61aa2136a429c HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc", referrer: "http://guild.loc/gii/crud"
|
||||||
|
2021/12/03 16:54:57 [error] 788#788: *705 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /gii/controller HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc", referrer: "http://guild.loc/gii/crud"
|
||||||
|
2021/12/03 16:54:58 [error] 788#788: *705 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /debug/default/toolbar?tag=61aa21b1a763b HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc", referrer: "http://guild.loc/gii/controller"
|
||||||
|
2021/12/03 16:54:59 [error] 788#788: *705 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /gii/crud HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc", referrer: "http://guild.loc/gii/controller"
|
||||||
|
2021/12/03 16:54:59 [error] 788#788: *705 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /debug/default/toolbar?tag=61aa21b350717 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc", referrer: "http://guild.loc/gii/crud"
|
||||||
|
2021/12/03 16:55:38 [error] 788#788: *705 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /gii/crud HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc", referrer: "http://guild.loc/gii/crud"
|
||||||
|
2021/12/03 16:55:38 [error] 788#788: *705 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /debug/default/toolbar?tag=61aa21daa4420 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc", referrer: "http://guild.loc/gii/crud"
|
||||||
|
2021/12/03 16:55:41 [error] 788#788: *705 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /gii/default/diff?id=crud&file=be260b371fdaa6950d6efd3c7229a2e9 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc", referrer: "http://guild.loc/gii/crud"
|
||||||
|
2021/12/03 16:55:56 [error] 788#788: *705 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /gii/default/preview?id=crud&file=352d50e9dc42206019b90e3829f179ec HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc", referrer: "http://guild.loc/gii/crud"
|
||||||
|
2021/12/03 16:56:01 [error] 788#788: *705 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /gii/default/preview?id=crud&file=0b583c0a19bc72596228476419417a6f HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc", referrer: "http://guild.loc/gii/crud"
|
||||||
|
2021/12/03 16:56:06 [error] 788#788: *705 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /gii/default/preview?id=crud&file=7fa454f0a64c93ac2e5191bf964374bf HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc", referrer: "http://guild.loc/gii/crud"
|
||||||
|
2021/12/03 16:56:11 [error] 788#788: *705 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /gii/default/preview?id=crud&file=b71bfffb1914e3a1ace52b703f03161f HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc", referrer: "http://guild.loc/gii/crud"
|
||||||
|
2021/12/03 16:56:21 [error] 788#788: *705 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /gii/default/preview?id=crud&file=b71bfffb1914e3a1ace52b703f03161f HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc", referrer: "http://guild.loc/gii/crud"
|
||||||
|
2021/12/06 09:45:54 [error] 753#753: *1 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /gii/crud HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc", referrer: "http://guild.loc/gii/crud"
|
||||||
|
2021/12/06 09:45:54 [error] 753#753: *3 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /debug/default/toolbar?tag=61adb1a208d77 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc", referrer: "http://guild.loc/gii/crud"
|
||||||
|
2021/12/06 13:58:42 [error] 753#753: *1295 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/task/get-task?task_id=3 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 13:59:12 [error] 753#753: *1295 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/user/login?login=testUser HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 13:59:28 [error] 753#753: *1295 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/task/get-task?task_id=3 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 13:59:38 [error] 753#753: *1295 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/task/get-task?task_id=14 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:00:21 [error] 753#753: *1295 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/task/get-task?task_id=14 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:05:19 [error] 753#753: *1301 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/task/get-task-list?project_id=2 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:05:29 [error] 753#753: *1301 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/task/get-task-list?project_id=2 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:07:47 [error] 753#753: *1304 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task/create-task HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:08:11 [error] 753#753: *1304 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task/create-task HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:08:41 [error] 753#753: *1304 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task/create-task HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:08:54 [error] 753#753: *1304 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task/create-task HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:09:28 [error] 753#753: *1304 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task/create-task HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:09:33 [error] 753#753: *1304 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task/create-task HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:09:51 [error] 753#753: *1304 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task/create-task HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:10:51 [error] 753#753: *1304 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task/create-task HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:14:46 [error] 753#753: *1313 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task/create-task HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:20:04 [error] 753#753: *1315 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task/create-task HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:20:29 [error] 753#753: *1315 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task/create-task HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:20:40 [error] 753#753: *1315 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task/create-task HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:21:58 [error] 753#753: *1319 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task/create-task HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:22:52 [error] 753#753: *1319 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task/create-task HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:23:32 [error] 753#753: *1319 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/task/get-task-list?project_id=2 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:23:42 [error] 753#753: *1319 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task/create-task HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:23:56 [error] 753#753: *1319 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task/create-task HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:24:24 [error] 753#753: *1319 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task/update HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:24:37 [error] 753#753: *1319 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task/update HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:25:00 [error] 753#753: *1319 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task/update HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:25:04 [error] 753#753: *1319 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task/update HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:25:07 [error] 753#753: *1319 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task/update HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:25:14 [error] 753#753: *1319 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task/update HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:25:23 [error] 753#753: *1319 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task/update HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:30:26 [error] 753#753: *1332 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/task/get-task-list?project_id=2 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:30:34 [error] 753#753: *1332 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/task/get-task?task_id=14 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:30:49 [error] 753#753: *1332 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task/create-task HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:33:01 [error] 753#753: *1336 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task/create-task HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:33:09 [error] 753#753: *1336 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task/create-task HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:34:24 [error] 753#753: *1339 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task/create-task HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:34:55 [error] 753#753: *1339 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task/create-task HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:35:08 [error] 753#753: *1339 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task/create-task HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:35:17 [error] 753#753: *1339 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task/create-task HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:35:22 [error] 753#753: *1339 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task/create-task HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:35:26 [error] 753#753: *1339 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task/create-task HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:35:30 [error] 753#753: *1339 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task/create-task HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:35:35 [error] 753#753: *1339 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task/create-task HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:35:38 [error] 753#753: *1339 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task/create-task HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:35:44 [error] 753#753: *1339 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task/create-task HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:39:55 [error] 753#753: *1350 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task/create-task HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:40:28 [error] 753#753: *1350 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task/create-task HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:40:33 [error] 753#753: *1350 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task/create-task HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:40:47 [error] 753#753: *1350 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task/create-task HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:42:21 [error] 753#753: *1355 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task/create-task HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:42:30 [error] 753#753: *1355 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task/create-task HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:42:53 [error] 753#753: *1355 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task/create-task HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:43:56 [error] 753#753: *1355 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task/create-task HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:44:05 [error] 753#753: *1355 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/task-user/get-task-users?task_id=3 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:44:17 [error] 753#753: *1355 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/task-user/get-task-users?task_id=3 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:44:26 [error] 753#753: *1355 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/task-user/get-task-users?task_id=14 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:44:44 [error] 753#753: *1355 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task-user/set-task-user HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:45:01 [error] 753#753: *1355 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task-user/set-task-user HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:45:30 [error] 753#753: *1355 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task-user/set-task-user HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:47:17 [error] 753#753: *1366 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task-user/set-task-user HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:47:27 [error] 753#753: *1366 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task-user/set-task-user HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:50:11 [error] 753#753: *1383 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "GET /api/task/get-task?task_id=14 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
2021/12/06 14:55:23 [error] 753#753: *1385 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: telegramBotToken in /var/www/guild.loc/frontend/config/main.php on line 101PHP message: PHP Notice: Undefined index: telegramBotChatId in /var/www/guild.loc/frontend/config/main.php on line 102" while reading response header from upstream, client: 127.0.0.1, server: guild.loc, request: "POST /api/task/create-task HTTP/1.1", upstream: "fastcgi://unix:/run/php/php-fpm.sock:", host: "guild.loc"
|
||||||
|
@ -97,7 +97,7 @@ class TaskController extends Controller
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (empty($model->project_id)or empty($model->status)
|
if (empty($model->project_id)or empty($model->status)
|
||||||
or empty($model->description) or empty($model->title) or empty($model->project_user_id)) {
|
or empty($model->description) or empty($model->title) or empty($model->user_id_creator)) {
|
||||||
throw new BadRequestHttpException(json_encode($model->errors));
|
throw new BadRequestHttpException(json_encode($model->errors));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user