# |
Dec 8th 2017, 11:44 |
birdy247 |
I have this |
# |
Dec 8th 2017, 11:44 |
birdy247 |
Can pgaintae have multiple order clauses? |
# |
Dec 8th 2017, 11:22 |
joopm |
okey thank you |
# |
Dec 8th 2017, 11:20 |
hmic |
a login does usually not do that |
# |
Dec 8th 2017, 11:20 |
hmic |
you need to save an entity for the field to get updated |
# |
Dec 8th 2017, 11:20 |
hmic |
saved! |
# |
Dec 8th 2017, 11:20 |
joopm |
will this enough to update the 'update' field when the user is inlogged? |
# |
Dec 8th 2017, 11:19 |
joopm |
if i have this line in the UsersTable : $this->addBehavior('Timestamp'); |
# |
Dec 8th 2017, 11:19 |
joopm |
okey thank you |
# |
Dec 8th 2017, 11:17 |
hmic |
either or |
# |
Dec 8th 2017, 11:17 |
joopm |
is that right that 'updated' and 'modified' fields are both them correct to use for timestamp behaviour? |
# |
Dec 8th 2017, 11:16 |
joopm |
ello there |
# |
Dec 8th 2017, 09:03 |
birdy247 |
Works a treat |
# |
Dec 8th 2017, 09:03 |
birdy247 |
:slightly_smiling_face: |
# |
Dec 8th 2017, 08:51 |
hmic |
so you can access the file array php provides you with |
# |
Dec 8th 2017, 08:51 |
hmic |
validation runs before marshalling |
# |
Dec 8th 2017, 08:46 |
birdy247 |
Hopefully I can get the headers from the imported file in there |
# |
Dec 8th 2017, 08:44 |
hmic |
yes |
# |
Dec 8th 2017, 08:40 |
birdy247 |
This would be a custom validation rule? |
# |
Dec 8th 2017, 08:39 |
birdy247 |
I want to move this into a validation rule |
# |
Dec 8th 2017, 08:38 |
birdy247 |
I also perform a check in the controller to see if the file contains specific headers |
# |
Dec 8th 2017, 08:38 |
birdy247 |
I currently validate on the file type, mime type etc.. |
# |
Dec 8th 2017, 08:38 |
birdy247 |
I allow a user to upload a excel file |
# |
Dec 8th 2017, 08:37 |
birdy247 |
Morning |
# |
Dec 8th 2017, 08:26 |
admad |
seems the query size is exceedingly the limit set in your mysql server |
# |
Dec 8th 2017, 08:15 |
makallio85 |
Tried already disable AV software but no success. Couldn't find anything that much related for this issue from google |
# |
Dec 8th 2017, 08:14 |
makallio85 |
Any idea, why am I getting this kinda error https://gist.github.com/makallio85/3052aa70d5e93e44a52ce5d55e873271 My setup is quite a basic XAMPP installation with win7, PHP7.1 and MariaDB 10.1.28 |
# |
Dec 8th 2017, 00:07 |
meder |
ah. had to register it in bootstrap |
# |
Dec 7th 2017, 23:59 |
meder |
but what do i have to do to get it to work though? |
# |
Dec 7th 2017, 23:57 |
meder |
oh, it's bc its in a different plugin |
# |
Dec 7th 2017, 23:38 |
meder |
sorry - to creating an EVent |
# |
Dec 7th 2017, 23:37 |
meder |
the second param is the context.. is it even necessary? |
# |
Dec 7th 2017, 23:37 |
meder |
but not controller? hm |
# |
Dec 7th 2017, 23:37 |
meder |
i found that when i dispatched it from a table/model, it worked |
# |
Dec 7th 2017, 23:29 |
meder |
saeideng: implementedEvents yes - no typo in the code sorry |
# |
Dec 7th 2017, 22:27 |
saeideng |
implemenetedEvents? |
# |
Dec 7th 2017, 22:09 |
meder |
hm |
# |
Dec 7th 2017, 22:09 |
meder |
callback fires, i put a Log::error() in the function referenced in implemenetedEvents and it never logs.. |
# |
Dec 7th 2017, 22:05 |
saeideng |
`EventManager::instance()->on(...) ` |
# |
Dec 7th 2017, 22:04 |
meder |
if I even typo the event itself, $event builds it. is there no valiation? |
# |
Dec 7th 2017, 22:04 |
mdunham |
nate abele |