# |
Jul 5th 2017, 08:54 |
neon1024 |
https://github.com/davidyell/CakePHP3-Proffer/blob/master/src/Model/Behavior/ProfferBehavior.php#L268 |
# |
Jul 5th 2017, 08:54 |
neon1024 |
Perhaps it means 268 |
# |
Jul 5th 2017, 08:53 |
neon1024 |
Well there is no line 271 |
# |
Jul 5th 2017, 08:53 |
neon1024 |
I suppose I should fire up Github and read line 271 then |
# |
Jul 5th 2017, 08:52 |
jarard01 |
multiple files works, I have made sure that the field is configured for a single upload |
# |
Jul 5th 2017, 08:52 |
jarard01 |
hi neon1024 - using your Proffer image upload plugin on a single file I am getting: rename(,C:\Users\webroot\img\links\image\db49f31d-2b84-4d59-a2ee-afd237185e23\lll.jpg): Invalid argument [ROOT\vendor\davidyell\proffer\src\Model\Behavior\ProfferBehavior.php, line 271] |
# |
Jul 5th 2017, 08:50 |
adriencs |
uh.. custom finder will do the trick |
# |
Jul 5th 2017, 08:48 |
adriencs |
It is possible to do a belongsToMany but instead of returning items for the DB, it return the count( ) of the items ? |
# |
Jul 5th 2017, 08:39 |
neon1024 |
Perhaps groupBy with a callback? |
# |
Jul 5th 2017, 08:39 |
neon1024 |
Apologies if it’s an obvious question, but I have an array of entities which I’m rendering in a table. I’d like to also use the same array to build a graph. So I need to use a Collection method to break out the entities by month. Which method should I use? They method names don’t make sense to my brain, so I have to go and read every one each time |
# |
Jul 5th 2017, 08:16 |
megan |
we also checked, hasnt affected anyone else which is good :slightly_smiling_face: you just found it lol |
# |
Jul 5th 2017, 08:15 |
neon1024 |
Ah cool, that’s good news :slightly_smiling_face: |
# |
Jul 5th 2017, 08:14 |
megan |
(btw we've had a look at that shipping - we just need to do a fix, will let you know!) |
# |
Jul 5th 2017, 08:14 |
dakota |
Morning |
# |
Jul 5th 2017, 08:13 |
megan |
Hey Neon1024 :slightly_smiling_face: |
# |
Jul 5th 2017, 08:09 |
neon1024 |
Good morning everyone |
# |
Jul 5th 2017, 07:02 |
mallick |
please confirm me that i have do right path for corn set in cpanel /home/myproject/public_html/beta andand bin/cake Test |
# |
Jul 4th 2017, 23:50 |
igreat |
Found a way to handle my question abaove |
# |
Jul 4th 2017, 23:18 |
slackebot |
Action: angelxmoreno wonders how great is Izu :thinking_face: |
# |
Jul 4th 2017, 23:16 |
igreat |
Would like to know if there is a way I can validate buildRules without saving the data or outside the save method |
# |
Jul 4th 2017, 23:12 |
angelxmoreno |
:face_with_rolling_eyes: |
# |
Jul 4th 2017, 23:12 |
angelxmoreno |
yes, it fails to tell me what it is |
# |
Jul 4th 2017, 23:08 |
phpnut |
Not working? |
# |
Jul 4th 2017, 23:07 |
angelxmoreno |
my CakeCamp is not working @phpnut |
# |
Jul 4th 2017, 22:43 |
NobbyNobbs |
but is this the intended behavior, or is it a configuration oversight on my part? I'm referring to including the token both in the headers and the body |
# |
Jul 4th 2017, 22:43 |
NobbyNobbs |
I can add a field called _Token to the data, no problem |
# |
Jul 4th 2017, 22:42 |
NobbyNobbs |
uhmmm a small question: I'm sending some data via JSON. I have added the X-CSRF-Token header, and it accepts the request. But upon getData, it throws error 400 "'_Token' was not found in request data." |
# |
Jul 4th 2017, 21:47 |
jeremyharris |
Glad you got it figured out @laureano ! |
# |
Jul 4th 2017, 21:40 |
laureano |
@jeremyharris Thank you for your support! I finally made a change to set a different sql_mode allowing zero dates. I used this as reference https://github.com/cakephp/cakephp/issues/9918 |
# |
Jul 4th 2017, 21:33 |
jigzat |
thanks I will look into it and come back |
# |
Jul 4th 2017, 21:32 |
cleptric |
Maybe this could help |
# |
Jul 4th 2017, 21:32 |
cleptric |
https://book.cakephp.org/3.0/en/controllers/components.html#aliasing-components |
# |
Jul 4th 2017, 21:32 |
jigzat |
yes |
# |
Jul 4th 2017, 21:31 |
cleptric |
And then you setup the same component twice |
# |
Jul 4th 2017, 21:31 |
cleptric |
I guess that your normal AppController is also initialized |
# |
Jul 4th 2017, 21:31 |
jigzat |
no, I haven't look into that |
# |
Jul 4th 2017, 21:30 |
jigzat |
but if I change the API's appcontroller configuration to digest the website works but of course the API doesnt |
# |
Jul 4th 2017, 21:30 |
cleptric |
Hm, I don’t now right away why this happens. Have you tried to put your api in a plugin? |
# |
Jul 4th 2017, 21:30 |
jigzat |
yes |
# |
Jul 4th 2017, 21:30 |
cleptric |
The api uses the prefix routing option I guess? |
# |
Jul 4th 2017, 21:29 |
jigzat |
though the API works |