Help - Search - Members - Calendar
Full Version: Yet Another Run-periodic-tasks Issue
Movable Type Community Forum > Other Product Discussion > Bugs and Odd Behavior
webtroy
Hi everyone.

Pretty Lame that this is my first post. I wish I could contribute something before requesting help sad.gif

I've done a search through the forum, and couldn't find the answer.

I have got the CRON working.

This is not related to command line syntax or anything of the sort, but more towards what exactly the run-periodic-tasks file does?

What the problem is though, it takes the scheduled post, and publishes it. But when it is published, it doesn't write the index.php correctly (my guess) , and puts my index.php into an infinite redirect loop, causing the web browser to return an error.

has anyone encountered this before.?

ohmy.gif
webtroy
Anyone?

I the cron is running fine, kinda sucks tho since it doesn't publish the entry correctly, and corrupts the index.php.

Any help on this would be great!
lisa
It should be rebuilding the entry that you've posted, the category that it's in as well as the appropriate monthly archive and the main index. I have not heard of it corrupting any files before.

If you check your site using FTP, do you have an index.html and an index.php in your main directory? Could you save a copy of the bad index.php file and a copy of a good one and provide links to both?
webtroy
QUOTE (lisa @ Jun 23 2006, 01:10 PM) *
It should be rebuilding the entry that you've posted, the category that it's in as well as the appropriate monthly archive and the main index. I have not heard of it corrupting any files before.

If you check your site using FTP, do you have an index.html and an index.php in your main directory? Could you save a copy of the bad index.php file and a copy of a good one and provide links to both?


thank you for the response wink.gif

I may have worded it a bit incorrectly. It doesn't corrupt the index.php, it just doesn't write the "scheduled entry" correctly.

because when i unpublished that "scheduled entry" and rebuild, it fixed the issue.

I will schedule another post this evening, and run the cron, and copy/paste some code for you to take a look at.

once again, thanks for the response.

Troy.
lisa
Are you positive that cron is set up properly and running? I'll wait to hear from you tomorrow. smile.gif

Lisa
webtroy
well the cron should be setup properly unless I have to edit run-periodic-tasks? which I dont think I do.

the cron is.

0,15,30,45 * * * * cd /home/mysiteEXAMPLE/public_html/cgi-bin/mt/; ./tools/run-periodic-tasks


*mysiteEXAMPLE being my username for the account.

and my previous post, I said I would copy/paste the page source, well I'm an idiot, that contradicts the fact that the page won't load once the cron publishes the scheduled post! ugh.


I can't explain it anymore than I already have. but I will try once again.

Cron is setup to run every 15 minutes. I schedule a post, for 10:00am, 10am rolls around, the cron runs, and my site gets this error

~~~~

The page isn't redirecting properly


Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

~~~~~

now I check MT admin, it shows the entry as being published.

when I unpublish that specific entry. Everything works again.??

so my only guess it might be a conflict with a plugin i could be using, so I will list the plugs I am running.

The Default MT Plugin Set, NOFOLLOW and SPAAMLOOKUP etc..

and BetterFileUploader


any ideas?
lisa
If you'd like, you're welcome to contact me with your URL, login info and a link to this thread, I can take a look at your site to see if anything jumps out at me.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.