I am making some changes and on my auction and ran into 3 little problems that I have worked hours on so it time for help.
1. I added Relist untill sold to my auction.pl This works fine when posting a auction. When you go to edit or update your item, Relist till sold is missing. You only see 1 and 2 times to relist
Does anyone know how to add the relist till sold to update your item page?2nd and 3rd problem. Where do you change the setting to make picture show instead of the little camera in Feature items and View my items.
I found the below on this forum and tired, I get these errors.
Fri Jan 9 auction.pl: Global symbol "$image" requires explicit package name at /home/mysale2/public_html/cgi-bin/auction/mystore.pl line 762.
[Fri Jan 9 auction.pl: Global symbol "$image" requires explicit package name at /home/mysale2/public_html/cgi-bin/auction/mystore.pl line 762.
[Fri Jan 9 auction.pl: Compilation failed in require at /home/mysale2/public_html/cgi-bin/auction/config.pl line 2340.
Compilation failed in require at auction.pl line 58.
This is the code I used.
in the mystore.pl file under the sub find these lines:
my $filler = "<IMG SRC=\"$config{'fillerpic'}\">";
Now add this new line just above the line you just found:
my $imagedisp = "<IMG SRC=\"$image\" BORDER=\"0\" WIDTH=\"35\">" if ($image ne "");
Now find this line:
print "<TD>$config{'displistfont'}<A HREF=$ENV{'SCRIPT_NAME'}\?category=$key\&item=$file>$grabberpic $mytitle</A></TD>";
and replace it with this new line:
print "<TD>$config{'displistfont'}<A HREF=$ENV{'SCRIPT_NAME'}\?category=$key\&item=$file>$grabberpic $mytitle $imagedisp</A></TD>";
in the search.pl file under the sub procsearch { find these line:
my $filler = "<IMG SRC=$config{'fillerpic'}>";
Now add this new line just above the line you just found:
my $imagedisp = "<IMG SRC=\"$image\" BORDER=\"0\" WIDTH=\"35\">" if ($image ne "");
Now find this line:
print "<TD>$config{'displistfont'}<A HREF=\"$ENV{'SCRIPT_NAME'}?category=$key&item=$file\">$grabberpic $mytitle</A></TD>";
and replace it with this new line:
print "<TD>$config{'displistfont'}<A HREF=\"$ENV{'SCRIPT_NAME'}?category=$key&item=$file\">$grabberpic $mytitle $imagedisp</A></TD>";
Doe's anyone know a fix. Thanks, Wayland