 | |  | | | Classifieds Installation & Upgrades If you're having install or upgrade problems, post here. |
May 16th, 2005, 08:21 AM
|
#21 (permalink)
| | Member Verified Customer
Join Date: Oct 2004 Location: Virginia
Posts: 125
|
My worry was that I was receiving the confirmation email that it's being run with this in the body of the email:
Status: 404
Content-type: text/html
X-Powered-By: PHP/4.3.10
No input file specified.
|
| |
May 16th, 2005, 09:02 AM
|
#22 (permalink)
| | Member Verified Customer
Join Date: Apr 2005
Posts: 34
|
Taking off the -spyder option worked. Thanks!
|
| |
May 18th, 2005, 08:18 PM
|
#23 (permalink)
| | Member Verified Customer
Join Date: Oct 2004 Location: Virginia
Posts: 125
|
Guys, so my getting the above 404 Error with "No input file specified." is normal?
|
| |
May 18th, 2005, 08:26 PM
|
#24 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,680
|
Check your paths and everything. Try with spider and without.
|
| |
June 21st, 2005, 02:19 PM
|
#25 (permalink)
| | Ultimate Member Verified Customer
Join Date: Sep 2002
Posts: 1,172
|
mmmhh,
I looked into it, but must admit, that I do not understand it really.
I downloaded this wget and extracted it into my classified folder. I tried to understand the manual available on the net, but to be honest, I just do not get it.
I know how to set up cron jobs, that is not the problem. I do not understand in which of all those wget files I have to paste where a url or code.
Can someone help me out by posting here the exact location within which specific wget files?
I use classifieds 2.3 by the way...
Thanks in advance
|
| |
June 28th, 2005, 05:29 AM
|
#26 (permalink)
| | Ultimate Member Verified Customer
Join Date: Sep 2002
Posts: 1,172
|
Anyone?
|
| |
June 28th, 2005, 05:58 AM
|
#27 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,680
|
well you need to compile wget on your server using there instructions and once its installed you simple input something like this to your cron file
You need ssh access and gcc and make access to install software on the server
30 0 * * * /usr/bin/wget --spider http://www.viperalley.com/classifieds/sendnotice.php
alternatively you can try something like this in your cron file
30 0 * * * /path/to/classifieds/sendnotice.php
|
| |
September 2nd, 2005, 07:14 AM
|
#28 (permalink)
| | Member Verified Customer
Join Date: May 2003 Location: Michigan
Posts: 45
|
Any idea how one would set this up to work using the cron feature in Cpanel?
|
| |
September 2nd, 2005, 08:37 AM
|
#29 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,680
|
Well I think the only difference with cpanel is pull down boxes for the time part
10 *****
Otherwise the rest of the command line should be the same
|
| |
September 28th, 2005, 10:09 AM
|
#30 (permalink)
| | Ultimate Member Verified Customer
Join Date: Sep 2002
Posts: 1,172
|
Hi,
Classifieds 2.4.2
this might be a stupid question, but I just do not know how to check this:
I set my cron job to run every 3 minutes. I did it without the spider option:
*/3 * * * * /my path to classifieds/sendnotic.php
Afterwards I uploaded a new auction which will run for 3 days. 3 days was the shortest time period I could choose ( I changed the duration-options on my installation)
How can I check now that the cronjob works correctly before the 3 days are over if no other ad or auction is currently running?
|
| |
September 28th, 2005, 11:22 AM
|
#31 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,680
|
You host may have specific cron things to follow so you might want to ask them. They may require the path to php before the command line
You can run it manually and see if any emails are sent and then wait to see if the cron runs. It is does not contact your host and see if there is anything special you need to do
|
| |
September 28th, 2005, 12:31 PM
|
#32 (permalink)
| | Ultimate Member Verified Customer
Join Date: Sep 2002
Posts: 1,172
| Quote: |
Originally Posted by omegatron You can run it manually and see if any emails are sent and then wait to see if the cron runs. | how do I ran it manually?
|
| |
September 28th, 2005, 12:37 PM
|
#33 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,680
| |
| |
September 28th, 2005, 04:43 PM
|
#34 (permalink)
| | Ultimate Member Verified Customer
Join Date: Sep 2002
Posts: 1,172
|
Thanks. That worked. I get the e-mails.
A. How can I configure that this e-mail gets sent out i.e. one day before an ad expires?
B. Is there a specific time when the e-mail about the end of an auction (not ad) gets send out, i.e. directly after the auctions ends or 1 day after?
|
| |
September 28th, 2005, 04:46 PM
|
#35 (permalink)
| | Ultimate Member Verified Customer
Join Date: Sep 2002
Posts: 1,172
|
... and in which file is the text of those 2 e-mails hardcoded? I do not find it in the language file...
|
| |
October 7th, 2005, 04:14 AM
|
#36 (permalink)
| | Ultimate Member Verified Customer
Join Date: Sep 2002
Posts: 1,172
|
Hi
although the manual test worked as described above, the cronjob did not work 100%. I cjecked now after the date of the auction exired.
1. The auction is marked (auction ended) in the classified section, but nevertheless it is still visible
2. The auction does not appear in the approve expire column in ACP. It shows only up in the section within the ACP drop down choice.
I have also not yet an answer to my questions ealier:
A. How can I configure that this e-mail gets sent out i.e. one day before an ad expires?
B. Is there a specific time when the e-mail about the end of an auction (not ad) gets send out, i.e. directly after the auctions ends or 1 day after?
C. in which file is the text of those 2 e-mails hardcoded? I do not find it in the language file...
Thanks in advance
|
| |
October 7th, 2005, 10:04 AM
|
#37 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,680
|
Auctions are suppose to appear after end and you can manually remove them.
You never had earlier questions that I see scanning up here but none the less
a. That would be up to you as you would need to create a script for that. We currently grab All ads that are gonna expire within the 3 period timeframe.
b. No only after an auction ends is an email sent.
c. The text for the emails is within that file sendnotice.php
|
| |
January 6th, 2006, 11:09 PM
|
#38 (permalink)
| | Member Verified Customer
Join Date: Jan 2006
Posts: 77
|
Well, I don't seem to get the cron job to work.
I get this message in an email after the server has tried to run the file:
/home2/www/xxxxxxxxx/classifieds/sendnotice.php: ?php: No such file or directory
/home2/www/xxxxxxxxx/classifieds/sendnotice.php: ////////////////////////////: is a directory
/home2/www/xxxxxxxxx/classifieds/sendnotice.php: line 10: syntax error near unexpected token `(m'
/home2/www/xxxxxxxxx/classifieds/sendnotice.php: line 10: `// Contributing Developer: Michael Pierce (mpdev.net) //'
|
| |
January 7th, 2006, 05:40 AM
|
#39 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 52,680
|
You have followed this exactly? What happens when you run it in the browser? Code: Content visible to verified customers only.
|
| |
January 7th, 2006, 11:06 AM
|
#40 (permalink)
| | Member Verified Customer
Join Date: Jan 2006
Posts: 77
|
I am on a shared server (linux) and don't have access to the cron job file, but through a cron job interface called monstercontrol. It is set up to run 3 times a day and the same number of times, I receive an email with the errors listed above.
When I run the file through the browser, it reports "done", so the file itself seems to be working.
Attached is a pic of the interface and the path to the sendnotice file is the only thing I can add.
|
| | |
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 03:28 AM. | |