Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: html::htmldoc not working

by choroba (Canon)
on Aug 01, 2013 at 15:22 UTC ( #1047474=note: print w/ replies, xml ) Need Help??

in reply to html::htmldoc not working

CGI scripts are usually run as a different user (www-data etc.) HTML::HTMLDoc uses an external programme, htmldoc. Are you sure this user has permissions to run it? What do the logfiles say?

لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Comment on Re: html::htmldoc not working
Select or Download Code
Replies are listed 'Best First'.
Re^2: html::htmldoc not working
by divinafaudan (Initiate) on Aug 01, 2013 at 17:15 UTC

    Thanks for your reply. I guess the user has permission to run the program because the file was set to 777 mode and the program able to generate the pdf with 0 bytes. I forgot to mention in my last post that the program generated pdf,and, the problem is it did not write the pdf content.

      I did not mean your script, but the htmldoc programme (use
      type htmldoc
      in a shell to find its location).
      لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1047474]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (8)
As of 2015-11-30 13:30 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (770 votes), past polls