KnpLabs/KnpSnappyBundle — Issue #8: Problem on ubuntu server
Author: shucky
Created: 2011-12-29 20:35:19+00:00
State: open

When i published on my ubuntu server i had this error.

wkhtmltopdf: cannot connect to X server

I've installed xvfb and set binary to '/usr/bin/xvfb-run /usr/bin/wkhtmltopdf' in my config.yml.

Now it works for simple pdf but i had to do the css again because the size (font-size, margin, padding...) are not interpreted in the same way on my dev environment (mac) and my server.

I have another problem, in one pdf i use options, but all the options are not displayed (on my server).

Thanks for your help