Git Product home page Git Product logo

yii2-log's Introduction

Korben Dallas

Linkedin Mail

About me

I'm a senior software engineer. I like to work with Laravel, Vue and PHP. I love MacOs. I'm open-source development enthusiast.

I have experience in the development of payment gateways, integration with various payment systems, corporate accounting systems such as 1C, CRM, ERP, etc., Working with API Google, Yandex, various messengers, etc.

I love to move towards automating routine tasks, building the right architecture in development.

I have the strongest self-motivation. Resistant to stress.

Stack I work with

and others...

I can integrate with with

Interesting stats

Korben's stats

yii2-log's People

Contributors

dependabot[bot] avatar novozhen avatar pvsaintpe avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

forex-formula

yii2-log's Issues

Ошибка при просмотре истории изменений параметров

При попытке просмотра истории изменения данных (нажать на глазик возле параметра, например при смени имени зала или сети) появляется пустое всплывающее окно и ошибка

`

Exception 'yii\base\UnknownMethodException' with message 'Calling unknown method: pvsaintpe\boost\db\ActiveQuery::expressions()'

in /storage/binevo.com/binevo-server/vendor/yiisoft/yii2/base/Component.php:300

Stack trace:
#0 /storage/binevo.com/binevo-server/vendor/pvsaintpe/yii2-search/traits/ExpressionTrait.php(45): yii\base\Component->__call('expressions', Array)
#1 /storage/binevo.com/binevo-server/vendor/pvsaintpe/yii2-search/traits/SearchTrait.php(713): pvsaintpe\log\models\base\ChangeLogSearchBase->expressionSort()
#2 /storage/binevo.com/binevo-server/vendor/pvsaintpe/yii2-search/traits/SearchTrait.php(655): pvsaintpe\log\models\base\ChangeLogSearchBase->createNormalDataProvider(Array)
#3 /storage/binevo.com/binevo-server/vendor/pvsaintpe/yii2-log/traits/SearchTrait.php(61): pvsaintpe\log\models\base\ChangeLogSearchBase->getDataProvider(Array)
#4 /storage/binevo.com/binevo-server/vendor/pvsaintpe/yii2-log/models/ChangeLogSearch.php(276): pvsaintpe\log\models\base\ChangeLogSearchBase->getDataProvider()
#5 /storage/binevo.com/binevo-server/vendor/pvsaintpe/yii2-log/controllers/DefaultController.php(41): pvsaintpe\log\models\ChangeLogSearch->search()
#6 [internal function]: pvsaintpe\log\controllers\DefaultController->actionIndex()
#7 /storage/binevo.com/binevo-server/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
#8 /storage/binevo.com/binevo-server/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array)
#9 /storage/binevo.com/binevo-server/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction('index', Array)
#10 /storage/binevo.com/binevo-server/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction('changelog/defau...', Array)
#11 /storage/binevo.com/binevo-server/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest(Object(backend\components\Request))
#12 /storage/binevo.com/binevo-server/backend/web/index.php(17): yii\base\Application->run()
#13 {main}

`

Exception with unique indexes

Exception (Database Exception) 'yii\db\Exception' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'terminal_group-partner_id-name-deleted_index' in 'field list'
The SQL being executed was: SELECT `terminal_group-partner_id-name-deleted_index` FROM `terminal_group` WHERE `id`='1'' 

in /vagrant/binevo-server/vendor/yiisoft/yii2/db/Schema.php:664

Stack trace:
#0 /vagrant/binevo-server/vendor/yiisoft/yii2/db/Command.php(1263): yii\db\Schema->convertException(Object(PDOException), 'SELECT `termina...')
#1 /vagrant/binevo-server/vendor/yiisoft/yii2/db/Command.php(1148): yii\db\Command->internalExecute('SELECT `termina...')
#2 /vagrant/binevo-server/vendor/yiisoft/yii2/db/Command.php(425): yii\db\Command->queryInternal('fetchColumn', 0)
#3 /vagrant/binevo-server/vendor/yiisoft/yii2/db/Query.php(291): yii\db\Command->queryScalar()
#4 /vagrant/binevo-server/vendor/pvsaintpe/yii2-log/models/ChangeLogSearch.php(120): yii\db\Query->scalar()
#5 [internal function]: pvsaintpe\log\models\ChangeLogSearch->pvsaintpe\log\models\{closure}(Object(pvsaintpe\log\models\base\ChangeLogSearchBase), '12', 0, Object(pvsaintpe\log\components\grid\DataColumn))
#6 /vagrant/binevo-server/vendor/yiisoft/yii2/grid/DataColumn.php(230): call_user_func(Object(Closure), Object(pvsaintpe\log\models\base\ChangeLogSearchBase), '12', 0, Object(pvsaintpe\log\components\grid\DataColumn))
#7 /vagrant/binevo-server/vendor/yiisoft/yii2/grid/DataColumn.php(244): yii\grid\DataColumn->getDataCellValue(Object(pvsaintpe\log\models\base\ChangeLogSearchBase), '12', 0)
#8 /vagrant/binevo-server/vendor/kartik-v/yii2-grid/src/DataColumn.php(242): yii\grid\DataColumn->renderDataCellContent(Object(pvsaintpe\log\models\base\ChangeLogSearchBase), '12', 0)
#9 /vagrant/binevo-server/vendor/yiisoft/yii2/grid/GridView.php(520): kartik\grid\DataColumn->renderDataCell(Object(pvsaintpe\log\models\base\ChangeLogSearchBase), '12', 0)
#10 /vagrant/binevo-server/vendor/pvsaintpe/yii2-grid/widgets/GridView.php(91): yii\grid\GridView->renderTableRow(Object(pvsaintpe\log\models\base\ChangeLogSearchBase), '12', 0)
#11 /vagrant/binevo-server/vendor/yiisoft/yii2/grid/GridView.php(353): pvsaintpe\grid\widgets\GridView->renderTableBody()
#12 /vagrant/binevo-server/vendor/yiisoft/yii2/widgets/BaseListView.php(160): yii\grid\GridView->renderItems()
#13 /vagrant/binevo-server/vendor/yiisoft/yii2/grid/GridView.php(321): yii\widgets\BaseListView->renderSection('{items}')
#14 /vagrant/binevo-server/vendor/pvsaintpe/yii2-grid/widgets/GridView.php(358): yii\grid\GridView->renderSection('{items}')
#15 [internal function]: pvsaintpe\grid\widgets\GridView->pvsaintpe\grid\widgets\{closure}(Array)
#16 /vagrant/binevo-server/vendor/pvsaintpe/yii2-grid/widgets/GridView.php(360): preg_replace_callback('/{\\w+}/', Object(Closure), '<div class="pan...')
#17 /vagrant/binevo-server/vendor/pvsaintpe/yii2-grid/widgets/GridView.php(331): pvsaintpe\grid\widgets\GridView->baseRun()
#18 /vagrant/binevo-server/vendor/yiisoft/yii2/base/Widget.php(140): pvsaintpe\grid\widgets\GridView->run()
#19 /vagrant/binevo-server/vendor/pvsaintpe/yii2-grid/widgets/GridView.php(298): yii\base\Widget::widget(Array)
#20 /vagrant/binevo-server/vendor/pvsaintpe/yii2-log/views/default/index.php(46): pvsaintpe\grid\widgets\GridView::widget(Array)
#21 /vagrant/binevo-server/vendor/yiisoft/yii2/base/View.php(336): require('/vagrant/binevo...')
#22 /vagrant/binevo-server/vendor/yiisoft/yii2/base/View.php(254): yii\base\View->renderPhpFile('/vagrant/binevo...', Array)
#23 /vagrant/binevo-server/vendor/yiisoft/yii2/web/View.php(212): yii\base\View->renderFile('/vagrant/binevo...', Array, Object(pvsaintpe\log\controllers\DefaultController))
#24 /vagrant/binevo-server/vendor/yiisoft/yii2/web/Controller.php(49): yii\web\View->renderAjax('index.php', Array, Object(pvsaintpe\log\controllers\DefaultController))
#25 /vagrant/binevo-server/vendor/pvsaintpe/yii2-search/components/Controller.php(127): yii\web\Controller->renderAjax('index.php', Array)
#26 /vagrant/binevo-server/vendor/pvsaintpe/yii2-search/components/Controller.php(138): pvsaintpe\search\components\Controller->renderAjax('index.php', Array)
#27 /vagrant/binevo-server/vendor/pvsaintpe/yii2-log/controllers/DefaultController.php(25): pvsaintpe\search\components\Controller->renderWithAjax('index.php', Array)
#28 [internal function]: pvsaintpe\log\controllers\DefaultController->actionIndex()
#29 /vagrant/binevo-server/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
#30 /vagrant/binevo-server/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array)
#31 /vagrant/binevo-server/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction('index', Array)
#32 /vagrant/binevo-server/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction('changelog/defau...', Array)
#33 /vagrant/binevo-server/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest(Object(backend\components\Request))

Update revision icons in the grid toolbar

It is necessary to add the ability to change the revision period on the page for viewing changed data. Add a drilldown to the "Hide change history" icon to switch to other revision periods.

image

image

bug

После добавления в таблицу user_document нового столбца description типа текст

const USER_DOCUMENT_TABLE = 'user_document';

public function safeUp()
{
    $this->addColumn(
        self::USER_DOCUMENT_TABLE,
        'description',
        $this->text()->after('number')->comment('Описание')
    );
}

И попытке вывести данное поле в форме редактирования получилась ошибка типа not found column 1e3er43err324.description. В отладчике запроса все названия таблицы имели вид рандомного набора символов.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.