These are chat archives for TheFirm/erm_

22nd
Jul 2014
Taras Stetsyuk
@sarates
Jul 22 2014 10:56
fdhgfjh
sheppardv
@sheppardv
Jul 22 2014 10:56
тут проблема з міграціями
*** applying m140722_010610_addComment
Create Comment data
PHP Error[2]: include(ActiveRecord.php): failed to open stream: No such file or directory
    in file /var/www/erm/vendor/yiisoft/yii/framework/YiiBase.php at line 432
#0 /var/www/erm/vendor/yiisoft/yii/framework/YiiBase.php(432): autoload()
#1 unknown(0): autoload()
#2 /var/www/erm/common/modules/Memcached/models/Comment.php(16): spl_autoload_call()
#3 /var/www/erm/vendor/yiisoft/yii/framework/YiiBase.php(432): include()
#4 unknown(0): autoload()
#5 /var/www/erm/common/migrations/m140722_010610_addComment.php(11): spl_autoload_call()
#6 /var/www/erm/vendor/yiisoft/yii/framework/cli/commands/MigrateCommand.php(415): m140722_010610_addComment->up()
#7 /var/www/erm/vendor/yiisoft/yii/framework/cli/commands/MigrateCommand.php(109): MigrateCommand->migrateUp()
#8 unknown(0): MigrateCommand->actionUp()
#9 /var/www/erm/vendor/yiisoft/yii/framework/console/CConsoleCommand.php(172): ReflectionMethod->invokeArgs()
#10 /var/www/erm/vendor/yiisoft/yii/framework/console/CConsoleCommandRunner.php(71): MigrateCommand->run()
#11 /var/www/erm/vendor/yiisoft/yii/framework/console/CConsoleApplication.php(92): CConsoleCommandRunner->run()
#12 /var/www/erm/vendor/yiisoft/yii/framework/base/CApplication.php(184): CConsoleApplication->processRequest()
#13 /var/www/erm/vendor/yiisoft/yii/framework/yiic.php(33): CConsoleApplication->run()
#14 /var/www/erm/yiic.php(11): require_once()
#15 /var/www/erm/yiic(4): require_once()
Compleate! Have A good day :)
sheppardv
@sheppardv
Jul 22 2014 11:02
це помилка після додавання в імпорт ...Memcached.models.*
Igor Feoktistov
@ifeoktistov
Jul 22 2014 12:41
[15:40:22] Dmitrii: fixed
Roman Kulpa
@kulparoman
Jul 22 2014 12:48
<h1>Elasticsearch\Common\Exceptions\BadRequest400Exception</h1>
<p>{"error":"SearchPhaseExecutionException[Failed to execute phase [query], all shards failed; shardFailures {[9UhMsHoSQjapDhuf3ffzoA][erm][4]: SearchParseException[[erm][4]: from[-1],size[-1]: Parse Failure [Failed to parse source [{\"query\":{\"fuzzy_like_this\":{\"fields\":[\"FirstName\",\"LastName\",\"Age\"],\"like_text\":\"roman\",\"max_query_terms\":12}}}]]]; nested: ElasticsearchIllegalArgumentException[more_like_this doesn't support binary/numeric fields: [Age]]; }{[9UhMsHoSQjapDhuf3ffzoA][erm][3]: SearchParseException[[erm][3]: from[-1],size[-1]: Parse Failure [Failed to parse source [{\"query\":{\"fuzzy_like_this\":{\"fields\":[\"FirstName\",\"LastName\",\"Age\"],\"like_text\":\"roman\",\"max_query_terms\":12}}}]]]; nested: ElasticsearchIllegalArgumentException[more_like_this doesn't support binary/numeric fields: [Age]]; }{[9UhMsHoSQjapDhuf3ffzoA][erm][2]: SearchParseException[[erm][2]: from[-1],size[-1]: Parse Failure [Failed to parse source [{\"query\":{\"fuzzy_like_this\":{\"fields\":[\"FirstName\",\"LastName\",\"Age\"],\"like_text\":\"roman\",\"max_query_terms\":12}}}]]]; nested: ElasticsearchIllegalArgumentException[more_like_this doesn't support binary/numeric fields: [Age]]; }{[9UhMsHoSQjapDhuf3ffzoA][erm][1]: SearchParseException[[erm][1]: from[-1],size[-1]: Parse Failure [Failed to parse source [{\"query\":{\"fuzzy_like_this\":{\"fields\":[\"FirstName\",\"LastName\",\"Age\"],\"like_text\":\"roman\",\"max_query_terms\":12}}}]]]; nested: ElasticsearchIllegalArgumentException[more_like_this doesn't support binary/numeric fields: [Age]]; }{[9UhMsHoSQjapDhuf3ffzoA][erm][0]: SearchParseException[[erm][0]: from[-1],size[-1]: Parse Failure [Failed to parse source [{\"query\":{\"fuzzy_like_this\":{\"fields\":[\"FirstName\",\"LastName\",\"Age\"],\"like_text\":\"roman\",\"max_query_terms\":12}}}]]]; nested: ElasticsearchIllegalArgumentException[more_like_this doesn't support binary/numeric fields: [Age]]; }]","status":400} (/var/www/erm/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/GuzzleConnection.php:266)</p><pre>#0 /var/www/erm/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/GuzzleConnection.php(194): Elasticsearch\Connections\GuzzleConnection->process4xxError(Object(Guzzle\Http\Message\EntityEnclosingRequest), Object(Guzzle\Http\Exception\ClientErrorResponseException), '{"query":{"fuzz...')
#1 /var/www/erm/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/GuzzleConnection.php(104): Elasticsearch\Connections\GuzzleConnection->sendRequest(Object(Guzzle\Http\Message\EntityEnclosingRequest), '{"query":{"fuzz...')
#2 /var/www/erm/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Transport.php(166): Elasticsearch\Connections\GuzzleConnection->performRequest('GET', '/erm/erm_type/_...', Array, '{"query":{"fuzz...')
#3 /var/www/erm/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/AbstractEndpoint.php(86): Elasticsearch\Transport->performRequest('GET', '/erm/erm_type/_...', Array, Array)
#4 /var/www/erm/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Client.php(1010): Elasticsearch\Endpoints\AbstractEndpoint->performRequest()
#5 /var/www/erm/common/modules/ESearch/models/ESForm.php(99): Elasticsearch\Client->search(Array)
#6 /var/www/erm/common/modules/ESearch/controllers/DefaultController.php(65): ESForm->search()
#7 /var/www/erm/vendor/yiisoft/yii/framework/web/actions/CInlineAction.php(49): DefaultController->actionAutocomplete()
#8 /var/www/erm/vendor/yiisoft/yii/framework/web/CController.php(308): CInlineAction->runWithParams(Array)
#9 /var/www/erm/vendor/yiisoft/yii/framework/web/filters/CFilterChain.php(133): CController->runAction(Object(CInlineAction))
#10 /var/www/erm/vendor/yiisoft/yii/framework/web/filters/CFilter.php(40): CFilterChain->run()
#11 /var/www/erm/vendor/yiisoft/yii/framework/web/CController.php(1145): CFilter->filter(Object(CFilterChain))
#12 /var/www/erm/vendor/yiisoft/yii/framework/web/filters/CInlineFilter.php(58): CController->filterAccessContr
Igor Feoktistov
@ifeoktistov
Jul 22 2014 13:05
[16:04:03] Dmitrii: соррі перевірив
[16:04:08] Dmitrii: мій трабл
[16:04:20] Dmitrii: зайве поле було в реквесті
Petrenko Dmutro
@nickcuper
Jul 22 2014 13:05
Всім привіт
зараз запушу
*трабл з пошуком
готово
sheppardv
@sheppardv
Jul 22 2014 13:18
привіт, а можеш в 2 словах сказати шо ти в мемкешед писав?