# |
Apr 24th 2019, 16:07 |
yamcomnet |
I have activated Security component and CSRF middleware. Seems to be working. Now i have problem for disabling it for some actions. I do controller beforeFilter like this. No Joy :( |
# |
Apr 24th 2019, 16:06 |
asdfgh |
when i have installed it |
# |
Apr 24th 2019, 16:06 |
asdfgh |
it comes with cakephp/app |
# |
Apr 24th 2019, 16:05 |
asdfgh |
old ? |
# |
Apr 24th 2019, 16:05 |
asdfgh |
"cakephp/migrations": "^2.0.0", |
# |
Apr 24th 2019, 16:05 |
asdfgh |
neon1024 no |
# |
Apr 24th 2019, 16:04 |
neon1024 |
Hometime! :wave: |
# |
Apr 24th 2019, 16:04 |
neon1024 |
https://book.cakephp.org/3.0/en/phinx/migrations.html#working-with-columns |
# |
Apr 24th 2019, 16:04 |
neon1024 |
LMGTFY |
# |
Apr 24th 2019, 16:03 |
neon1024 |
Well it might have been generated in an older version of the migrations plugin perhaps? |
# |
Apr 24th 2019, 16:02 |
asdfgh |
neon1024 ok so our migration_snapshot is bugged |
# |
Apr 24th 2019, 16:01 |
neon1024 |
I even think it’s a pseudo-type in MySQL actually :thinking_face: |
# |
Apr 24th 2019, 16:01 |
neon1024 |
It’s just not a valid type in Phinx :slightly_smiling_face: |
# |
Apr 24th 2019, 16:01 |
neon1024 |
Nope |
# |
Apr 24th 2019, 16:00 |
asdfgh |
is this tinyinteger error a bug? |
# |
Apr 24th 2019, 15:57 |
neon1024 |
I think the ajax voting might be a good one to try out for bug finding |
# |
Apr 24th 2019, 15:56 |
neon1024 |
I pushed my code up though |
# |
Apr 24th 2019, 15:56 |
neon1024 |
However I need to build a new feature for another project now |
# |
Apr 24th 2019, 15:56 |
neon1024 |
Me too! |
# |
Apr 24th 2019, 15:48 |
admad |
BTW I was hoping you would find more 4.x bugs for us to fix :P |
# |
Apr 24th 2019, 15:46 |
admad |
You rang? |
# |
Apr 24th 2019, 15:29 |
neon1024 |
At least until ADmad comes back |
# |
Apr 24th 2019, 15:29 |
neon1024 |
In the comfy chair! |
# |
Apr 24th 2019, 15:29 |
neon1024 |
Over here :wave: |
# |
Apr 24th 2019, 15:28 |
asdfgh |
neon1024? |
# |
Apr 24th 2019, 15:27 |
neon1024 |
I believe it’s `bool` |
# |
Apr 24th 2019, 15:13 |
asdfgh |
could it be a bug? |
# |
Apr 24th 2019, 15:13 |
asdfgh |
hey, maybe i found a bug in migration....i have created a snapshot of the entire database and when i try do to migrations migrate i get: [InvalidArgumentException] An invalid column type "tinyinteger" was specified for column "id" |
# |
Apr 24th 2019, 15:02 |
this.impetus |
and as a final detail, if anyone's still listening lol, using `curl` on the generated URL now returns literally nothing, since addressed the deprecated functions |
# |
Apr 24th 2019, 14:59 |
this.impetus |
enh. fixed the controller to non-deprecated functions. ceases to throw warnings but otherwise unchanged |
# |
Apr 24th 2019, 14:57 |
this.impetus |
Is it just the deprecation warnings screwing things up? It's easy enough to update the plugin myself |
# |
Apr 24th 2019, 14:54 |
this.impetus |
I am terribly confused by the output of that, and it's jsut the same as I get by pointing a browser at the route directly; http://kleinlab.psychology.dal.ca/klein2/thumb/ZWVkNzM5ZWRlM2Y5ZWI1N2YzNTVkYWZjNGM3ZjBkODRfMGZkMDRiZjRmZTc0NzcxNjgyYzdhYzk0NmIxNGEwNTguanBn is the actual link, nothing there I'm too worried about exposing if you're willing to take a peak? |
# |
Apr 24th 2019, 14:51 |
this.impetus |
sec |
# |
Apr 24th 2019, 14:51 |
neon1024 |
Try hitting it with `curl` |
# |
Apr 24th 2019, 14:51 |
this.impetus |
The latter rings true |
# |
Apr 24th 2019, 14:51 |
neon1024 |
Or it could be that the Controller serving the response isn’t setting the correct Content-Type header |
# |
Apr 24th 2019, 14:50 |
neon1024 |
Well your issue sounds like it might be a web server issue |
# |
Apr 24th 2019, 14:49 |
this.impetus |
hrmm. maybe I'll look into Invervention directly and see if I can spare myself debugging this, ty |
# |
Apr 24th 2019, 14:47 |
neon1024 |
Cool, I like Intervention Image anyway :P |
# |
Apr 24th 2019, 14:47 |
neon1024 |
Who knows, I’m playing devils advocado, as I’ve not used the Thumber plugin |
# |
Apr 24th 2019, 14:47 |
neon1024 |
If it did point to the file the file would be served |