The eAuction Support Forums
https://www.everyscript.de/cgi-bin/yabb/YaBB.pl
eAuction 1.6.1.x >> Fixed Bugs >> html and auction ends
https://www.everyscript.de/cgi-bin/yabb/YaBB.pl?num=1113669421

Message started by Darksideprops on 04/14/05 at 11:10:29

Title: html and auction ends
Post by Darksideprops on 04/14/05 at 11:10:29

when i post html for a new item it closes and say there is over 100 bid.Even when i make it for 14 days if i don't put hatm it works fine. Why does it do that?

Thanks
Robert


Description:
May include HTML
This should include the condition
of the item, payment and shipping
information, and any other facts of case the bidder should know.

Title: Re: html and auction ends
Post by Dieter Werner on 04/14/05 at 11:27:10


Darksideprops wrote:
when i post html for a new item it closes and say there is over 100 bid.Even when i make it for 14 days if i don't put hatm it works fine. Why does it do that?

Unfortunately, I cannot reproduce the described behavior.

Title: Re: html and auction ends
Post by cougar694u on 04/14/05 at 17:48:05

I get the same error, but I haven't don anything at all to the scripts.  I downloaded them, added/changed some categories, and that's it.  Also, if I create an auction with some text description containing carriage/hard returns, something like:

Test line 1
test line 2
test line 3

it does the same thing.  It'll look at 'test line 1' as the description, then the next line in the .dat file 'test line 2' as the image.

http://www.2kmotors.com/luke/pics/eauctions/html_error.JPG

Title: Re: html and auction ends
Post by cougar694u on 04/15/05 at 16:19:26

http://www.everyscript.de/cgi-bin/yabb/YaBB.pl?board=general;action=display;num=1113253040

I created it and am still having problems with the multi-lined/html description.  I tested it again to make sure that I still had the problem, which I do.

I created a test item and typed:

Test Line 1
Test Line 2

and it closed my auction with 1 bid, and displayed all those errors on the screen again.

Title: Re: html and auction ends
Post by Dieter Werner on 04/15/05 at 17:34:26

OK - I see it is my fault - sorry.
I don't have taken into account that a user could copy&paste the text/html-code of the item description.

Do the following:
- search eAuction.pl for sub check_item_data
- search sub check_item_data for this line


Code:
   oops($txt{'You must enter a valid bid increment'})
   unless $form{'INC'} =~ /$pattern/;


- replace the line with this

Code:

   oops($txt{'You must enter a valid bid increment'})
   unless $form{'INC'} =~ /$pattern/;
   
   $form{'DESC'} =~ s/[\r\n]//g;

The eAuction Support Forums » Powered by YaBB 2.2!
YaBB © 2000-2007. All Rights Reserved.