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 How do I...?

Classifieds How do I...? Wondering how to do something in Classifieds?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old July 26th, 2007, 09:15 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Feb 2006
Posts: 116
How do I expire ads?

If an as was placed 6 months ago with a duration of 15 days, why do they still display?

Do I need to run a process to update them so they get archived?
Amedeus is offline   Reply With Quote
Old July 26th, 2007, 09:58 PM   #2 (permalink)
Member
Verified Customer
 
Join Date: Feb 2006
Posts: 116
It seems I need to run sendnotice.php. I am on a windows server, but I can schedule that.
It didn't adjust the totals. How do these get updated?
Amedeus is offline   Reply With Quote
Old July 26th, 2007, 10:42 PM   #3 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,720
Cron Job: sendnotice.php
__________________
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 August 11th, 2007, 06:03 AM   #4 (permalink)
Junior Member
Verified Customer
 
Join Date: Mar 2007
Location: Duesseldorf, Germany
Posts: 28
Chuck, I've got a question about the status of sold items.
Folks mark their item as sold but this lead not to an expiry of that item. Does that mean it remains in the database until it expires itself?
If one upload an item and give it a period of 90 days, sells it after 2 and marks it as sold, will it reside on the system until the rest of 90 days are over?
I have this case of having on sold item still being on the system...
It might be it miss something....
wolven is offline   Reply With Quote
Old August 11th, 2007, 10:42 AM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,720
It means you must run the cron task in this thread linked above to expire ads and remove them from your server
__________________
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 August 11th, 2007, 10:54 AM   #6 (permalink)
Junior Member
Verified Customer
 
Join Date: Mar 2007
Location: Duesseldorf, Germany
Posts: 28
Yepp, this is what I do already.... but it seems not to solve the prob (or I haven't waited long enough).
Let's ask it in a different way: Where is the link between SOLD and EXPIRED?
wolven is offline   Reply With Quote
Old August 11th, 2007, 11:03 AM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,720
there is no link its two separate actions here
__________________
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 December 8th, 2007, 05:54 PM   #8 (permalink)
Member
Verified Customer
 
Join Date: Nov 2003
Posts: 86
I hate to bring this up again..but I just so happened to be doing something on my site and I screwed something up. I needed my host to pull a file out of my backup. Upon getting back to me, he asked I knew what "sendnotice.php" was, becuase I had about 18,000 of them on my server.

I'm sure this has something to do with the above..so...how do I get these things to auto-terminate?
agbates is offline   Reply With Quote
Old December 8th, 2007, 05:56 PM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,720
there is only one sendnotice script in our software without more detailed explanation there I cant respond further as I do not know what your host means by that comment.
__________________
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 December 9th, 2007, 02:06 PM   #10 (permalink)
Member
Verified Customer
 
Join Date: Nov 2003
Posts: 86
It is sendnotice.php I am seeing them generate in my root directory. They are named sendnotice.php.1, sendnotice.php.2, sendnotice.php.3 etc....Since I had deleted all 18000 of them yesterday, there are 181 new ones today. They all contain this single word followed by three periods:

done...

That is it.

What other details do you need to know?
agbates is offline   Reply With Quote
Old December 9th, 2007, 04:21 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,720
You might want to contact your host about that. what is in those files? Maybe your host generates a log of the actions of those files? Thats definately a server thing not photopost though. You might need your host's assistance on setting up a cron task that will work without doing that on their servers.
__________________
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 December 9th, 2007, 06:19 PM   #12 (permalink)
Member
Verified Customer
 
Join Date: Nov 2003
Posts: 86
Host contacted. Here is his reply:

Each file has this in it
done...

that is all nothing else, you get the same thing if you run the file from
the browser so it is the script, there is nothing wrong with the server if
so every client that has a cron would getting files like this soon as they
run their crons..
agbates is offline   Reply With Quote
Old December 9th, 2007, 06:52 PM   #13 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,720
what they are telling you is they have your server setup to log each cron. You need to ask them how to run a cron without those log files being created because that i can say is not the default on most servers. You should not have 18000 log files you do not want log files.
__________________
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
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
ads never expire rcsmith01 Classifieds How do I...? 1 June 25th, 2007 08:58 PM
Ads don't expire... PanamaRed Classifieds Bug Reports 10 May 16th, 2007 04:09 PM
Ads will not expire? CrimsonGT Classifieds How do I...? 3 September 18th, 2006 09:40 AM
A list of soon to expire ads & help with checkboxes for templates criscokid Classifieds Installation & Upgrades 6 August 1st, 2005 10:02 AM
How do ads expire? kraftworkz Before You Buy 1 October 30th, 2004 09:08 PM


All times are GMT -5. The time now is 05:57 AM.

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