Log message #4018127

# At Username Text
# Apr 19th 2017, 21:05 slackebot5 Command sent from Slack by dereuromark:
# Apr 19th 2017, 21:05 bigdaddygee Oh
# Apr 19th 2017, 21:05 dereuromark in 3.x using a nice custom finder
# Apr 19th 2017, 21:04 dereuromark it exists for 6+ years wrapping exactly that for you
# Apr 19th 2017, 21:04 dereuromark ;) using the geo plugin maybe?
# Apr 19th 2017, 21:02 bigdaddygee What would be the best approach, to do this with CakePHP 3 ORM ? ```select name, ( 3959 * acos( cos( radians(42.290763) ) * cos( radians( locations.lat ) ) * cos( radians( locations.lng ) - radians(-71.35368) ) + sin( radians(42.290763) ) * sin( radians( locations.lat ) ) ) ) AS distance```
# Apr 19th 2017, 20:42 jojomartius that works only for exact one request :S
# Apr 19th 2017, 20:42 jojomartius i've a session of my cake 2 app in /pages and want to access it in /capacities in cake 3
# Apr 19th 2017, 20:38 jojomartius hi, anyone who really understands cake's sessions? :slightly_smiling_face: always got logged out
# Apr 19th 2017, 18:40 obinoob hmic ok
# Apr 19th 2017, 18:39 hmic but my advice it clearly: use wkhtmltopdf!
# Apr 19th 2017, 18:39 obinoob I mean the default view.ctp
# Apr 19th 2017, 18:39 obinoob I need to make it smaller
# Apr 19th 2017, 18:39 hmic you can check what the other do on their respective project pages
# Apr 19th 2017, 18:38 obinoob because it is fetching so many files etc
# Apr 19th 2017, 18:38 hmic the by far best one is wkhtmltopdf
# Apr 19th 2017, 18:38 hmic cakepdf supports multiple pdf "renderers"
# Apr 19th 2017, 18:38 obinoob but it takes ages to render
# Apr 19th 2017, 18:38 obinoob hmic: it is working
# Apr 19th 2017, 18:38 hmic obinoob, use wkhtmltopdf
# Apr 19th 2017, 18:37 hmic you can just composer create-project an empty cakephp app skeleton in another dir and see what it tells you
# Apr 19th 2017, 18:37 obinoob I need some cakepdf view template please
# Apr 19th 2017, 18:37 hmic so you might be missing on them
# Apr 19th 2017, 18:37 hmic update does not check the prerequisites for already installed packages
# Apr 19th 2017, 18:36 hmic composer install!
# Apr 19th 2017, 18:36 hmic no
# Apr 19th 2017, 18:36 Wodan__ Took my repo, did composer update
# Apr 19th 2017, 18:36 obinoob *there
# Apr 19th 2017, 18:36 obinoob is the any way i can fix it by viewing the result in my app? Any info about which css properties it supports ?
# Apr 19th 2017, 18:36 Wodan__ What would there be to instal though...
# Apr 19th 2017, 18:35 hmic read composer docs on how install works
# Apr 19th 2017, 18:35 Wodan__ Nothing to install or update
# Apr 19th 2017, 18:35 hmic if not - do so
# Apr 19th 2017, 18:34 hmic Wodan__, did you "composer install" on the server?
# Apr 19th 2017, 18:34 obinoob also noticed that the style breaks
# Apr 19th 2017, 18:34 Wodan__ I have composer
# Apr 19th 2017, 18:33 obinoob I'm using cakepdf but I need to optimize the pdf view, at the moment it loads all the assets including a gazilion of css files probably using a few classes from it...
# Apr 19th 2017, 18:32 hmic if you would have composer installed your project, you might know
# Apr 19th 2017, 18:32 hmic the server missing some php module i'd guess now :p
# Apr 19th 2017, 18:32 hmic something similar to your first problem?
# Apr 19th 2017, 18:31 Wodan__ What else could it be