# |
May 25th 2016, 14:25 |
hmic |
but probably you are right, thats the origin of his questions |
# |
May 25th 2016, 14:25 |
hmic |
he did not ask about that, but about event and request stuff |
# |
May 25th 2016, 14:25 |
admad |
that's why referring to upload plugin is better |
# |
May 25th 2016, 14:24 |
admad |
right, so without custom type he will keep head banging why he doesn't see the file data in event :slightly_smiling_face: |
# |
May 25th 2016, 14:23 |
hmic |
admad true. but you dont use events on that, but a custom Type |
# |
May 25th 2016, 14:22 |
admad |
hmic: one imp. thing to remember in case of file uploading is ensuring that marshalling doesnt wipe out the file info, "blame" won't show that |
# |
May 25th 2016, 14:22 |
a.barclay |
@admad Can you help me with my issue? I originally reported it to GitHub as a bug but devs said it was not, however I've had no luck trying to resolve what the actual problem is. |
# |
May 25th 2016, 14:21 |
hmic |
this is the cleanroom implementation i think, it does not get easier/clearer |
# |
May 25th 2016, 14:21 |
hmic |
i'd rather point him to ceeram/blame |
# |
May 25th 2016, 14:21 |
flangofas |
i setup an event in afterSave but i guess that is not the right place. |
# |
May 25th 2016, 14:19 |
admad |
checkout how the cakephp-upload plugin does it |
# |
May 25th 2016, 14:19 |
hmic |
you can setup an event accordingly and provide any data you like |
# |
May 25th 2016, 14:16 |
flangofas |
currently, i use a trait in a AppController but i prefer to handle this in the afterSave and keep my controller thin. |
# |
May 25th 2016, 14:15 |
flangofas |
hmic: I wanted to move the uploading logic in the events. |
# |
May 25th 2016, 14:11 |
hmic |
!tell flangofas about why |
# |
May 25th 2016, 14:10 |
flangofas |
thanks admad. |
# |
May 25th 2016, 14:09 |
admad |
models don't know anything about request, so no |
# |
May 25th 2016, 14:08 |
flangofas |
Hi, is there any way to get the whole request data that was posted in afterSave callback? |
# |
May 25th 2016, 14:04 |
ankr |
Have a good fest everyone. Hope to be there next year. Guess we'll hear from some of you in here. |
# |
May 25th 2016, 13:56 |
hmic |
admad: i'll bring the map with me to show around ;-) |
# |
May 25th 2016, 13:51 |
nemmons |
if it's a query object, i think you might be able to do $query->where(null, null, true) to overwrite any previously set conditions on the query object. This is just a guess, though, based on a quick reading of the where() method (http://api.cakephp.org/3.2/source-class-Cake.Database.Query.html#692-813) |
# |
May 25th 2016, 13:51 |
a.barclay |
I'm having real issues with Paginator throwing a "PDOException" and I can't see where I'm going wrong. Am using a somewhat complex relationship with a custom finder but it works for the rest of the app, just not when I use it with Paginator. Can anyone help? |
# |
May 25th 2016, 13:48 |
binary |
. |
# |
May 25th 2016, 13:45 |
binary |
Please, is it possible to have two login module (tables). Say Users (for school administrators) and students (for students). NB: I prefer not to have one users table for all of them. |
# |
May 25th 2016, 13:45 |
nemmons |
ypnos is this a Cake 3 query object or is it a string containing a sql statement |
# |
May 25th 2016, 13:44 |
admad |
binary: you should use a single table for authentication. They use extra profile tables to hold other info based on user type |
# |
May 25th 2016, 13:42 |
ypnos |
I know its wording |
# |
May 25th 2016, 13:42 |
ypnos |
easiest way to remove it? |
# |
May 25th 2016, 13:42 |
ypnos |
I have a where clause in a query |
# |
May 25th 2016, 13:42 |
admad |
@nemmons: yeah you had already done the difficult part to tracking down the cause of the problem. After then fix was simple |
# |
May 25th 2016, 13:41 |
binary |
Please, is it possible to have two login module (tables). Say Users (for school administrators) and students (for students). NB: I prefer not to have one users table for all of them. |
# |
May 25th 2016, 13:40 |
admad |
thanks for reporting :slightly_smiling_face: |
# |
May 25th 2016, 13:40 |
nemmons |
@admad thanks very much for fixing the issue i reported in Muffin.Footprint. |
# |
May 25th 2016, 13:38 |
admad |
hmic: i am curious which places are marked with that pink triangle besides say gay clubs |
# |
May 25th 2016, 13:28 |
stopMe |
Does anyboy know why I am always getting "The provided value is invalid" during email validation. I have setted up another text in Model/Table/UserTable Validation for email but I still getting "The provided value is invalid" plus my custom defined message? Does anybody know why? |
# |
May 25th 2016, 13:25 |
Eax |
Hey folks! Cake3 question: I have this LoginController: https://gist.github.com/eaxexe/64442df2e6465a67fe7a0fcd98ad27f7 (It uses Facebook to auth the login, hence no password checking) - My question is: Can anyone see why the cookie simply dissapears after being set and the user being redirected? Thanks! ð??? |
# |
May 25th 2016, 13:25 |
dereuromark |
No I will not. You must be able to find it on your own in the awesome list, as everyone else does :slightly_smiling_face: |
# |
May 25th 2016, 13:24 |
mandeepkhaleriya |
@ dereuromark so please send me link here for that particular plugin |
# |
May 25th 2016, 13:21 |
dereuromark |
mandeepkhaleriya: there is a geo plugin around that |
# |
May 25th 2016, 13:16 |
lee_ |
I'm trying to implement the bookmarking tutorial part 2, but get a 'Session was already started' error when trying to login. Any pointers? |
# |
May 25th 2016, 13:14 |
stopMe |
Where is located text for validation? If I type email like email@email without .com etc I got error like "The provided value is invalid" and where I can change this text |