From: David S. <ds...@my...> - 2002-10-27 01:22:32
|
Turned on perl debugging for index.cgi in admin with -d and this is what I see, not that it means much to me. DB<1> CGI::Carp::stamp(/usr/lib/perl5/5.00503/CGI/Carp.pm:225): 225: my $frame = 0; DB<1> CGI::Carp::stamp(/usr/lib/perl5/5.00503/CGI/Carp.pm:226): 226: my ($id,$pack,$file); DB<1> CGI::Carp::stamp(/usr/lib/perl5/5.00503/CGI/Carp.pm:227): 227: do { DB<1> CGI::Carp::stamp(/usr/lib/perl5/5.00503/CGI/Carp.pm:228): 228: $id = $file; DB<1> CGI::Carp::stamp(/usr/lib/perl5/5.00503/CGI/Carp.pm:229): 229: ($pack,$file) = caller($frame++); DB<1> CGI::Carp::stamp(/usr/lib/perl5/5.00503/CGI/Carp.pm:228): 228: $id = $file; DB<1> CGI::Carp::stamp(/usr/lib/perl5/5.00503/CGI/Carp.pm:229): 229: ($pack,$file) = caller($frame++); DB<1> CGI::Carp::stamp(/usr/lib/perl5/5.00503/CGI/Carp.pm:228): 228: $id = $file; DB<1> CGI::Carp::stamp(/usr/lib/perl5/5.00503/CGI/Carp.pm:229): 229: ($pack,$file) = caller($frame++); DB<1> CGI::Carp::stamp(/usr/lib/perl5/5.00503/CGI/Carp.pm:228): 228: $id = $file; DB<1> CGI::Carp::stamp(/usr/lib/perl5/5.00503/CGI/Carp.pm:229): 229: ($pack,$file) = caller($frame++); DB<1> CGI::Carp::stamp(/usr/lib/perl5/5.00503/CGI/Carp.pm:228): 228: $id = $file; DB<1> CGI::Carp::stamp(/usr/lib/perl5/5.00503/CGI/Carp.pm:229): 229: ($pack,$file) = caller($frame++); DB<1> CGI::Carp::stamp(/usr/lib/perl5/5.00503/CGI/Carp.pm:228): 228: $id = $file; DB<1> CGI::Carp::stamp(/usr/lib/perl5/5.00503/CGI/Carp.pm:229): 229: ($pack,$file) = caller($frame++); DB<1> CGI::Carp::stamp(/usr/lib/perl5/5.00503/CGI/Carp.pm:231): 231: ($id) = $id=~m|([^/]+)$|; DB<1> CGI::Carp::stamp(/usr/lib/perl5/5.00503/CGI/Carp.pm:232): 232: return "[$time] $id: "; DB<1> CGI::Carp::warn(/usr/lib/perl5/5.00503/CGI/Carp.pm:240): 240: $message=~s/^/$stamp/gm; DB<1> CGI::Carp::warn(/usr/lib/perl5/5.00503/CGI/Carp.pm:241): 241: realwarn $message; DB<1> CGI::Carp::realwarn(/usr/lib/perl5/5.00503/CGI/Carp.pm:213): 213: sub realwarn { CORE::warn(@_); } DB<1> [Sat Oct 26 18:19:00 2002] index.cgi: Exception 410: Reference is not my type (Image::Magick) at ../idsShared.pm line 641. [Sat Oct 26 18:19:00 2002] [error] [client 207.248.40.213] Premature end of script headers: /home/dsmith/public_html/ids/admin/index.cgi -----Original Message----- From: ids...@li... [mailto:ids...@li...] On Behalf Of David Smith Sent: Saturday, October 26, 2002 6:26 PM To: ids...@li... Subject: [Ids-devel] More info on error after upload.. Ok so now I've backed down to version 5.4.6 of ImageMagick and PerlMagick. After I upload the file now, I get returned to the proper page but it shows a red X and there's no thumbnail. This is what appears right after the upload: 207.248.40.213 - dsmith [26/Oct/2002:17:18:40 -0700] "GET /~dsmith/ids/admin/index.cgi?mode=editimage&image=monterrey/ger_04.jpg HTTP/1.1" 200 6348 [Sat Oct 26 17:18:40 2002] index.cgi: Exception 430: Unable to open file (s/monterrey/ger_04.jpg) [No such file or directory] at ../idsShared.pm line 612 [Sat Oct 26 17:18:40 2002] index.cgi: main::createDisplayImage(100, '', '../albums/monterrey/ger_04.jpg') called at /home/dsmith/public_html/ids/admin/index.cgi line 1286 [Sat Oct 26 17:18:40 2002] index.cgi: main::editImage() called at /home/dsmith/public_html/ids/admin/index.cgi line 117 Note: "Exception 430: Unable to open file (s/monterrey/ger_04.jpg)" Is it normal for the path to get truncated? Interesting. Anyway, the file is definitely on the server and has appropriate permissions for read. Going to the IDS page and trying to display the normal page doesn't make any difference now, it forever remains an X'd out image. I'm going to try another version of ImageMagick momentarily. dave ------------------------------------------------------- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com _______________________________________________ IDS-devel mailing list IDS...@li... https://lists.sourceforge.net/lists/listinfo/ids-devel |