Re: Problem with uploader

2008-11-24 Thread Adam Jimerson
On Saturday 22 November 2008 11:23:28 pm Owen wrote: I apologize for not having the rest of your thread, but don't forget that CGI::Carp can be used, one use is in the set_message routine use CGI::Carp qw(fatalsToBrowser set_message); set_message(Please report details of this error to a

Re: Problem with uploader

2008-11-22 Thread Adam Jimerson
On Friday 21 November 2008 11:23:11 am you wrote: On Tue, 2008-11-18 at 10:49 -0500, Adam Jimerson wrote: If the open failed then wouldn't the die kick in and at least say something in the server logs? Also how would one go around and get a more descriptive error message? For testing

Re: Problem with uploader

2008-11-22 Thread Owen
On Friday 21 November 2008 11:23:11 am you wrote: On Tue, 2008-11-18 at 10:49 -0500, Adam Jimerson wrote: If the open failed then wouldn't the die kick in and at least say something in the server logs? Also how would one go around and get a more descriptive error message? For testing

Re: Problem with uploader

2008-11-21 Thread Matthew Whipple
On Tue, 2008-11-18 at 10:49 -0500, Adam Jimerson wrote: Matthew Whipple wrote: The open must have failed. You could work on getting a more descriptive error message but I'd suggest starting with the the path and permissions. Also check to make sure existing files are handled

Re: Problem with uploader

2008-11-19 Thread Adam Jimerson
Matthew Whipple wrote: The open must have failed. You could work on getting a more descriptive error message but I'd suggest starting with the the path and permissions. Also check to make sure existing files are handled properly. Make sure the path used is relative to its environment (if

Re: Problem with uploader

2008-11-18 Thread Sean Davis
On Sun, Nov 16, 2008 at 4:05 PM, Adam Jimerson [EMAIL PROTECTED] wrote: I'm trying to make a CGI script to upload files remotely onto my server, to get around my uni blocking everything but port 80, but I have ran into a problem with it. I followed the documentation on CPAN for uploading

Re: Problem with uploader

2008-11-18 Thread Adam Jimerson
On Sunday 16 November 2008 9:10:19 pm you wrote: You'll want to look in the error log to see what is there. Sean All the Apache error logs says is print () on closed Filehandle OUTFILE at /srv/www/cgi-bin/upload line 46, but I do have the filehandle open in the script. -- We must plan for

Re: Problem with uploader

2008-11-18 Thread vendion
On Nov 17, 1:54 am, [EMAIL PROTECTED] (Owen) wrote: On Sun, 16 Nov 2008 16:05:15 -0500 Adam Jimerson [EMAIL PROTECTED] wrote: I'm trying to make a CGI script to upload files remotely onto my server, to get around my uni blocking everything but port 80, but I have ran into a problem with

Re: Problem with uploader

2008-11-18 Thread Adam Jimerson
Matthew Whipple wrote: The die message would most likely be written into the server's log. A quick fix to more easily get the error messages would be using CGI::Carp, a use CGI::Carp qw(fatalsToBrowser) should show you the error on the page. Using CGI::Carp didn't produce any error in

Re: Problem with uploader

2008-11-18 Thread Matthew Whipple
On Sun, 2008-11-16 at 21:31 -0500, Adam Jimerson wrote: On Sunday 16 November 2008 9:10:19 pm you wrote: You'll want to look in the error log to see what is there. Sean All the Apache error logs says is print () on closed Filehandle OUTFILE at /srv/www/cgi-bin/upload line 46, but I

Re: Problem with uploader

2008-11-17 Thread Matthew Whipple
Running it locally prints out the generated HTML and it looks right and the page does open correctly on my server but there is not file in /tmp and the mail is never sent and I don't know if it is a problem with opening the OUTFILE handle because the die command doesn't kick in from what

Problem with uploader

2008-11-16 Thread Adam Jimerson
I'm trying to make a CGI script to upload files remotely onto my server, to get around my uni blocking everything but port 80, but I have ran into a problem with it. I followed the documentation on CPAN for uploading files and did what they have suggested as the best way but it doesn't work.

Re: Problem with uploader

2008-11-16 Thread Owen
On Sun, 16 Nov 2008 16:05:15 -0500 Adam Jimerson [EMAIL PROTECTED] wrote: I'm trying to make a CGI script to upload files remotely onto my server, to get around my uni blocking everything but port 80, but I have ran into a problem with it. I followed the documentation on CPAN for uploading