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 Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old 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
OMSA is offline   Reply With Quote
Old August 29th, 2006, 08:10 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
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
__________________
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 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.
OMSA is offline   Reply With Quote
Old 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.
Sybaris is offline   Reply With Quote
Old 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.
tjanders is offline   Reply With Quote
Old September 2nd, 2006, 04:00 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
try replacing in header-inc.php your footervars to these

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 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.
tjanders is offline   Reply With Quote
Old September 13th, 2006, 05:43 AM   #8 (permalink)
Junior Member
Verified Customer
 
Join Date: Jan 2005
Posts: 10
Quote:
Originally Posted by tjanders View Post
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.
jmar is offline   Reply With Quote
Old September 13th, 2006, 07:15 AM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
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.
__________________
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 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.
tjanders is offline   Reply With Quote
Old September 15th, 2006, 06:39 AM   #11 (permalink)
Registered User
 
Zachariah's Avatar
 
Join Date: Nov 2005
Location: Canoga Park, CA
Posts: 3,244
Send a message via ICQ to Zachariah Send a message via AIM to Zachariah Send a message via MSN to Zachariah Send a message via Skype™ to Zachariah
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.
Zachariah is offline   Reply With Quote
Old 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.
rastacat is offline   Reply With Quote
Old 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.
Al3xy is offline   Reply With Quote
Old 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.
rastacat is offline   Reply With Quote
Old September 28th, 2006, 01:28 PM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
Try Zach's post in header-inc.php

cron.php error
__________________
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 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.
rastacat is offline   Reply With Quote
Old September 28th, 2006, 03:13 PM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
Yep already added it to my new classifieds beta I am testing
__________________
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 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.
tjanders is offline   Reply With Quote
Old October 12th, 2006, 08:14 AM   #19 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,940
There is already code for this added within our latest downloaded code to address this
__________________
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
Cron Job: sendnotice.php Michael P Classifieds Installation & Upgrades 82 March 15th, 2010 11:43 AM
sendnotice.php cron job sending daily notifications blankoboy Classifieds How do I...? 9 October 21st, 2007 08:21 PM
Webmin SendNotice Cron Job Setup creativepart Classifieds Installation & Upgrades 4 March 20th, 2006 08:01 PM
Bug in slideshow.php: Parse error: parse error, unexpected '\"' in line 282 (FIXED) dontom Photopost Pro Bug Reports 2 September 30th, 2005 09:09 AM


All times are GMT -5. The time now is 05:53 PM.

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