# |
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 |
# |
Dec 7th 2017, 22:04 |
nate |
mdunham: Different nate, I'm not the cakephp nate |
# |
Dec 7th 2017, 22:03 |
meder |
yes |
# |
Dec 7th 2017, 22:03 |
mdunham |
8====3~~~~ |
# |
Dec 7th 2017, 22:03 |
saeideng |
custom event ? |
# |
Dec 7th 2017, 22:03 |
meder |
actually i put a dd in the event itself - might need to use a logger |
# |
Dec 7th 2017, 22:02 |
meder |
no errors.. |
# |
Dec 7th 2017, 22:02 |
meder |
is there a way to debug a dispatch event not firing the event? |
# |
Dec 7th 2017, 22:01 |
saeideng |
if DB is OK , tell your problem |
# |
Dec 7th 2017, 22:00 |
saeideng |
first try in DB |
# |
Dec 7th 2017, 21:59 |
mdunham |
mark story!! |
# |
Dec 7th 2017, 21:59 |
mdunham |
i think its https://github.com/cakephp/cakephp/issues/10233 |
# |
Dec 7th 2017, 21:57 |
mdunham |
@nate sup bro |
# |
Dec 7th 2017, 21:54 |
mdunham |
!bin |
# |
Dec 7th 2017, 21:53 |
mdunham |
:D |
# |
Dec 7th 2017, 21:53 |
mdunham |
steve!!! |
# |
Dec 7th 2017, 21:52 |
mdunham |
anyone around? |
# |
Dec 7th 2017, 21:52 |
mdunham |
its rounding |