Automatic Queries (Cron?) Not Working

Posted in: Newspaper
Post count: 68

Hello,

This might be a tough one to figure out without knowing more details, but I am wondering if someone might have a possible answer. I am also not very technical so I am not sure how to describe the issue in technical terms.

Basically, I have a plugin that will query YouTube on a set schedule and auto-post a video as a blog post. This seems to work fine on all themes except Newspaper.

I am wondering – is there something built into this theme that might conflict with auto-posting plugins? Something that prevents an automatic query from running on a set schedule?

Again, sorry for being somewhat broad, but wondering if someone from TagDiv would know if there is something within the theme that would stop an automatic query of YouTube from happening on a set schedule. I ran a troubleshoot and disabled all other plugins and nothing seemed to fix the issue.

Thanks

Post count: 64

Hi!

it would be very odd for a theme to stop a scheduled post… Do you use any plugin like this wp-crontrol to check on the cron jobs? Do they show up as usual and keep recurring or are stuck in “Non-repeating”?

Some hosts might mess with your cron jobs if they are set incorrectly and start to generate a lot of processing, check the CHMOD on wp-cron.php file.

Cheers!

Post count: 68

It’s actually not Scheduled Posts as you would do from the Dashboard, but it is a plugin that runs on a set time (such as every 3 days) that goes out to YouTube to grab a video and post it as a blog post. For some reason on this theme the auto-posting schedule does not work – when it comes time to post, nothing happens.

Post count: 780

HI,

I’ll try to help you out, here is what you should try:
– inspect the log files for errors (errorlog). Hopefully we can get at least a waning or a fatal error. If no errors are in the log.. then it’s a bit more complicated.
– it may be some conflict with one of the save_post hooks in the theme. You can find all of them here: http://screencast.com/t/lzbje8fYH8pl . Try to comment them all and see if the plugin manages to post. (You have to comment the lines that starts with add_filter(‘save_post’, ) .
– also please try to disable all other plugins (we’ve seen some weird stuff 🙂 on some plugins)

We have a couple of custom made scripts that add posts pragmatically (we use them when we make the online demos) and they do work with our theme as expected. Also the auto import feature of the theme ads posts via code.
Radu O.

Post count: 68

Thanks, I’ll use this information to run some tests.

Post count: 68

OK – I commented each of these as you suggested (although there was only one case of “add_filter(‘save_post’, array… in td_review.php).

I also disabled all plugins including cache and it did not solve the issue. I did however switch to other themes and it would not work there so it could be a host problem.

Cron did not seem to be creating any arguments (all values say “none”) so not sure if there is some other issue.

Post count: 7909

Hi,

If this this issue appears on other themes it may be a server or wordpress configuration problem. You could try to test this on another host or on a local install.

Thanks!

Post count: 68

As of right now it does not have a problem with other themes and it does work on the same hosting account, for a different domain with a different WordPress install.

If I provide my login details, would someone like to hop in and take a quick look at the plugin? Perhaps you may be able to immediately idenfity the theme conflict if there is one.

Thanks for the support.

Viewing 8 posts - 1 through 8 (of 8 total)
You must be logged in to reply to this topic.