Log message #4159384

# At Username Text
# Jul 16th 2018, 16:27 Imdad also I'm on CakePHP 3.3
# Jul 16th 2018, 16:27 Imdad but a Model
# Jul 16th 2018, 16:27 Imdad I mean a real db table
# Jul 16th 2018, 16:26 Imdad I don't want a table
# Jul 16th 2018, 16:23 chikore Imdad, you can store the Stringified JSON in a table
# Jul 16th 2018, 16:17 Imdad can anyone help?
# Jul 16th 2018, 16:16 Imdad Saving won't be an issue if get the Model working without a real database table
# Jul 16th 2018, 16:16 Imdad I want to create a model (Table/Entity) to store json data which could then be saved in MongoDB later. I'm using CakePHP 3.3
# Jul 16th 2018, 16:14 Imdad Hi
# Jul 16th 2018, 16:02 zmurphy Hmm, seems to be related to the duration. +5 minutes causes an error but +60 minutes works. Is there a minimum duration for File caches?
# Jul 16th 2018, 15:55 zmurphy Ah okay, yeah I disabled debugkit and now the error originates from the query cacher like I would expect. Still not sure why FileEngine's file is null for this particular configuration though
# Jul 16th 2018, 15:53 neon1024 It has a Cache panel.
# Jul 16th 2018, 15:53 zmurphy Actually, looking at my stack trace, the file engine write is originating in debug engine. Why is caching a query going through debug engine?
# Jul 16th 2018, 15:38 neon1024 Although I’m happy to be proven wrong
# Jul 16th 2018, 15:38 neon1024 “Can you show code?”
# Jul 16th 2018, 15:37 neon1024 Ususally, in my experience, these questions lead to you giving a solution, and then are swiftly followed by “Can you give example?”
# Jul 16th 2018, 15:37 neon1024 If you want people to Google for you, head over to https://www.mturk.com/
# Jul 16th 2018, 15:36 ricksaccous yeah that's more a front end issue @dwms
# Jul 16th 2018, 15:36 ricksaccous lol
# Jul 16th 2018, 15:35 neon1024 @ricksaccous I assume that @dwms wants to put a 360 degree panning picture on a website. I have no idea why they haven’t just googled for some javascript to do that yet, but there you are.
# Jul 16th 2018, 15:33 zmurphy File uploaded https://cakesf.slack.com/files/U391GK6ES/FBR5F6E2X/-.m / https://slack-files.com/T053DPNCM-FBR5F6E2X-1930261b6b - Anyone know why $this-andgt;_File would be null in FileEngine? It only happens with this one configuration, the others work fine so far.
# Jul 16th 2018, 15:33 ricksaccous what is 360ph?
# Jul 16th 2018, 15:31 dwms help
# Jul 16th 2018, 15:31 dwms to put a 360ph picture with cakephp on the website, how?
# Jul 16th 2018, 15:31 dwms help me
# Jul 16th 2018, 15:30 zmurphy Finally got the flock() error to reoccur. It's happening on line 157 of FileEngine.php
# Jul 16th 2018, 15:12 Martin` but the tree behavior does not has a feature to automatic order by name, I was wondering that
# Jul 16th 2018, 14:48 Martin` still running
# Jul 16th 2018, 14:48 Martin` and a reorder takes a while :P
# Jul 16th 2018, 14:45 Martin` tree is ordered by name
# Jul 16th 2018, 14:44 Martin` I think it is stupid to fully reorder a tree when you add a few items, it is better to just add them to the right positions in tree :)
# Jul 16th 2018, 14:44 dereuromark depends on what parent you give it, but yeah I would think so
# Jul 16th 2018, 14:40 Martin` dereuromark: ah but by default it is added at the bottom?
# Jul 16th 2018, 14:36 itmpls nice - i think i botched it when I tried that. thanks :slightly_smiling_face:
# Jul 16th 2018, 14:36 ricksaccous that sounds better heh
# Jul 16th 2018, 14:35 neon1024 I would use a plugin route -> https://book.cakephp.org/3.0/en/development/routing.html#plugin-routing
# Jul 16th 2018, 14:35 ricksaccous i think
# Jul 16th 2018, 14:35 ricksaccous $routes->connect('/:controller/:action', ['plugin' => 'Foo']); I think if it's not prefixed it will be hard if it is then just put that in
# Jul 16th 2018, 14:28 itmpls ?
# Jul 16th 2018, 14:28 itmpls where i want all /users routes to feed into that plugin/controller and respective action
# Jul 16th 2018, 14:28 itmpls how can I change this into a more dynamic route? $routes->connect('/users/register', ['plugin' => 'Foo', 'controller' => 'Foo', 'action' => 'register']);