Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Using MIME::Lite

by aseidas (Beadle)
on Jul 15, 2002 at 19:49 UTC ( #181894=note: print w/replies, xml ) Need Help??


in reply to Using MIME::Lite

Removed incorrect post here


kidd, what are the permissions/ownership of the main.jpg file your are trying to attach?

UPDATE:Sorry kidd disregard my post, thanks for the correction chromatic. -Aseidas

Replies are listed 'Best First'.
Re: Re: Using MIME::Lite
by chromatic (Archbishop) on Jul 15, 2002 at 19:55 UTC

    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.

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

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://181894]
help
Chatterbox?
[shmem]: sounds good.
[shmem]: but I'm crumbling smaller stones. remember...
[stevieb]: I'm working on it to fatten it up and make it more reliant so I can finalize my Raspberry Pi automated build system for that software :) It's all well and fun, until I try to make it work with Windows lol
[shmem]: "debugging a program is more difficult than to write it in the first place. If you code your program as smart as you are, you are, by definition, too dumb to debug it."
[stevieb]: I literally laughed. That's good :) Perhaps I just need to go climb another mountain and forget about it

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2017-03-28 22:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (342 votes). Check out past polls.