Log message #3941999

# At Username Text
# Oct 4th 2016, 02:11 froodley there's only one entry in the routing, Router::connect('/', array('controller' => 'users', 'action' => 'login'));
# Oct 4th 2016, 02:11 froodley this is cake 2
# Oct 4th 2016, 02:10 froodley like if I go <domain>/asdf, I get AsdfController could not be found.
# Oct 4th 2016, 02:10 froodley instead of throwing 404s, one of my apps is throwing 500s when it can't find a controller
# Oct 4th 2016, 02:10 froodley Hello... having a strange problem...
# Oct 4th 2016, 01:49 waspinator and seemingly only in the shell. I'm probably doing something different than when I'm calling it from a controller
# Oct 4th 2016, 01:48 waspinator it's just a really strange bug, that it works as long as you do it every 1-2 minutes. any faster and it fails
# Oct 4th 2016, 01:48 waspinator yeah that makes sense. I'll look into it and maybe try other html to pdf options that cakepdf supports.
# Oct 4th 2016, 01:46 ndm @waspinator That's a kinda wkhtmltopdf specific problem, you may get better help if you isolate the problem and ask wkhtmltopdf folks for help. Given the stuff you can find around the net, this is likely related to (external) assets in one way or another. https://github.com/wkhtmltopdf/wkhtmltopdf/issues/2051
# Oct 4th 2016, 01:35 waspinator good night
# Oct 4th 2016, 01:34 robodna Yes, I'm asking for the purpose of discovering the lowest common denominator for my API code.
# Oct 4th 2016, 01:34 waspinator http://discourse.cakephp.org/t/cakepdf-not-working-in-a-shell/1275
# Oct 4th 2016, 01:34 waspinator I'm trying to get cakepdf to work from a shell, but I've come across a strange error. I can get it to run once every few minutes. otherwise it won't work. anyone tried running cakepdf from a shell?
# Oct 4th 2016, 01:31 slackebot1 myself ok.
# Oct 4th 2016, 01:31 robodna I see many APIs only partially implement REST, typically for crud, and then hobble together RPC calls for loose ends. I realize I'm beating a dead horse but I want to just drop the REST idea if it cannot be fully implemented. It boils down to deciding if I want to use conventional cakephp controller/actions ( RPC ) or creating more cakephp controllers to act as REST resource 'nouns' to do the work actions would normally do. hope i'm ex
# Oct 4th 2016, 01:24 sinusss nah it's okay i'll give this a shot another time thanks
# Oct 4th 2016, 01:24 robodna @savant ha! i see the api is read only... so only GET methods
# Oct 4th 2016, 01:18 sinusss @savant mind sharing your php dockerfile?
# Oct 4th 2016, 01:14 robodna cool
# Oct 4th 2016, 01:13 robodna I've also considered just using GET /user/1/edit and then POST /user/1/edit like the default cakephp routes and use and RPC type API, with verbs in the URL
# Oct 4th 2016, 01:11 robodna http://www.tbray.org/ongoing/When/200x/2009/03/20/Rest-Casuistry#c1237592841.237066
# Oct 4th 2016, 01:11 robodna that was a real example, from another example I was reading:)
# Oct 4th 2016, 01:11 robodna @savant I'm actually writing a business app... the /vm was just a simple example :slightly_smiling_face:
# Oct 4th 2016, 01:08 robodna yep, just needed all the info I can gather to decide which direction to head in, thanks
# Oct 4th 2016, 01:08 sinusss https://gist.github.com/anonymous/620e90f514aad688468a7f48d846e92c can anyone share their php dockerfile with the usual extensions?
# Oct 4th 2016, 01:06 sinusss !paste
# Oct 4th 2016, 01:05 robodna maybe, but just gathering info at this point so I can understand how I would be bike-shedding
# Oct 4th 2016, 01:05 sinusss Anyone having problem installing `intl` extension in docker?
# Oct 4th 2016, 01:05 robodna I though PATCH did not work on Android?
# Oct 4th 2016, 01:04 robodna @savant I'm also a bit worried about coming into some type of unforeseen 'show stopper' building a fully RESTful API... with routes, I"m guessing I can represent all my URLS as nouns. I may need to add controllers to represent REST resources instead of using 'actions' in my controllers,... so instead of /vm/1/stop I can have POST /vm/1/vm-powerstate and have vm-powerstate as a controller instead of an action in vm_controller...
# Oct 4th 2016, 01:00 robodna ok cool. Is the following route file you sent me all for rest, or are there non-rest routes in there? If i understand correctly, the books:book_id/chapters/:chapter_id route is a restul one as you have patch too...
# Oct 4th 2016, 00:51 robodna I have the 'fully restufll endpoints' routed, but do I also add routes for any related resource, like /books/:book_id/chapters/:chapter_id? I may end up with about 100 route entries if I need to do that...
# Oct 4th 2016, 00:50 robodna @savant you helped me a few months ago with my REST api routing question. Do you have fully RESTful apis or do you sometimes sneak in some RPC? I'm looking at the route.php file you sent me :slightly_smiling_face:
# Oct 3rd 2016, 22:59 cakephp333 Hey guys. I can't find in the documentation about my case. I have a "studies" table, with a foreign key "patient_id" and a table "orders" with a id "study_patient_id". "study_patient_id" referes to patient_id from studies. So cakephp will recognize this relation in bake? The naming convetion is okay? Or I need to adjust in the model first?
# Oct 3rd 2016, 22:20 inoas Gnite bakress and bakers
# Oct 3rd 2016, 22:15 inoas Okay, cleanup day done for me
# Oct 3rd 2016, 21:35 inoas admad and thanks for pointing out how easy it is to contribute via clone + composer install
# Oct 3rd 2016, 21:35 thinkingmedia LAMP stack running CakePHP 3 on Digital Ocean nodes.
# Oct 3rd 2016, 21:34 thinkingmedia https://ahtag.com/
# Oct 3rd 2016, 21:34 inoas )
# Oct 3rd 2016, 21:34 thinkingmedia thanks, the launch went okay. Lost a little sleep but at least the website is now in beta.