# |
Apr 3rd 2019, 18:48 |
lepidottero |
Well, I'm having a problem updating data and getting it back. The problem is that, when I query again the data the returned entity has the old data while the changed field with the correct |
# |
Apr 3rd 2019, 18:35 |
rochasmarcelo |
yes |
# |
Apr 3rd 2019, 18:31 |
lepidottero |
Hi all! Is this the right place to have help on CakePHP 3 ? |
# |
Apr 3rd 2019, 16:17 |
asdfgh |
guys a good image upload plugin for cakephp 3.7 ? |
# |
Apr 3rd 2019, 15:35 |
neon1024 |
If you’re expecting the file, it’s clearly not been copied onto the server |
# |
Apr 3rd 2019, 15:32 |
kieran.bowler |
Thanks @neon1024 I'll check the routes. @ricksaccous yeah as far as I can tell my nginx setup is all good. |
# |
Apr 3rd 2019, 15:28 |
birdy247 |
Googles framework for cross platform Apps |
# |
Apr 3rd 2019, 15:28 |
birdy247 |
App |
# |
Apr 3rd 2019, 15:28 |
neon1024 |
Ooh, what are those? I haven’t heard of them |
# |
Apr 3rd 2019, 15:26 |
birdy247 |
Looking at flutter and dart now :slightly_smiling_face: |
# |
Apr 3rd 2019, 15:26 |
birdy247 |
but you know what I mean |
# |
Apr 3rd 2019, 15:26 |
birdy247 |
wrong word |
# |
Apr 3rd 2019, 15:25 |
birdy247 |
"easy" |
# |
Apr 3rd 2019, 15:25 |
birdy247 |
its pretty easy once you get above the clouds |
# |
Apr 3rd 2019, 15:25 |
neon1024 |
The interface for the guys in the call centre is all vue |
# |
Apr 3rd 2019, 15:25 |
birdy247 |
Similar here |
# |
Apr 3rd 2019, 15:25 |
birdy247 |
:+1: |
# |
Apr 3rd 2019, 15:25 |
neon1024 |
S’all good thanks, done a third project now which is up in prod |
# |
Apr 3rd 2019, 15:24 |
birdy247 |
How are you going with vue by the way? |
# |
Apr 3rd 2019, 15:24 |
neon1024 |
Probably variations on the same theme I would imagine |
# |
Apr 3rd 2019, 15:24 |
birdy247 |
will look at array_intersect |
# |
Apr 3rd 2019, 15:23 |
birdy247 |
I used array_diff and extract, as it was only part of the entity |
# |
Apr 3rd 2019, 15:23 |
birdy247 |
nice |
# |
Apr 3rd 2019, 15:23 |
neon1024 |
@birdy247 Also you could just do `array_intersect($first->toArray(), $second->toArray())` I reckon |
# |
Apr 3rd 2019, 15:22 |
neon1024 |
@birdy247 It gets very complicated if you also compare associations! |
# |
Apr 3rd 2019, 15:22 |
neon1024 |
@kieran.bowler I would suggest that your routes.php file still has `/` configured to load the PagesController |
# |
Apr 3rd 2019, 15:20 |
birdy247 |
extract and array diff :+1: |
# |
Apr 3rd 2019, 15:11 |
birdy247 |
Looking to compare 2 entities, trying to think of the most effieict way |
# |
Apr 3rd 2019, 15:09 |
gapiangco |
if yes, follow what @admad said and change the column field's data type from `boolean` to `string` (or varchar) |
# |
Apr 3rd 2019, 15:07 |
gapiangco |
@isaiah, do you mean changing the saved value IN the Database? |
# |
Apr 3rd 2019, 15:05 |
WAGWAN |
Hello |
# |
Apr 3rd 2019, 14:24 |
ricksaccous |
on prod? |
# |
Apr 3rd 2019, 14:24 |
ricksaccous |
is your nginx/apache set up correctly |
# |
Apr 3rd 2019, 13:59 |
kieran.bowler |
Hi all, I'm having an issue on my production server. I'm just getting it setup now - works fine locally but on prod I'm getting: That file does exist though :S |
# |
Apr 3rd 2019, 13:59 |
isaiah |
please how can i do it |
# |
Apr 3rd 2019, 13:58 |
admad |
or in your view check the boolean value and show text value accordingly |
# |
Apr 3rd 2019, 13:58 |
admad |
don't use boolean if you want to save text label |
# |
Apr 3rd 2019, 13:57 |
isaiah |
it saves as 0 in the database i will like to save as the label instead of 0 because the user will not understand what 0 means they want to see the value they checked |
# |
Apr 3rd 2019, 13:56 |
admad |
@development route priority depends on the order in which routes are connected |
# |
Apr 3rd 2019, 13:55 |
admad |
isaiah: change to what value and why? |
# |
Apr 3rd 2019, 13:25 |
isaiah |
so how can i change it to the value because the user will not understand |