Log message #4125297

# At Username Text
# Mar 15th 2018, 10:31 edgaras.jan @johnwayne you can use `$matchedData = Hash::combine($matchedData, '{n}.place_id', '{n}');` before outer loop
# Mar 15th 2018, 10:27 bnb_dev ok
# Mar 15th 2018, 10:26 sandeep556 @saeideng can we built tree list for multi list, where one list come after other list. currently it maxed-up with each other
# Mar 15th 2018, 10:26 edgaras.jan @johnwayne rebuild array, so $key is place_id, so you skip inner loop by using `$csvPrice = $matchedData[$dbPrice['place_id']];`
# Mar 15th 2018, 10:25 edgaras.jan if you can't enable pdo_sqlite, define debug_kit connection using mysql or other engine
# Mar 15th 2018, 10:24 bnb_dev ok
# Mar 15th 2018, 10:24 edgaras.jan check your app logs/error.log
# Mar 15th 2018, 10:24 bnb_dev ok
# Mar 15th 2018, 10:24 edgaras.jan sqlite3 and pdo_sqlite are different extensions
# Mar 15th 2018, 10:23 bnb_dev I used this one php5.6-sqlite3
# Mar 15th 2018, 10:22 johnwayne @garas how do you mean?
# Mar 15th 2018, 10:22 bnb_dev I think installed the sqllite3
# Mar 15th 2018, 10:21 edgaras.jan check cake error log for 'DebugKit not enabled. You need to either install pdo_sqlite, define the "debug_kit" connection name.'
# Mar 15th 2018, 10:20 edgaras.jan does php has pdo_sqlite extension?
# Mar 15th 2018, 10:19 bnb_dev ?
# Mar 15th 2018, 10:19 bnb_dev so how can I use DebugKit for theme and theme folder is in plugins
# Mar 15th 2018, 10:18 bnb_dev actually I am using theme from plugins folder
# Mar 15th 2018, 10:17 bnb_dev but it's toolbar is not showing
# Mar 15th 2018, 10:17 edgaras.jan reindex $matchedData by place_id, so you avoid inner loop
# Mar 15th 2018, 10:17 bnb_dev I enabled debug_kit
# Mar 15th 2018, 10:14 johnwayne The problem is when we have a lot of data, then is too slow because in foreach loop he make update each time after price is matched
# Mar 15th 2018, 10:13 johnwayne Hello, does anybody can help me with refactoring bulk update... here is working solution https://pastebin.com/Wr7cseQj
# Mar 15th 2018, 09:52 sandeep556 Ok
# Mar 15th 2018, 09:51 sandeep556 like i want to change city state from Brazil to ...
# Mar 15th 2018, 09:51 sandeep556 Yes i did this but how to change from one scope to other
# Mar 15th 2018, 09:51 saeideng you can not move nodes from one scope to other scope IMO
# Mar 15th 2018, 09:50 saeideng you can separate tree(s) with `scope`
# Mar 15th 2018, 09:49 sandeep556 Ok thanks
# Mar 15th 2018, 09:49 neon1024 All I can think is that you would need to regenerate the tree afterwards, but I’ve no idea if that would work.
# Mar 15th 2018, 09:48 neon1024 Sorry @sandeep556 I’ve not tried that with the TreeBehaviour
# Mar 15th 2018, 09:48 sandeep556 is it possible with tree view or not?
# Mar 15th 2018, 09:48 sandeep556 @dakota, @neon1024: any one of you plz help
# Mar 15th 2018, 09:43 sandeep556 This is what i did till now: https://gist.github.com/nakoda/489a3292c4ac17cda227b34a79f89321
# Mar 15th 2018, 09:43 sandeep556 plz help
# Mar 15th 2018, 09:42 sandeep556 left and right is not calculated properly and also how to update all child to other tree
# Mar 15th 2018, 09:42 sandeep556 Plz help, I tried it from last many hrs but did not get success.
# Mar 15th 2018, 09:40 sandeep556 How to use Multi Tree where we can move nodes from one tree to another
# Mar 15th 2018, 09:35 saeideng `andHaving` == `having`
# Mar 15th 2018, 09:34 saeideng `andWhere` == `where`
# Mar 15th 2018, 09:33 saeideng `andWhere` == `where`
# Mar 15th 2018, 09:32 neon1024 Super, thanks @dakota