# |
Jul 20th 2018, 19:40 |
jasmun |
I've updated the PATH, changed all the file permissions and double-checked that the file actually exists. :P |
# |
Jul 20th 2018, 19:39 |
jasmun |
I'm trying to install a cake app on a windows machine. I've downloaded the repository (which works fine on all other machines) and I keep getting this error: Class Object not found in /lib/Cake/Controller/Controller.php |
# |
Jul 20th 2018, 18:24 |
ra7bi |
i meant there is no clear example for beginner with plugins |
# |
Jul 20th 2018, 18:23 |
ra7bi |
I'm having a trouble with understanding the plugin it self , for example i want to create a plugin to change something on the page |
# |
Jul 20th 2018, 18:23 |
savant |
you can use bake to generate a plugin :) |
# |
Jul 20th 2018, 18:23 |
savant |
ra7bi: what are you having trouble with exactly? |
# |
Jul 20th 2018, 18:02 |
ra7bi |
is there any good course teaching me how to create cakephp 3 plugins ? i saw docs but i don't understand clearly how to get started |
# |
Jul 20th 2018, 17:47 |
birdy247 |
Should I be using ServerRequest or Request? |
# |
Jul 20th 2018, 15:44 |
birdy247 |
cheers |
# |
Jul 20th 2018, 15:44 |
birdy247 |
:slightly_smiling_face: |
# |
Jul 20th 2018, 15:44 |
birdy247 |
@neon1024 thanks! just saw that |
# |
Jul 20th 2018, 15:42 |
pedroseco |
:slightly_smiling_face: |
# |
Jul 20th 2018, 15:42 |
pedroseco |
thanks |
# |
Jul 20th 2018, 15:42 |
pedroseco |
ill have to flatten those. |
# |
Jul 20th 2018, 15:37 |
pedroseco |
as fot the views the data type aspect works great, unfortunatly I can’t seem to find a easy solution other than saving those fields on the database itself |
# |
Jul 20th 2018, 15:36 |
pedroseco |
so I have the object saved, and after that I can / should have a OR conditions to look for various fields in there. |
# |
Jul 20th 2018, 15:36 |
pedroseco |
not after the last query no. |
# |
Jul 20th 2018, 15:36 |
lorenzo |
and is the table you are going to look for also dynamic? you don’t know what the field is named? |
# |
Jul 20th 2018, 15:35 |
pedroseco |
I would prefet to ahve them as fields yes. |
# |
Jul 20th 2018, 15:35 |
pedroseco |
because its dynamic fields form a external api |
# |
Jul 20th 2018, 15:35 |
lorenzo |
no |
# |
Jul 20th 2018, 15:35 |
pedroseco |
does Mysql JSON_EXTRACT works in a text column? |
# |
Jul 20th 2018, 15:35 |
lorenzo |
but then again, why do that instead of just storing the field in the table itself? |
# |
Jul 20th 2018, 15:34 |
lorenzo |
you may want to change the datatype of that field to an actual json column |
# |
Jul 20th 2018, 15:34 |
lorenzo |
if you have stored it as a string (like in a varchar column, or text) then there is no way to find inside it |
# |
Jul 20th 2018, 15:29 |
pedroseco |
Im using Data Type Json so the results already come in array format and no tin json. |
# |
Jul 20th 2018, 15:29 |
pedroseco |
I have a json_encoded object in the database and would like to know what would be the best approuch to do a find() in the model where() a specific field on that json_object. |
# |
Jul 20th 2018, 15:28 |
pedroseco |
Hi Guys! |
# |
Jul 20th 2018, 13:35 |
neon1024 |
Assuming you meant ‘exists’ |
# |
Jul 20th 2018, 13:35 |
neon1024 |
Yes, https://github.com/davidyell/CakePHP3-Proffer/blob/master/src/Model/Behavior/ProfferBehavior.php#L59 |
# |
Jul 20th 2018, 12:31 |
birdy247 |
Is it possible to find if a given valitor exits |
# |
Jul 20th 2018, 12:08 |
neon1024 |
Well it’s not wrong `resource(174) of type (Unknown)` |
# |
Jul 20th 2018, 12:05 |
neon1024 |
Which might be unrelated |
# |
Jul 20th 2018, 12:05 |
neon1024 |
..and a lot of this `PHP Warning: fwrite(): supplied resource is not a valid stream resource in /Users/david/Sites/TelecomsCCA/vendor/cakephp/cakephp/src/Console/ConsoleOutput.php on line 253` |
# |
Jul 20th 2018, 12:04 |
neon1024 |
Just with a trace and sql errors |
# |
Jul 20th 2018, 12:04 |
neon1024 |
Currently it spaffs out a HUGE Wall-O-Text |
# |
Jul 20th 2018, 12:04 |
neon1024 |
I think there could be some improvements made to when Migrations fail to run |
# |
Jul 20th 2018, 11:30 |
lubos |
@admad thanks for another great plugin, works like a charm |
# |
Jul 20th 2018, 11:27 |
josbeir |
very nice ux |
# |
Jul 20th 2018, 11:27 |
josbeir |
@neon1024 that tool is actually very good imo |
# |
Jul 20th 2018, 11:20 |
admad |
@lubos yes using muffin/orderly |