Log message #4047160

# At Username Text
# Jul 3rd 2017, 02:46 cpierce and as a work around for the text/plain i was trying
# Jul 3rd 2017, 02:46 cpierce yeah i'm trying to build a downloader to count active downloads of a pdf
# Jul 3rd 2017, 02:46 cpierce $this->response?
# Jul 3rd 2017, 02:46 savant is there a specific instance where you need to create a custom response object?
# Jul 3rd 2017, 02:46 savant @cpierce just use cakephp as you normally would
# Jul 3rd 2017, 02:45 cpierce i'm not seeing anywhere in the documentation where it shows actually building a response
# Jul 3rd 2017, 02:45 cpierce how do you use the new $response stuff in cakephp 3.4 and above
# Jul 3rd 2017, 02:43 savant like a dummy app exhibiting this bug
# Jul 3rd 2017, 02:43 savant do you have a small test case I can use to reproduce
# Jul 3rd 2017, 02:43 savant nothing to do with images
# Jul 3rd 2017, 02:43 savant seems like it would output javascript
# Jul 3rd 2017, 02:43 savant > debug-javascript
# Jul 3rd 2017, 02:42 thomasnucleus wkhtmltopdf has 'debug-javascript' => true but I can't see anything
# Jul 3rd 2017, 02:42 savant i dont know if `wkhtmltopdf` has some debugging option you can set
# Jul 3rd 2017, 02:41 savant if it stalls, it stalls
# Jul 3rd 2017, 02:41 savant err wkhtmlpdf
# Jul 3rd 2017, 02:41 savant we create an instance of dompdf with all the options you’ve set
# Jul 3rd 2017, 02:40 thomasnucleus Some debugger in cakepdf?
# Jul 3rd 2017, 02:40 thomasnucleus Is there a way to output the errors?
# Jul 3rd 2017, 02:40 savant interesting
# Jul 3rd 2017, 02:34 thomasnucleus Images that are hosted on other servers over the net work fine
# Jul 3rd 2017, 02:34 savant and what happened?
# Jul 3rd 2017, 02:34 thomasnucleus Pdf generation stalls
# Jul 3rd 2017, 02:33 thomasnucleus Yep I just tried it now
# Jul 3rd 2017, 02:33 savant did you add the fullBase option when using the helper?
# Jul 3rd 2017, 02:33 thomasnucleus I'm using cake server, files are on my PC
# Jul 3rd 2017, 02:30 savant https://github.com/friendsofcake/cakepdf#note-about-static-assets
# Jul 3rd 2017, 02:29 savant is this in the background via web?
# Jul 3rd 2017, 02:29 thomasnucleus The link it generated "/img/pic.png"
# Jul 3rd 2017, 02:28 thomasnucleus Used the helper, pdf generated but image still doesn't load, just shows a very small box
# Jul 3rd 2017, 02:26 savant use the HtmlHelper instead of a regular html image tag
# Jul 3rd 2017, 02:26 thomasnucleus In the img> tags I've tried "<http://localhost:8765/img/pic.png" (pdf won't even work) "img/risk-marker.png" (pdf works but image doesn't load, just a small box)
# Jul 3rd 2017, 02:18 savant how are you linking to the images?
# Jul 3rd 2017, 02:17 thomasnucleus Using cakepdf wkhtmltopdf, wondering why locally hosted images aren't working in the pdf output? They appear fine on the webpage but no where to be seen in the pdf
# Jul 2nd 2017, 20:11 nicolas.r I will be more attentive on the documentation
# Jul 2nd 2017, 20:11 nicolas.r Thanks anyway admad
# Jul 2nd 2017, 20:11 nicolas.r I really don't know, first line : class AuthComponent(ComponentCollection $collection, array $config = []) so... Yes I will not forget that
# Jul 2nd 2017, 20:10 admad just in case you missed my previous comment, NEVER modify any code under /vendor
# Jul 2nd 2017, 20:10 saeideng :upside_down_face:
# Jul 2nd 2017, 20:10 admad can't imagine where from where you got that idea
# Jul 2nd 2017, 20:10 nicolas.r I revert :P