PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Classifieds Support > Classifieds Bug Reports

Classifieds Bug Reports Post any problems you may be having with Classifieds here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old September 5th, 2007, 08:12 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Sep 2005
Posts: 141
Auction ended email sent every 3. day

After an auction is finished, there is sent an email about it. But I have a problem that this email is repeated every third day after the auction is finnished.

Several users report this problem.

I have version 2.61 installed.
zews is offline   Reply With Quote
Old September 5th, 2007, 08:42 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
Hello around line 29 in sendnotice.php edit the query and make sure the code is as posted here in bold

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old September 5th, 2007, 10:33 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Sep 2005
Posts: 141
Thank you!

It looks like some auctions are beeing reopened without the users doing it. Might there be something wrong with this code also? (line 81 sendnotice.php)

// Close out expired ads
$query = "UPDATE {$Globals['pp_db_prefix']}products SET approved=2,status='$today' WHERE enddate < $today AND isauction=0";
$result = ppmysql_query($query,$link);
zews is offline   Reply With Quote
Old September 5th, 2007, 02:53 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
No that looks fine there. I think the sendnotice change I made should help. It will guarantee ads which are not closed and status is 0 will send the email and then it will set status to todays unixdate which means on the next time sendnotice runs that one auction will not be sent an email

If not we can work on this some more but let me know how that changes works out first. I dont have a production site to work with to test.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old September 17th, 2007, 05:50 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Nov 2003
Posts: 86
I am now getting the same thing. I keep getting emails saying the auction has closed, except mine are everyday. Plus the auctions aren't going away. I've got my Number of days to show sold/closed ads? set at 1. Auctions keep getting bumped for some reason..should I try this as well?
agbates is offline   Reply With Quote
Old September 17th, 2007, 06:29 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
Yes go ahead and try never got a response back from the other user.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old September 17th, 2007, 06:48 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Nov 2003
Posts: 86
OK., I've made the edit, will have to give it a day or so to see what I get back (if anything)
agbates is offline   Reply With Quote
Old September 18th, 2007, 12:31 AM   #8 (permalink)
Member
Verified Customer
 
Join Date: Sep 2005
Posts: 141
The fix in post 2 fixed both emails and the problem with reopening auctions.
zews is offline   Reply With Quote
Old September 18th, 2007, 07:59 AM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
enjoy and let us know if there is anything else you need.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old September 21st, 2007, 05:05 PM   #10 (permalink)
Member
Verified Customer
 
Join Date: Nov 2003
Posts: 86
This seems to have solved my dilemma as well.
agbates is offline   Reply With Quote
Old September 21st, 2007, 06:57 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
Have a great evening if you need anything else let me know.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old February 26th, 2008, 08:22 PM   #12 (permalink)
Member
Verified Customer
 
Join Date: Apr 2002
Posts: 423
Chuck I am having the same problem as described above and am using the sendnotice.php dated 2/22/08. I had previously posted in another thread that my users were getting multiple emails upon the expiration of an auction. This was not correct. What is really happening is that the auction expires, they get an email, and then the auction sets itself up for another 3 days continuing the cycle. This is the same exact problem the users above describe. I am running 2.61 and like I said the latest sendnotice.php. Does the latest sendnotice have all the above fixes in it?
wacnstac is offline   Reply With Quote
Old February 26th, 2008, 08:25 PM   #13 (permalink)
Member
Verified Customer
 
Join Date: Apr 2002
Posts: 423
Oh and by the way, I have confirmed that this happens on auctions that are marked as sold before they expire if that helps you any.
wacnstac is offline   Reply With Quote
Old February 26th, 2008, 08:38 PM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
Correct look at the code posted above and this is in the build already. If an auction or ad is marked sold status is set to a unix datestamp not 0 hense the sendnotice script will only pull info for open auctions and close them as noted status = 0 so it is impossible to send an email again for an auction once the script is ran. You might want to check to ensure your cron script is correctly running meaning the queries are updating the enddate and status fields.

I have tested this thoroughly and see no issues.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old February 26th, 2008, 09:12 PM   #15 (permalink)
Member
Verified Customer
 
Join Date: Apr 2002
Posts: 423
Um, the code for most recent sendnotice.php does not match what is shown above.
wacnstac is offline   Reply With Quote
Old February 26th, 2008, 10:12 PM   #16 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
Your telling me you do not see status=0 in the query to grab auctions?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old February 26th, 2008, 10:29 PM   #17 (permalink)
Member
Verified Customer
 
Join Date: Apr 2002
Posts: 423
Here is the code in sendnotice.php as released on 2/22/08

Code:
Content visible to verified customers only.
This doesn't look like the fix posted above.
wacnstac is offline   Reply With Quote
Old February 27th, 2008, 07:01 AM   #18 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,687
Try the code in the post then thanks.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old February 27th, 2008, 05:18 PM   #19 (permalink)
Member
Verified Customer
 
Join Date: Apr 2002
Posts: 423
This is pathetic and unfortunately common place with Photopost these days. This problem which was posted here and know about since September of last year was fixed by the code in post 2 of this thread and yet this code never made it into a released version of sendnotice.php even though it has been released as late as 2/22 of this year. Come on Photopost let's get it together!
wacnstac is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple email notices for end of auction agbates Classifieds Bug Reports 12 October 7th, 2007 03:03 PM
Sent an email a day ago Yours Truly General Discussion 3 May 4th, 2007 05:32 PM
Auction ended before even started? Kafi Classifieds Bug Reports 4 October 13th, 2005 02:00 PM
Email to renew ad for 30 days is sent the same day ad is placed? macsamurai Classifieds Bug Reports 15 July 29th, 2005 10:22 AM
Auction Over = No Email Address HobbyTalk Classifieds Suggestions 0 December 11th, 2004 12:23 AM


All times are GMT -5. The time now is 03:31 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0