 | |  | | | Classifieds Bug Reports Post any problems you may be having with Classifieds here. |
July 8th, 2005, 03:54 PM
|
#1 (permalink)
| | Ultimate Member Verified Customer
Join Date: Sep 2002
Posts: 1,172
| 2.4 (7/6/05 2:12 PM Build) bid history not working(FIXED)
Hi
2.4 (7/6/05 2:12 PM Build) bid history not working properly.
If I click on it as a bidder, it only shows me my last bid-message ("Your bid is too low. You must bid at least $150.00.").
I can not see the list of bids and the bid steps and time stamps like at ebay.
Any way to correct this easily?
Thanks in advance
|
| |
July 10th, 2005, 12:05 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,802
|
Please register a name here and place a bid http://www.reeftalk.com/classifieds/
I can see the bid history as an admin and a test user that placed a bid so lets see if I can see your bid as well
Thanks
|
| |
August 4th, 2005, 10:25 AM
|
#3 (permalink)
| | Ultimate Member Verified Customer
Join Date: Sep 2002
Posts: 1,172
|
Hi Omegatron,
I just registered with 2 accounts on your board and tested it there. on your board, i can see the bid history.
I have now classified 2.41, but the bid history problem is still the same as described above.
Do you have a different file for that functionality on your board then in the classified download file as of 30.07.2005?
|
| |
August 4th, 2005, 10:57 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,802
|
No my site is running 2.41 same as you
make sure you have indeed uploaded all the new files and ran any applicable upgrades.
Thats the first place I would suggest you go as your thread here says 2.4 not 2.41
Last edited by Chuck S; August 4th, 2005 at 11:50 AM.
|
| |
August 4th, 2005, 05:13 PM
|
#5 (permalink)
| | Ultimate Member Verified Customer
Join Date: Sep 2002
Posts: 1,172
|
mmmhhh,
this was a fresh install. File was downloaded last WE.
Could you upload the file in this thread that is dealing with this, so I can overwrite it on my server?
|
| |
August 4th, 2005, 05:20 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,802
|
I am using the default showproduct.php that is in the 2.41 download
$hbuserlink = "<a href=\"{$Globals['maindir']}/member.php?uid=$highbidder\">$hbuser</a>$hbicon";
$hbnumbids = "$numbids ";
$hbnumbids .= ($numbids > 1 ? $Globals['pp_lang']['bids'] : $Globals['pp_lang']['bid'] ) . " · <a href=\"{$Globals['maindir']}/bids.php?action=history&product=$product\">{$Globals['pp_lang']['bidhistory']}</a>";
So for that product you think should have a bid run this query and see what it outputs as $numbids is what your looking for
SELECT id,user,userid,cat,date,title,price,description,keywords,bigimage,bigimage2,bigimage3,views,approved,rating,extra1,extra2,extra3,extra4,extra5,extra6,disporder,status,isauction,highbidder,maxbid,numbids,enddate,zipcode FROM pp_products WHERE id=PRODUCTNUMBERHERE
|
| |
August 4th, 2005, 06:12 PM
|
#7 (permalink)
| | Ultimate Member Verified Customer
Join Date: Sep 2002
Posts: 1,172
| Quote: |
Originally Posted by omegatron I am using the default showproduct.php that is in the 2.41 download
$hbuserlink = "<a href=\"{$Globals['maindir']}/member.php?uid=$highbidder\">$hbuser</a>$hbicon";
$hbnumbids = "$numbids ";
$hbnumbids .= ($numbids > 1 ? $Globals['pp_lang']['bids'] : $Globals['pp_lang']['bid'] ) . " · <a href=\"{$Globals['maindir']}/bids.php?action=history&product=$product\">{$Globals['pp_lang']['bidhistory']}</a>";
So for that product you think should have a bid run this query and see what it outputs as $numbids is what your looking for
SELECT id,user,userid,cat,date,title,price,description,keywords,bigimage,bigimage2,bigimage3,views,approved,rating,extra1,extra2,extra3,extra4,extra5,extra6,disporder,status,isauction,highbidder,maxbid,numbids,enddate,zipcode FROM pp_products WHERE id=PRODUCTNUMBERHERE |
äääähhhhhmmm
I guess you mean with "run a query" to do this in phpmyadmin? How do I do this exactly?
I checked the showproduct.php file and the 3 lines you posted here are the same in my file...
|
| |
August 7th, 2005, 12:46 AM
|
#8 (permalink)
| | Junior Member Verified Customer
Join Date: Apr 2005 Location: New York
Posts: 18
| 3 bids · bid history
Hello .. (same here..)
I have the exact same problem. Running php2bb forums on PhotoPost Classifieds 2.41 (latest release) in addition the high bid does not refresh on the showproduct.php?product={number} http://www.jersey-auctions.com/aucti...tory&product=9
I always get Your bid is too low. You must bid at least $XX.XX.
When I run that command above i get valid data:
"9";"qatest";"3";"14";"1123386231";"Misc test item";"34.00";"test item";;"Bathroomjunk.jpg";;;"24";"1";"Fair";;;;;;;"99999";"0";"1";"5";"60.00";"3";"1124682246";"10030"
my url is http://www.jersey-auctions.com/auction
Feel free to register and test for me.
SQL-query: SELECT * FROM `pp_bids` WHERE ad_id=9 LIMIT 0, 30;
Rows: 3
id ad_id user_id username bid maxbid bid_date bid_ip
7 9 4 qatest1 23.23 33.00 1123387116 67.85.199.000
8 9 4 qatest1 26.00 33.00 1123389548
9 9 5 tcroft 34.00 60.00 1123389665 67.85.199.000
I have made minimum code changes. Please advise if you get a fix.
Thanks All.
Tom
Last edited by tcroft2683; August 7th, 2005 at 01:09 AM.
Reason: query test
|
| |
August 7th, 2005, 07:51 AM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Jun 2003
Posts: 38
|
Same problem here, when I run the query for a testproduct I get a valid return with numbids of 4
|
| |
August 7th, 2005, 09:18 AM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,802
|
If I go here there is a highest bidder link and bid history so I see nothing wrong just like on my site http://www.jersey-auctions.com/aucti....php?product=4
seffern yes I mean phpmyadmin and give me a direct link to your site
|
| |
August 7th, 2005, 02:32 PM
|
#11 (permalink)
| | Registered User
Join Date: Apr 2005
Posts: 11
| Caching High bid? but history does not work!!
Sorry.. but I see you did make a bid and somehow the auction closed for product 9. I'm using PHPBB2 for the registration process and your membership did not get transfered to the classified database.. http://www.jersey-auctions.com/auction/showmembers.php
thats another converstation.. I'll worry about this later..
First item.. the problem is the last user that bids on an item is not being shown and corrisponding "highest bidder" field.
The second item is when you click on the bid history any users will see: Your bid is too low. You must bid at least $XX.XX.
Should I re-install the product photo-classifieds product again? Would changing the global naviagation files effect these items?
Thanks again.
|
| |
August 11th, 2005, 02:07 AM
|
#12 (permalink)
| | Member Verified Customer
Join Date: Jun 2003
Posts: 38
|
Any news on this, still isn't working for me....
|
| |
August 11th, 2005, 09:48 AM
|
#13 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,802
|
Try changing in bids.php add in bold
typecast($_REQUEST, array('action' => STRING, 'product' => INT));
|
| |
August 11th, 2005, 03:22 PM
|
#14 (permalink)
| | Member Verified Customer
Join Date: Jun 2003
Posts: 38
|
That did the trick, thanks yet again |
| |
August 12th, 2005, 08:24 PM
|
#15 (permalink)
| | Registered User
Join Date: Apr 2005
Posts: 11
| Thanks
Thanks for this BTW. It works now. |
| |
August 18th, 2005, 09:08 AM
|
#16 (permalink)
| | Ultimate Member Verified Customer
Join Date: Sep 2002
Posts: 1,172
|
Hi,
I just had time now to review all thraeds...
I changed also the bids.php file, and in fact, Im can see now a bid history.
BUT it does not show correctly.
It shows only one bidder, always the one with the highst bid. It does not show the bidders that tried it inbetween, with smaller mounts.
So bid history looks:
user1
user1
user1
user1
and it should look (like at ebay):
user1
user2
user1
user2
user1
The way it looks currently is not a bid history, it is only showing the username of the highest bidder.
How to fix this?
(sorry that I compare it always with ebay, but this is the benchmark)
Thanks in advance
Last edited by snoopy5; August 18th, 2005 at 09:11 AM.
|
| |
August 18th, 2005, 09:43 AM
|
#18 (permalink)
| | Ultimate Member Verified Customer
Join Date: Sep 2002
Posts: 1,172
|
Hi Omegatron, I will send you a link to my test install. It was a fresh 2.41 install 2-3 weeks ago...
|
| |
August 18th, 2005, 09:47 AM
|
#19 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,802
|
Only thing I can suggest is that your ftp program is not allowing certain files to be updated. Delete all templates and main php files except your two config files and upload the new files
I would then suggest if this was an upgrade you rerun the upgrade script to make sure your not missing anything.
Next thing to do is look under your bidding table and see what that query I posted pulls as it should pull the same as our script is pulling
This query is pretty absolute as far as history goes as you can agree
$query = "SELECT id,user_id,username,bid,maxbid,bid_date FROM {$Globals['pp_db_prefix']}bids WHERE ad_id=$product ORDER BY bid DESC";
$rows = ppmysql_query($query,$link);
|
| |
August 18th, 2005, 10:06 AM
|
#20 (permalink)
| | Ultimate Member Verified Customer
Join Date: Sep 2002
Posts: 1,172
| Quote: |
Originally Posted by omegatron Next thing to do is look under your bidding table and see what that query I posted pulls as it should pull the same as our script is pulling
This query is pretty absolute as far as history goes as you can agree
$query = "SELECT id,user_id,username,bid,maxbid,bid_date FROM {$Globals['pp_db_prefix']}bids WHERE ad_id=$product ORDER BY bid DESC";
$rows = ppmysql_query($query,$link); | Just to e suer to do the right thing:
I go into phpmyadmin, select the database for my installtion, then select the table "bidding" and then click on "SQL" and insert in the upper big text field the mentioned code?
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 01:09 PM. | |