Log message #4101718

# At Username Text
# Dec 7th 2017, 10:27 kryptonita the order is correct. I dont know why irc changed the order
# Dec 7th 2017, 10:26 dereuromark the order?
# Dec 7th 2017, 10:24 kryptonita ```
# Dec 7th 2017, 10:24 kryptonita $category = $categories->findByName('Banda Desenhada');
# Dec 7th 2017, 10:24 kryptonita $categories = TableRegistry::get('Categories');
# Dec 7th 2017, 10:24 kryptonita ```
# Dec 7th 2017, 10:24 kryptonita Hello , whats wrong with this code:
# Dec 7th 2017, 09:55 skor i guess FunctionExpression, …
# Dec 7th 2017, 09:50 skor can i create it with find()->func() ?
# Dec 7th 2017, 09:47 skor from the docs i can see `A number of commonly used functions can be created with the func() method` so i guess my JSON_SEARCH isnt common,
# Dec 7th 2017, 09:43 skor FunctionExpression ? queryexpression ?
# Dec 7th 2017, 09:43 skor i keep forgetting, how do i write a custom function? i need to do this in the db: ‘JSON_SEARCH(PropertyValues.value, “all”, “’ . $value . ‘“) is not’ => null,
# Dec 7th 2017, 09:42 ono-t good morning
# Dec 7th 2017, 09:42 skor hey all!
# Dec 7th 2017, 09:37 neon1024 Morning everyone
# Dec 7th 2017, 08:17 saeideng then you can setup 2 config for it on table/behavior
# Dec 7th 2017, 08:17 saeideng image1 and image 2
# Dec 7th 2017, 08:16 saeideng @ra7bi for uploading file use 2 name
# Dec 7th 2017, 06:55 jkpatel291289 one problem here is password not being hashed.
# Dec 7th 2017, 06:54 jkpatel291289 this code is working is this right way?
# Dec 7th 2017, 06:54 slackebot $table->insert($data)->save(); $data = [ [ 'user_name'=>'jay', 'email'=>'jay@vct.com', 'password'=>'jay', 'company_id'=>1, ], ]; $table = $this->table('users'); $table->insert($data)->save();
# Dec 7th 2017, 06:54 slackebot 'current_financial_year' => '2016-2017', 'organization_start_date' => '2017-12-06', 'currency_name' => 'Rs', 'currency_symbol' => 'rs', 'currency_subname' => 'rs', 'symbol_of_partition' => ',', 'symbol_to_print' => 'rs', 'multi_currency_management' => '0', ], ]; $table = $this->table('companies');
# Dec 7th 2017, 06:54 jkpatel291289 $data = [ [ 'id' => '1', 'name' => 'V C transport', 'print_name' => 'VC transport', 'address_line1' => '12, umargaun gidc', 'address_line2' => '3rd phase', 'city' => 'umaergaon', 'state' => 'gujarat', 'country' => 'india', 'pincode' => '396195',
# Dec 7th 2017, 06:53 admad yes
# Dec 7th 2017, 06:52 jkpatel291289 ok. so i have to create them one by one manually?
# Dec 7th 2017, 06:50 admad phinx seed files don't use cake's orm
# Dec 7th 2017, 06:34 jkpatel291289 comapany has many user ( association)
# Dec 7th 2017, 06:34 jkpatel291289 why this is not working?
# Dec 7th 2017, 06:33 jkpatel291289 In my seed file i want to create comapany with user.
# Dec 7th 2017, 06:33 slackebot 'password'=>'jay' ] ], ]; $table = $this->table('companies'); $table->insert($data)->save(['Contains'=>'Users']);
# Dec 7th 2017, 06:33 slackebot 'current_financial_year' => '2016-2017', 'organization_start_date' => '2017-12-06', 'currency_name' => 'Rs', 'currency_symbol' => 'rs', 'currency_subname' => 'rs', 'symbol_of_partition' => ',', 'symbol_to_print' => 'rs', 'multi_currency_management' => '0', 'users'=>[ 'user_name'=>'jay', 'email'=>'jay@vct.com',
# Dec 7th 2017, 06:33 jkpatel291289 $data = [ [ 'id' => '1', 'name' => 'V C transport', 'print_name' => 'VC transport', 'address_line1' => '12, umargaun gidc', 'address_line2' => '3rd phase', 'city' => 'umaergaon', 'state' => 'gujarat', 'country' => 'india', 'pincode' => '396195',
# Dec 7th 2017, 06:13 ra7bi will try thanks for help
# Dec 7th 2017, 06:11 admad then google "how to install simplexml on <os/distro>"
# Dec 7th 2017, 06:10 ra7bi i read it and i try to install that package but not able
# Dec 7th 2017, 06:10 admad if you carefully read the error you can solve it yourself. It tells you exactly what the problem is
# Dec 7th 2017, 06:09 admad @ra7bi http://www.sabi.co.uk/Notes/linuxHelpAsk.html#anyone
# Dec 7th 2017, 06:09 ra7bi :sleuth_or_spy: hh if you solved can you please tell me how to solve it
# Dec 7th 2017, 06:08 admad maybe
# Dec 7th 2017, 06:06 ra7bi anyone faced this problem `squizlabs/php_codesniffer 3.1.1 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system `
# Dec 7th 2017, 06:05 admad @birdy247 the bake issue with custom theme is resolved. Run `composer update cakephp/bake --with-dependencies`