Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2015-07-28 10:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (254 votes), past polls