# |
May 25th 2016, 17:29 |
a.barclay |
Anyone available who can help with a Paginator issue? |
# |
May 25th 2016, 17:19 |
Human_G33k |
*know |
# |
May 25th 2016, 17:18 |
Human_G33k |
do you why and if i should gitignore vendor/* ? |
# |
May 25th 2016, 17:01 |
ionas |
In case anyone is up for board games I got Spyfall, Good Cop Bad Cop, Cockroach Poker and Cosmic Encounter with me. just highlight/pm me here or on facebook |
# |
May 25th 2016, 16:47 |
ionas |
anyone up for some board or card games tonite? |
# |
May 25th 2016, 16:41 |
ionas |
query for a sec |
# |
May 25th 2016, 16:41 |
ionas |
yeah it also took me 30mins to get online after getting here because I am just tired |
# |
May 25th 2016, 16:41 |
ionas |
lol |
# |
May 25th 2016, 16:40 |
hmic |
i've spend hundreds on ebay in the meantime... |
# |
May 25th 2016, 16:40 |
hmic |
wow, took longer than expected... |
# |
May 25th 2016, 16:38 |
ionas |
hmic: finally at my place |
# |
May 25th 2016, 16:33 |
ypnos |
$this->connection()->newQuery()->select(1); this works |
# |
May 25th 2016, 16:32 |
ypnos |
Uncaught Error: Call to a member function sql() on string in /srv/http/LIMS/app/vendor/cakephp/cakephp/src/Database/QueryCompiler.php:274 |
# |
May 25th 2016, 16:31 |
ypnos |
no it doesn't it gives a "can't do stuff on string" error |
# |
May 25th 2016, 16:29 |
nemmons |
@ypnos i think ->union("SELECT 1") should work? |
# |
May 25th 2016, 16:26 |
ypnos |
how to do that.. basically having ->union(â?¦) where â?¦ is a Query object that only contains "SELECT 1" |
# |
May 25th 2016, 16:25 |
ypnos |
I want to add UNION (SELECT 1) to a query |
# |
May 25th 2016, 15:15 |
phpcoder |
why the conditions of a table i used on through option of an association of another table i not used |
# |
May 25th 2016, 14:28 |
hmic |
?! |
# |
May 25th 2016, 14:28 |
flangofas |
thanks guys :) |
# |
May 25th 2016, 14:27 |
flangofas |
hmic: next time, i will stick the reason too :) |
# |
May 25th 2016, 14:27 |
hmic |
i certainly think cake should implement a default file type to overcome theese problems, they happen often, to many ppl |
# |
May 25th 2016, 14:26 |
admad |
that always is :slightly_smiling_face: |
# |
May 25th 2016, 14:26 |
hmic |
i did read that, but supposed he knows how it works. |
# |
May 25th 2016, 14:26 |
hmic |
so still, "why" was the right thing to ask... ;) |
# |
May 25th 2016, 14:25 |
admad |
"move the uploading logic" |
# |
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 |