Hi Gabe - thanks for the quick reply.  I apologize - yes a different variation
of the script worked but this one definitely didn't.  I tried it again with
your changes and it's still not working.  I started deleting part of the script
to see if I could eliminate which part was puking.  This is what I ran and it
still failed...  It came up with an error 500 internal server error.  When I
checked the godaddy error logs it came up with this...

SoftException in Application.cpp:624: Could not execute script
"/home/content/a/u/t/autopark/html/cgi/v5im.pl"
Caused by SystemException in API_Linux.cpp:430: execve() for program
"/home/content/a/u/t/autopark/html/cgi/v5im.pl" failed: No such file or
directory
[Mon Mar  5 10:18:59 2007] [error] [client 24.72.47.231] Premature end of script
headers: /var/chroot/home/content/a/u/t/autopark/html/cgi/v5im.pl

*** now the first error perplexes me No such file or directory because when i
delete the v5im.pl it shows up with an error 404 so that is kind of a bogus
error.

#!/usr/bin/local

use CGI;
use CGI::Carp qw/fatalsToBrowser/;
use Image::Magick;

exit;


Thanks again!
Zack



Quoting Gabe Schaffer <[EMAIL PROTECTED]>:

> On 3/5/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> >   I used Godaddy shared hosting and I'm having problems with this script.
> It's
> > basic but it doesn't seem to like it.  It worked the other day but not
> today.
> > It's going to be implemented into a bigger script but i wanted to get it
> > working individually right now.
>
> I'm guessing it didn't *really* work the other day. Maybe a different
> script worked, but not this one.
>
> Try changing this:
>
> >  $x->New;
> >  $x->Read('../pics/APS4500-1.jpg');
> >  $x->Resize('30%');
> >  $x->Write('../pics/tnAPS4500-1.jpg');
>
> to this:
>
> $image = new Image::Magick;
> $image->Read('../pics/APS4500-1.jpg');
> $image->Resize('30%');
> $image->Write('../pics/tnAPS4500-1.jpg');
>
> GNS
>


--

_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to