<?xml version='1.0' encoding='utf-8' ?>

<rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/' xmlns:atom10='http://www.w3.org/2005/Atom'>
<channel>
  <title>Samantha Ling</title>
  <link>https://ling.dreamwidth.org/</link>
  <description>Samantha Ling - Dreamwidth Studios</description>
  <lastBuildDate>Tue, 06 Apr 2010 00:38:06 GMT</lastBuildDate>
  <generator>LiveJournal / Dreamwidth Studios</generator>
  <lj:journal>ling</lj:journal>
  <lj:journaltype>personal</lj:journaltype>
  <image>
    <url>https://v2.dreamwidth.org/864633/387824</url>
    <title>Samantha Ling</title>
    <link>https://ling.dreamwidth.org/</link>
    <width>69</width>
    <height>100</height>
  </image>

<item>
  <guid isPermaLink='true'>https://ling.dreamwidth.org/112053.html</guid>
  <pubDate>Tue, 06 Apr 2010 00:38:06 GMT</pubDate>
  <title>Missed schedules</title>
  <link>https://ling.dreamwidth.org/112053.html</link>
  <description>&lt;p&gt;I made the upgrade to 2.9 and discovered that my scheduled posts weren&amp;#8217;t posting on time.  After quick interwebs search, I discovered a pretty quick fix for it.  Since I write my entries all at once, mostly over the weekend, scheduling them is best for me.&lt;/p&gt;
&lt;p&gt;So if this posts, it worked. &lt;/p&gt;
&lt;p&gt;The fix involves changing one of the wordpress files. Wordpress has a timeout feature for when it&amp;#8217;s automatically posting something.  Right now, the timeout is 0.01.  Wordpress 2.9 is hella slow, so that is not enough time for it to post.  You can change this to something a little longer.  I switched it to 60.&lt;/p&gt;
&lt;p&gt;Here is the file that you need to change:&lt;/p&gt;
&lt;p&gt; wp-includes/cron.php&lt;/p&gt;
&lt;p&gt;Approximately line number 205, there is something that looks like this.&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;wp_remote_post ($cron_url, Array (&amp;#8216; timeout&amp;#8217; =&amp;gt; 0.01, &amp;#8216; blocking&amp;#8217; =&amp;gt; false));&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Change 0.01 to 60.  This should be a minute to post.&lt;/p&gt;
&lt;p&gt;This may work for you.  Totally didn&amp;#8217;t work for me.  &lt;/p&gt;
&lt;p&gt;Another solution was to change the wp_config.php file and add&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;define(&amp;#8216;ALTERNATE_WP_CRON&amp;#8217;, true);&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Didn&amp;#8217;t work either. &lt;/p&gt;
&lt;p&gt;Downloaded this &lt;a href=&quot;http://www.semiologic.com/2009/12/21/wp-2-9-three-bugs-and-how-to-fix-them/&quot;&gt;zip file&lt;/a&gt; that&amp;#8217;s supposed to fix bugs.&lt;/p&gt;
&lt;p&gt;After uploading these files, the scheduler works.  You&amp;#8217;re seeing this post!&lt;/p&gt;
&lt;p&gt;The other thing that I noticed was that my journalpress was giving me errors on the edit page.  The problem was that I was still using PHP4, which won&amp;#8217;t work now.  I upgraded to PHP5 and I wasn&amp;#8217;t getting the errors anymore.  If you&amp;#8217;re on GoDaddy, &lt;a href=&quot;http://www.ardamis.com/2009/07/25/upgrading-godaddy-hosting-to-php-5-x-from-php-4-3-11/&quot;&gt;here&amp;#8217;s the instructions on how to switch to PHP5&lt;/a&gt;.  I didn&amp;#8217;t have to edit the htaccess file.&lt;/p&gt;
&lt;p style=&quot;text-align: right&quot;&gt;&lt;small&gt;Crossposted to &lt;a href=&quot;http://www.samanthaling.com/?p=1018&quot; title=&quot;Read Original Post&quot;&gt;Samantha Ling&lt;/a&gt;, &lt;a href=&quot;http://ling.dreamwidth.org&quot;&gt;Dreamwidth&lt;/a&gt; and &lt;a href=&quot;http://lingtm.livejournal.com&quot;&gt;Livejournal&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;https://www.dreamwidth.org/tools/commentcount?user=ling&amp;ditemid=112053&quot; width=&quot;30&quot; height=&quot;12&quot; alt=&quot;comment count unavailable&quot; style=&quot;vertical-align: middle;&quot;/&gt; comments</description>
  <comments>https://ling.dreamwidth.org/112053.html</comments>
  <category>blogging</category>
  <category>wordpress</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
</channel>
</rss>
