 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
August 28th, 2006, 09:43 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Nov 2004
Posts: 40
| cron.php error
When I look at my server error log, I get a TON of these errors listed.
File does not exist: /home/witerd/public_html/photopost/cron.php
Is there such a thing as the cron.php in the photopost folder and what causes this error?
Thanks!
-Dave
|
| |
August 29th, 2006, 08:10 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
|
There is no such thing in photopost as a cron.php file. You most likely have a relative links somewhere in your footer to a file by that name
|
| |
August 29th, 2006, 11:44 AM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Nov 2004
Posts: 40
|
I didn't think there was a cron.php file in photopost.
I have just the standard vbull footer, no mods. The only modified footer I have is on the portal on the main page. I have a webring link there.
What should I be looking for that would try and access cron.php?
I did a search for cron in the footer and came up blank.
Last edited by OMSA; August 29th, 2006 at 11:53 AM.
|
| |
August 29th, 2006, 12:14 PM
|
#4 (permalink)
| | Senior Member Verified Customer
Join Date: Mar 2006 Location: Yorkshire
Posts: 603
|
looks like you have a cron job set up in vbulletin and its looking in the wrong place, or you have some code to run a cron when someone loads a page (or part of a page) that updates stats or something and its still in the header or footer when you go to photopost index and the url (path) is reletive as chuck said.
I would say the second is more likely.
|
| |
September 2nd, 2006, 11:47 AM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Dec 2005
Posts: 33
|
I'm faced with the same issue in my photopost/showgallery.php file I run photopost within vbulletin and vbulletin generates the call at the bottom of the page when it's in vbulletin territory, not photopost. There is also a warning in the vbulletin coding not to remove it. I have no idea how to work around this so I'm just putting up with the 404 errors. I get about 500 404s per day. Here's what vbulletin generates:
<img src="http://www.timstropicals.com/photopost/cron.php?
When I run photopost classifieds, vbulletin changes the entry to
<img src="http://www.timstropicals.com/classifieds/cron.php?
I've searched the vBulletin form and the posted opinion of the vBulletin Team on this issue is "Sorry, but this does not happen in the default vBulletin files, and its from a third party script, please seek their support."
Last edited by tjanders; September 2nd, 2006 at 12:55 PM.
|
| |
September 2nd, 2006, 04:00 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
|
try replacing in header-inc.php your footervars to these Code: Content visible to verified customers only.
|
| |
September 13th, 2006, 01:00 AM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Dec 2005
Posts: 33
|
Sorry, but I've tried replacing the above code and it still comes out with a file path of photopost/cron.php? instead of vbulletin/cron.php? when I run pages.
|
| |
September 13th, 2006, 05:43 AM
|
#8 (permalink)
| | Junior Member Verified Customer
Join Date: Jan 2005
Posts: 10
| Quote:
Originally Posted by tjanders Sorry, but I've tried replacing the above code and it still comes out with a file path of photopost/cron.php? instead of vbulletin/cron.php? when I run pages. | same here.
|
| |
September 13th, 2006, 07:15 AM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
|
Nothing more I can suggest other than finding out where in vbulletin your $cronimage variable is defined and make the link a full url to the file.
|
| |
September 14th, 2006, 09:51 PM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Dec 2005
Posts: 33
|
The cron.php call is made at the bottom of every page in vbulletin. It is a relative path in their software. When you run photopost or classifieds within vbulletin, you will get a path error on every page that is accessed. That's because your software can't convert the file path properly. It is based on the main directory in your software when it should convert to the main directory in the vbulletin installation. Given that your software won't know the name of that directory, I guess we will have to live with all the 404 errors. No way around it.
|
| |
September 15th, 2006, 06:39 AM
|
#11 (permalink)
| | Registered User
Join Date: Nov 2005 Location: Canoga Park, CA
Posts: 3,244
|
Hey Chuck S,
Before the footer is called. Code: Content visible to verified customers only.
In many other hacks / addons its before. Code: Content visible to verified customers only.
|
| |
September 27th, 2006, 11:36 PM
|
#12 (permalink)
| | Member Verified Customer
Join Date: Nov 2004
Posts: 62
|
Any updates on this? I have a reasonable number of photopost products and have thousands, upon thousands of these cron.php request errors in my logs.
I thought perhaps my programs being older was the issue so I never squawked before.
OK, I installed a fresh new site with 3.61 Vbulletin today and the latest classifieds and get the errors every time.
I can't even cook up a work-around for this by creating a fake cron.php file due to the way it's being called. Code: Content visible to verified customers only.
Any help would be most welcome. I'd be thrilled just to kill the entire footer inclusion to get rid of these errors. It's a pretty big problem for me.
please?
Al ps, yes, I tried the code listed in the posts above as a possible fix.
Last edited by rastacat; September 27th, 2006 at 11:48 PM.
|
| |
September 28th, 2006, 02:52 AM
|
#13 (permalink)
| | Junior Member Verified Customer
Join Date: Sep 2006
Posts: 5
|
I'd suggest separating vBulletin and PhotoPost OR remove PhotoPost for a while, and monitoring your site's traffic.
Once you know for certain that all these cron jobs still appear in your log when you've removed PhotoPost, then you know who the culprit is.
|
| |
September 28th, 2006, 01:06 PM
|
#14 (permalink)
| | Member Verified Customer
Join Date: Nov 2004
Posts: 62
|
It's clearly showing on the classifieds page, that's where the code posted above was taken from. It's not actually a cron job in the server sense, it's a file used in VB and the PP programs are pulling it in via the footer.
I can stop the errors by removing the PP products.
|
| |
September 28th, 2006, 01:28 PM
|
#15 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
|
Try Zach's post in header-inc.php cron.php error |
| |
September 28th, 2006, 02:45 PM
|
#16 (permalink)
| | Member Verified Customer
Join Date: Nov 2004
Posts: 62
|
Thanks Chuck. I misunderstood Zach's post as I thought it was directed specifically to you for comments, and not as a code suggestion.
It fixed it on the new classified install. |
| |
September 28th, 2006, 03:13 PM
|
#17 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
|
Yep already added it to my new classifieds beta I am testing
|
| |
October 11th, 2006, 11:14 PM
|
#18 (permalink)
| | Member Verified Customer
Join Date: Dec 2005
Posts: 33
|
This fixes photopost and classifieds both for me. Thanks very much.
|
| |
October 12th, 2006, 08:14 AM
|
#19 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,676
|
There is already code for this added within our latest downloaded code  to address this
|
| | |
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 07:57 PM. | |