# |
Jul 5th 2017, 09:51 |
neon1024 |
jarard01 Thanks, feel free to submit an issue if you find a bug :slightly_smiling_face: |
# |
Jul 5th 2017, 09:51 |
neon1024 |
@juststeveking Sounds a good opportunity to add a message to a message queue and process it later |
# |
Jul 5th 2017, 09:50 |
jarard01 |
no worries, nee dot run out but will take a look this afternoon, will let you know! |
# |
Jul 5th 2017, 09:50 |
neon1024 |
jarard01, Sorry, I’m not sure what else to suggest. I guess you’ll need to debug from your post on the form, to the post data, and then into the plugins behaviour to track what happens to the data |
# |
Jul 5th 2017, 09:45 |
juststeveking |
I have a dispatch filter running on before requests, which I'd rather trigger an event and not effect runtime |
# |
Jul 5th 2017, 09:44 |
juststeveking |
In cake2 can I run events as a background process? |
# |
Jul 5th 2017, 09:37 |
jarard01 |
changing that didn't help, I tired naming the field 'foo' but the outcome in the same |
# |
Jul 5th 2017, 09:28 |
neon1024 |
Which would cause ‘image’ to be empty, as the uploaded file would be in ‘iamge’ |
# |
Jul 5th 2017, 09:27 |
neon1024 |
Seems like you might have a typo |
# |
Jul 5th 2017, 09:27 |
neon1024 |
This is a red flag for me “type=“file” name=“image” id=“iamge”>” |
# |
Jul 5th 2017, 09:07 |
jarard01 |
my form mark-up is as follows, https://gist.github.com/spacebiscuit/0024650d9e6366f8d66de4b1ebc3338b |
# |
Jul 5th 2017, 08:58 |
jarard01 |
multipart/form-data with method post |
# |
Jul 5th 2017, 08:56 |
neon1024 |
Also checking that the form is [‘type’ => ‘file’] |
# |
Jul 5th 2017, 08:56 |
neon1024 |
Probably worth debugging the forms post data in the controller |
# |
Jul 5th 2017, 08:55 |
neon1024 |
Which comes from the upload array, which then points towards a problem with the POST data, and thus the form |
# |
Jul 5th 2017, 08:55 |
jarard01 |
yeah it seems the $file is empty |
# |
Jul 5th 2017, 08:55 |
neon1024 |
The first param is missing, which is the $file |
# |
Jul 5th 2017, 08:55 |
neon1024 |
If you read the error carefully, “rename(,C:\Us” |
# |
Jul 5th 2017, 08:54 |
neon1024 |
Most likely a path or permissions error would be my first guess :slightly_smiling_face: |
# |
Jul 5th 2017, 08:54 |
neon1024 |
Well, because Windows. |
# |
Jul 5th 2017, 08:54 |
jarard01 |
I will invetigate |
# |
Jul 5th 2017, 08:54 |
jarard01 |
thought it might be something obvious to you that I migh thave missed |
# |
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: |