Technical Problems for [Solved]

Published by the Author on December 25, 2009 at 9:42 pm > Gun Related News > Technical Problems for [Solved]

There seems to be a problem with the scheduler for, which is why no articles have been published for the last several days.  I’ve been out of town for the holidays, and didn’t notice the problem until just now…

More information (for those who are curious)

I write articles for whenever I’m feeling motivated and have the time.  That means that on one day, I may write 4 articles, then go a few days without writing anything at all.  To smooth out the flow of new articles, and to make this website more enjoyable to read, I schedule articles to be automatically published at a predictable rate (that is why 99% of the articles are published at 12:01AM).

Unfortunately, the scheduler stopped working properly on December 20, 2009, and I just figured that out when I got home this evening.  I’m in the process of figuring out what went wrong, and hope to have the scheduler fixed tomorrow.  In the unlikely event that it is not fixed bu then, I’ll just manually publish articles until I get it fixed.

Anyway, my apologies for appearing to drop off the face of the world for the last several days.  Rest assured, this website will continue for the foreseeable future.


ALSO READ:  Armed Cab Driver Stops a Bank Robber

The problem has been solved, and everything should now be back to normal.

The problem which prevented the scheduled articles from being published related to my recent upgrade to WordPress 2.9.  Apparently there is a problem with WordPress 2.9 that can break the scheduler.  A workaround (until version 2.9.1 fixes the problem is to change the wp-cron timeout to a higher value.  This can be done by modifying the following line in wp-includes/cron.php

wp_remote_post( $cron_url, array(‘timeout’ => 0.01, ‘blocking’ => false, ’sslverify’ => apply_filters(‘https_local_ssl_verify’, true)) );

To instead read

wp_remote_post( $cron_url, array(‘timeout’ => 10, ‘blocking’ => false, ’sslverify’ => apply_filters(‘https_local_ssl_verify’, true)) );

Credit to Harsh Agrawal for find that solution!

Join the NRA today and do your part to help preserve our gun rights (and save $10).