I have put my site online and sometimes the site crashes when I want to
pdf file. But when I reboot the server it works again.
It crashes on:
margin = PDF::Writer.cm2pts(1)
pdf = PDF::Writer.prepress(:paper => “A4”, :orientation => :landscape,
:left_margin => margin, :right_margin => margin, :top_margin => 0,
:bottom_margin => 0)
Most of the time it is after the process:
I have a page with a list of users, I display the info from the database
users and clients) like for the clientname => Clientname: <%=
But in the early stages of the site some users didnt have clients, so I
nil error on the page. After that i wanted to create a pdf (total
section on the site), and get the errors.
Anyone has any problem with this also?? And can help me??
Thanks in advance.