Forums Index > Mewsoft Products > Auctionawy > Help I'm getting an error when posting auctions
ctoshack First Post Posted on: 06-27-08 12:05 AM
Help I'm getting an error when posting auctions

This error keeps comming up when a user tries to submit an auction.

Software error:
Undefined subroutine &main::Create_Thumbnail called at /home/ctoshack/public_html/cgi-bin/auction/sell.pm line 529.

For help, please send mail to the webmaster (webmaster@ioffer.ca), giving this error message and the time and date of the error.
Anonymous Reply #: 1 Posted on: 06-27-08 12:57 AM
Re: Help I'm getting an error when posting auctions

edited
ctoshack Reply #: 2 Posted on: 06-27-08 01:03 AM
Re: Help I'm getting an error when posting auctions

Show me lines 523 to 531....



523 is blank and 531 is blank here is everything in between


if (!$Img) {return $Img;}
@Parts = split (/\./, $Img);
pop @Parts;
$Filename = join (".", @Parts) . "\.jpg";

$File = "$Global{Upload_Dir}/$Img";
($srcW, $srcH, $srcID) = imgsize($File);
ctoshack Reply #: 3 Posted on: 06-27-08 01:04 AM
Re: Help I'm getting an error when posting auctions

529 would be this line

$File = "$Global{Upload_Dir}/$Img";
Anonymous Reply #: 4 Posted on: 06-27-08 01:09 AM
Re: Help I'm getting an error when posting auctions

edited
Anonymous Reply #: 5 Posted on: 06-27-08 01:11 AM
Re: Help I'm getting an error when posting auctions

edited
ctoshack Reply #: 6 Posted on: 06-27-08 01:11 AM
Re: Help I'm getting an error when posting auctions

That's all that are in the lines of sell.pm?

I think you better go download a new one from Mewsoft.

Mine looks nothing like that.....



There is much more but thats all that is between the lines you specified
ctoshack Reply #: 7 Posted on: 06-27-08 01:12 AM
Re: Help I'm getting an error when posting auctions

519#==========================================================
sub Convert_Image_Type{
my ($Img) = @_;
my (@Parts, $Filename, $File, $srcW,$srcH, $srcID, $srcImage);

if (!$Img) {return $Img;}
@Parts = split (/\./, $Img);
pop @Parts;
$Filename = join (".", @Parts) . "\.jpg";

$File = "$Global{Upload_Dir}/$Img";
($srcW, $srcH, $srcID) = imgsize($File);

open IN, "$File" || &Exit("Can 't read source image file $File: $!"."<br>Line ". __LINE__ . ", File ". __FILE__);

if ($srcID eq "PNG") {
$srcImage = GD::Image->newFromPng(\*IN);
}
elsif ($srcID eq "XBM") {
$srcImage = GD::Image->newFromXbm(\*IN);
}
else{
return $Img;
}

close IN;

open(NEW, ">$Global{Upload_Dir}/$Filename");
binmode(NEW);
print NEW $srcImage->jpeg; # $jpegdata = $image->jpeg([$quality]) , $quality 0-100
close(NEW);

undef $srcImage;
return $Filename;
}
554#==========================================================
Anonymous Reply #: 8 Posted on: 06-27-08 01:25 AM
Re: Help I'm getting an error when posting auctions

edited
Anonymous Reply #: 9 Posted on: 06-27-08 07:46 PM
Re: Help I'm getting an error when posting auctions

You have taken copyrighted homepage folder icon pictures from my site and put them on your's. Please remove them. I have paid a professional to come into my home and take pictures of these items that I own. The pictures can not be found ANYWHERE else.

I expect them removed. Or you leave me no other choice but to inform the proper people about this theift.

Thank you for your cooperation reguarding this internet thieft matter.
Sincerely,
Katherine Bailey
Owner of Heavenly Auctions