Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: Re: Using MIME::Lite

by chromatic (Archbishop)
on Jul 15, 2002 at 19:55 UTC ( #181896=note: print w/replies, xml ) Need Help??

in reply to Re: Using MIME::Lite
in thread Using MIME::Lite

Does that actually work? I have a hard time believing the original poster has files called, literally, '$line'.

To kidd, the reason your program doesn't work is because there's a bug. You need to look in your error logs, run the script from the command line, or use CGI::Carp to display the error message to the browser. Without the information Perl's perfectly willing to give you, it's tremendously difficult to do anything other than guessing what and where the error is.

Replies are listed 'Best First'.
Re: Re: Re: Using MIME::Lite
by kidd (Curate) on Jul 15, 2002 at 20:18 UTC
    When running the script with CGI::Carp I got this error...

    Software error:
    /u619/be/bon/uploads/main.jpg : not readable
      Your CGI script is probably running as a web user with insufficient privileges to read arbitrary files on this system. Contact your system administrator for help in making these files readable to your CGI script. If you have access to these files, consider changing permissions of the files so that they are world-readable. [chmod] 0644 $filename should be sufficient.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://181896]
[stevieb]: agreed. That's why I said at least a half-dozen. If enough of the different formats are present, the date/time folk may not have to request more. If they do, then at least there was a decent base to start with
[stevieb]: I do date and time transformations in both Perl and Python, but not frequently enough to not have to search for the format params etc ;)

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2017-04-29 02:42 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (531 votes). Check out past polls.