Log message #3913273

# At Username Text
# Jul 26th 2016, 10:19 bernat you have to enable sql logging in the config file
# Jul 26th 2016, 10:19 al_x_mq @bernat: how
# Jul 26th 2016, 10:19 al_x_mq no entries in the caek log
# Jul 26th 2016, 10:19 bernat al_x_mq, log your sql queries
# Jul 26th 2016, 10:18 al_x_mq how can i find out?
# Jul 26th 2016, 10:18 Neon1024 Perhaps it is running and the transaction is being rolled back
# Jul 26th 2016, 10:18 al_x_mq is there something wrong?
# Jul 26th 2016, 10:17 al_x_mq ```
# Jul 26th 2016, 10:17 al_x_mq thats rightâ?¦ wait..
# Jul 26th 2016, 10:17 Neon1024 Well thatâ??s not true, is it
# Jul 26th 2016, 10:16 al_x_mq nothing happens
# Jul 26th 2016, 10:16 Neon1024 Is the record persisted to the datastore?
# Jul 26th 2016, 10:16 al_x_mq just a bool
# Jul 26th 2016, 10:16 Neon1024 What are you expecting back from the save?
# Jul 26th 2016, 10:16 al_x_mq yes it is
# Jul 26th 2016, 10:16 Neon1024 Is the entity dirty
# Jul 26th 2016, 10:16 al_x_mq its empty
# Jul 26th 2016, 10:16 Neon1024 Whatâ??s in $entity->errors ?
# Jul 26th 2016, 10:14 al_x_mq `$table->save($item)`is not working at all for me in a single controller. i created a new entity (object is fine) but the save() call gives nothing back
# Jul 26th 2016, 10:03 Neon1024 Has anyone made a data type for bitmask / bitwise yet?
# Jul 26th 2016, 10:01 ankr tobasco try check this out http://book.cakephp.org/3.0/en/orm/query-builder.html#using-sql-functions
# Jul 26th 2016, 09:57 bernat Hi. I'm calling find('threaded') in my controller and since I've added this call I'm getting error: session_start(): Failed to decode session object. Session has been destroyed
# Jul 26th 2016, 09:45 dariolap Hi all, i want to do tests for shell files with phpunit. Any suggests?
# Jul 26th 2016, 09:44 aro is there a way to get cake to use temporary tables
# Jul 26th 2016, 09:35 tobasco thanks
# Jul 26th 2016, 09:35 tobasco can anybody verify this query, i get a syntax error because cakephp does some crazy names with AS in the SQL query. Am I doing it wrong or is it a bug? http://pastie.org/private/ntamavaveov8yxlmjjewaa
# Jul 26th 2016, 09:17 Meowcate Neon1024: Thanks for that
# Jul 26th 2016, 09:13 Neon1024 Itâ??s a king of shorthand instead of [â??Shopsâ?? => [â??Citiesâ?? => [â??Countriesâ??], â??Managersâ??]
# Jul 26th 2016, 09:12 Neon1024 Meowcate: Itâ??ll return data for everything contained, so Shops, Cities, Countries and Managers
# Jul 26th 2016, 09:11 sonu_nk but seems not working..
# Jul 26th 2016, 09:11 sonu_nk I need your help to setup virtual host, i have a live project which is running on this ip like eg: 156.15.28.15 . and i want to run project on my ubuntu machine with same url like eg : 156.15.28.15 instead of localhost .. i also followed steps from here https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-14-04-lts
# Jul 26th 2016, 08:52 Meowcate About contain() and this 4th example : http://book.cakephp.org/3.0/en/orm/retrieving-data-and-resultsets.html#eager-loading-associations , will the query return datas about products, countries and managers, or also about shops and cities ?
# Jul 26th 2016, 08:40 Neon1024 Np
# Jul 26th 2016, 08:37 joris_ i regenerated the migrations file but not the table class xD
# Jul 26th 2016, 08:37 joris_ the first time i generated the migrations file, it auto created the id field
# Jul 26th 2016, 08:36 Neon1024 Ahok :D
# Jul 26th 2016, 08:36 joris_ neon1024: you owned it, primaryKey was pointing to id
# Jul 26th 2016, 08:36 Neon1024 As your system will fail with two readings taken at the same time
# Jul 26th 2016, 08:35 Neon1024 Or create your own data type class which does that conversion for you
# Jul 26th 2016, 08:35 Neon1024 You might need to manually cast the datetime object to a string
# Jul 26th 2016, 08:35 Neon1024 Also Iâ??m not sure how that will work, as DateTime in Cake is an object, whereas the primaryKey will probably be assumed to be an int or string