The Linux Page
  • Note: This bug is fixed in Ubuntu 16.04

    Working on a website I have to convert invoices to PDF so end users have the ability to print and share the invoices from the website.

    In order to do that, I generate an HTML page with the invoice which also gets displayed in the website, and then convert that HTML to PDF with xhtml2pdf. I use that tool instead of whtmltopdf because it does not require X11 to work. The other tool is said to require Qt and X11 and we do not want those things on our backend servers.

    So... I upgraded to 14.04 and the tool stopped working with an ugly error:

     ...
  • I started the stock SeaMonkey browser by mistake as my Unity icons disappeared (i.e. seamonkey as is on my command line started /usr/bin/seamonkey which is not the correct version!) This had several bad side effects. For of all, it destroyed my bookmarks (argh!) and then it decided to install the 64bit Flash plugin. That did not work well since the version I like is a 32bit version.

    Once I had the correct version started again, each time it was trying to open a Flash animation, it would be "stuck" for a few minutes, until I tried to open a page with a movie in a Flash shell. That ...

  • Just got told that one of my servers was running WebDAV. I used that before so I thought it was turned on. Checking at the server, I could not find anything about DAV that was turned on in my server...

    So, how could they detect WebDAV and not me??

    The fact is that by default Drupal doesn't check the HTTP query method. It should! In fact, Drupal happily answers all methods with an HTML page. So I did not have WebDAV, just a flaky CMS.

    How can you test methods that your server supports?

    Knowing your IP address and port, use telnet like this:

    telnet IP port (i.e. telnet 1.2.3.4 80)

    ...

Recent Posts on The Linux Page:

SMS From Me Logo

SMS From Me

To automatically start one on one conversations with your online leads.