# |
Nov 29th 2017, 01:42 |
obinoob |
anyone around? |
# |
Nov 29th 2017, 01:42 |
obinoob |
Can't spot anything wrong... but query is getting extra null places on values!?! |
# |
Nov 29th 2017, 01:41 |
obinoob |
$conn->newQuery()->insert(['name', 'nif'])->into('clients')->values([$data->new_client_name, $data->new_client_nif])->execute(); |
# |
Nov 29th 2017, 01:40 |
obinoob |
don't know why I'm starting to think that cake query builder has some kind of bug... this code should run but instead I'm getting: value list does not match column list! And I can spot a malformed query... but not sure if it's me check this out |
# |
Nov 29th 2017, 01:37 |
obinoob |
can I discard columns using query builder to insert new registry? |
# |
Nov 29th 2017, 00:27 |
inoas |
neither rsync nor nfs really work ... always caching or permission issues, this time everything worked for days and then suddenly stopped |
# |
Nov 29th 2017, 00:26 |
inoas |
vagrant ... |
# |
Nov 29th 2017, 00:26 |
inoas |
I really need to look into docker |
# |
Nov 29th 2017, 00:15 |
inoas |
but only if I enable debug true |
# |
Nov 29th 2017, 00:06 |
inoas |
whut |
# |
Nov 29th 2017, 00:06 |
inoas |
on failing modelless form validations |
# |
Nov 29th 2017, 00:06 |
inoas |
weirdo behavior or my vagrant box... 503... |
# |
Nov 28th 2017, 23:51 |
inoas |
ah... i get it |
# |
Nov 28th 2017, 23:51 |
inoas |
requirePresence seems to not work either oo |
# |
Nov 28th 2017, 23:49 |
joopm |
yooo |
# |
Nov 28th 2017, 23:48 |
inoas |
https://api.cakephp.org/3.4/source-class-Cake.Validation.Validator.html#977 |
# |
Nov 28th 2017, 23:48 |
inoas |
does this work for you on modelless forms? |
# |
Nov 28th 2017, 21:38 |
Yorsh |
Hi! |
# |
Nov 28th 2017, 19:27 |
inoas |
hmic maybe of interest for you https://github.com/cakephp/cakephp/issues/11471#issuecomment-347610996 |
# |
Nov 28th 2017, 18:54 |
obinoob |
I'm sending a map through ajax using post method, I believe that the problem is in the map structure I thought that the maps would be converted to array but $this->request->data is not doing it and json_decode either not... this is my js code: https://gist.github.com/anonymous/a053ee37c1f291f455b5848f22be229a |
# |
Nov 28th 2017, 18:53 |
chris802 |
Is there a way to use foreignKey AND associationForeignKey when setting hasMany similar to the way you set hasAndBelongsToMany? I'm using bindModel to add hasMany but somehow the system is mixing up keys between the models and I'm seeing some results that shouldn't have been pulled from the database. |
# |
Nov 28th 2017, 18:48 |
spitfire2 |
Hello? |
# |
Nov 28th 2017, 17:51 |
joopm |
also the teachers |
# |
Nov 28th 2017, 17:50 |
joopm |
its shows the coteachers by the associations |
# |
Nov 28th 2017, 17:50 |
joopm |
but i can see if debug($this->teachers) |
# |
Nov 28th 2017, 17:49 |
joopm |
ohm still not good by changeing class to className |
# |
Nov 28th 2017, 17:49 |
casmo |
Search for 'UnapprovedComments' |
# |
Nov 28th 2017, 17:48 |
casmo |
Joop: Check the documentation: https://book.cakephp.org/3.0/en/orm/associations.html# |
# |
Nov 28th 2017, 17:47 |
joopm |
oh Teacher was just a misspelling thank you |
# |
Nov 28th 2017, 17:42 |
casmo |
And use Teachers instead of Teacher in your first association |
# |
Nov 28th 2017, 17:42 |
casmo |
Joop, you should use className instead of class. |
# |
Nov 28th 2017, 17:34 |
joopm |
do you have any idea? |
# |
Nov 28th 2017, 17:21 |
obinoob |
neon1024 not sure whats happening really the data is coming from a ajax request it's hard to debug... |
# |
Nov 28th 2017, 17:15 |
joopm |
what can be wrong? |
# |
Nov 28th 2017, 17:08 |
joopm |
here is the tables https://pastebin.com/8WfJLiNt |
# |
Nov 28th 2017, 17:07 |
rudy1976s |
because i need to have a different setup for every combination of themes and I have a plugin used to configure settings so i was wondering if there would be a way to configure that ini from another plugin and reference it from there |
# |
Nov 28th 2017, 17:05 |
rudy1976s |
sorry typo: ini file |
# |
Nov 28th 2017, 17:03 |
neon1024 |
Do you mean the plugin bootstrap? |
# |
Nov 28th 2017, 17:03 |
neon1024 |
What’s an init file? |
# |
Nov 28th 2017, 17:03 |
rudy1976s |
I am trying to install mark story's asset compress: is there a way to configure the init file in a plugin ? |
# |
Nov 28th 2017, 17:02 |
rudy1976s |
Good evening |