Log message #3944343

# At Username Text
# Oct 10th 2016, 08:41 maikh yes... i will. thank you both @hmic and @admad
# Oct 10th 2016, 08:40 hmic s/css/neccessary css/
# Oct 10th 2016, 08:40 Neon1024 Whatâ??s a good Cake 3 exception for failed configuration? It seems that the ConfigureException() hasnâ??t made it from Cake 2 into Cake 3
# Oct 10th 2016, 08:40 hmic maikh: first drop your bootstrap dependency and do the css yourself
# Oct 10th 2016, 08:39 maikh ok, should it work with table layout?
# Oct 10th 2016, 08:39 maikh lol :P
# Oct 10th 2016, 08:37 hmic *harhar*
# Oct 10th 2016, 08:37 admad using a css framework for pdf layouts is just wasting cpu cycles and contributing to global warming :slightly_smiling_face:
# Oct 10th 2016, 08:36 dereuromark right now I am falling back to file cahcing (default)
# Oct 10th 2016, 08:36 dereuromark so far cake on heroku seems to be running quite fine. only thing: caching via redis url does not seem to work, it fails. anyone got it working?
# Oct 10th 2016, 08:36 hmic the basic advice is: do a as simple as possible, embedded, css for the pdf layout.
# Oct 10th 2016, 08:35 hmic you need to use another renderer then. the problems you get are what you have to pay for...
# Oct 10th 2016, 08:35 hmic you cannot.
# Oct 10th 2016, 08:35 maikh i think if i move this page to the customer server then we get more problems. so i would do this without any binary
# Oct 10th 2016, 08:34 hmic there is a known problem with this and a known good workaround!
# Oct 10th 2016, 08:34 hmic you are on debian and using there binary
# Oct 10th 2016, 08:34 hmic aha
# Oct 10th 2016, 08:34 maikh no... then there is the "x server " error
# Oct 10th 2016, 08:34 hmic whats your commandline?
# Oct 10th 2016, 08:34 hmic can you use it from the commandline? - no cake(pdf) involved? does it work?
# Oct 10th 2016, 08:33 maikh the problem is, the binary. Allways error in cake "wkhtml didnt get any data" or so
# Oct 10th 2016, 08:33 hmic wkhtmltopdf is the renderer, you do need it. its the whole chromium browser engine bascially, including the javascript processor even!
# Oct 10th 2016, 08:33 admad s/replace/replicate
# Oct 10th 2016, 08:33 admad anyone trying to replace a webpage in a pdf is gonna have a bad time :slightly_smiling_face:
# Oct 10th 2016, 08:32 hmic whats your problem with wkhtmltopdf acutally? maybe we can solve this faster than your layout problems
# Oct 10th 2016, 08:32 maikh is there a possibility to use wkhtmltopd and cakepdf without this binary?
# Oct 10th 2016, 08:32 admad i have always used handmade css for pdf layouts
# Oct 10th 2016, 08:32 hmic and/or use wkthmltopdf :p
# Oct 10th 2016, 08:32 hmic dont try do to fancy things
# Oct 10th 2016, 08:31 hmic usually you do an extra layout, with minimal everything for pdf generation. dont use any css you dont need
# Oct 10th 2016, 08:31 hmic maikh: you will not get around it if your layout uses like *any* css framework
# Oct 10th 2016, 08:31 admad htmls for generating pdf should be kept very simple
# Oct 10th 2016, 08:31 maikh i can not answer your question. i do pdf generation for the first time. :slightly_smiling_face:
# Oct 10th 2016, 08:31 maikh yes... the float is the problem.
# Oct 10th 2016, 08:30 admad it has too much bloat for this purpose
# Oct 10th 2016, 08:30 admad why are you even using bootstrap for pdf layouts? :slightly_smiling_face:
# Oct 10th 2016, 08:30 maikh @hmic maaaa... yes, i want... but i dont get this binary running.
# Oct 10th 2016, 08:29 hmic maikh: you should go for wkhtmltopdf for about anything more difficult than a styled table :p
# Oct 10th 2016, 08:27 maikh little offtopic. is someone using dompdf with twitter bootstrap grids?
# Oct 10th 2016, 08:14 Neon1024 Oh cool, thanks ADmad - I thought I had to fork the standard and change it etc
# Oct 10th 2016, 08:14 admad then in specify the path to your file using --standard switch