# |
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 |
# |
Oct 10th 2016, 08:13 |
admad |
Neon1024: like so https://gist.github.com/ADmad/050104ca0b3ded47be80097a030d9c53 |
# |
Oct 10th 2016, 08:12 |
Neon1024 |
I think Justin does though at his company - I forget the name, they sponsor Cake Fest :) |
# |
Oct 10th 2016, 08:12 |
Neon1024 |
I think itâ??s because people know I canâ??t figure out how to change and maintain my own standard |
# |
Oct 10th 2016, 08:11 |
Neon1024 |
Haha, yeah, Iâ??m always told that |
# |
Oct 10th 2016, 08:11 |
admad |
you can just modify the error level for your own use |
# |
Oct 10th 2016, 08:11 |
admad |
it's cake standard :slightly_smiling_face: |
# |
Oct 10th 2016, 08:10 |
Neon1024 |
Well, the cake standard, hates private |
# |
Oct 10th 2016, 08:10 |
Neon1024 |
Yeah, I have, as PHPCS really hates private |
# |
Oct 10th 2016, 08:10 |
admad |
trying changing private to protected |
# |
Oct 10th 2016, 08:10 |
Neon1024 |
"cakephp/cakephp-codesniffer": "^2.1" |
# |
Oct 10th 2016, 08:09 |
Neon1024 |
Yeah, just downloaded ^2.1 |
# |
Oct 10th 2016, 08:09 |
admad |
Neon1024: are you using latest codesniffer? |
# |
Oct 10th 2016, 08:08 |
Neon1024 |
Why this PHP 4 standard is enforced still bewilders me |