ling: (pic#253518)

I made the upgrade to 2.9 and discovered that my scheduled posts weren’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.

So if this posts, it worked.

The fix involves changing one of the wordpress files. Wordpress has a timeout feature for when it’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.

Here is the file that you need to change:


Approximately line number 205, there is something that looks like this.

wp_remote_post ($cron_url, Array (‘ timeout’ => 0.01, ‘ blocking’ => false));

Change 0.01 to 60. This should be a minute to post.

This may work for you. Totally didn’t work for me.

Another solution was to change the wp_config.php file and add

define(‘ALTERNATE_WP_CRON’, true);

Didn’t work either.

Downloaded this zip file that’s supposed to fix bugs.

After uploading these files, the scheduler works. You’re seeing this post!

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’t work now. I upgraded to PHP5 and I wasn’t getting the errors anymore. If you’re on GoDaddy, here’s the instructions on how to switch to PHP5. I didn’t have to edit the htaccess file.

Crossposted to Samantha Ling, Dreamwidth and Livejournal

ling: (Default)

Today's going to promise to be another busy day. We've already run some errands this morning. Later today is another get together that we'd planned on Tuesday that might morph into a birthday party for another friend, but we're not sure yet as the planner never really made any made and set plans. So more partying a little later today. Which is why you're getting a journal entry now before I forget and come home with a very short entry!

So LJ has tags, which I hardly ever used, but am starting to now. Wordpress always had categories and now it has tags and I'm still using both. The problem is that I haven't been consistent in either. I don't want to go back through my 200+ entries to fix it, though I'm sure at some point that I will. I want some things to be at least a little bit orderly.

So my question really is about Wordpress. I don't know how many of you guys use it and I'm not sure how many of you use both tags and categories. But I'm finding that I'm putting in any old random thing in tags and not really using much with the categories. And sometimes when I do think about using both, they sometimes have the same names for both. For instance, one of my entries has My Life for both tags and categories. And I'm starting to think that maybe I should get rid of the categories altogether and use just tags? Beccause it's easier to add them. Categories requires that you have to go into the dashboard to add new thigns and that's just a pain in the ass. Maybe I've just answered my opwn question. But I'll ask the question anyway.

For those wordpress users, what do you guys do?

Technorati : , , ,

ling: (Default)

As many of you know, I post these blog entries in both Wordpress and LiveJournal.  Wordpress has a great content management system.  Livejournal allows for ease of reading and posting. (I get more comments via livejournal than I do on the wordpress blog by far.)  What one lacks, the other excels at, so I've just gotten used to the idea of maintaining two blogs.

The problem with that is that there isn't a desktop blogger that can update both properly.Windows Live Writer allows me to add new categories in Wordpress without having to go into the dashboard.  It's got this great SmugMug plugin so I don't have to go to the website to get the links to my photos.  But it doesn't do Livejournal tags properly.  And Zoundry Raven doesn't update the categories list, much less allow you to make a new one.  But it does somehow manage to add livejournal tags properly.  And there aren't any plugins to add yet.  I'm like Goldilocks without the third option.

If Live Writer could just add the lj tags properly, I'd be all set.  Really, I would. 

ling: (Default)

This is an update about what I've done to Nothing all that interesting on the front end, but in the back end, I added a few functionalities for myself.

The first is that I've added a plugin called Wordpress PDA, which reroutes browsers if it detects that you are using a mobile browser such as Blazer. If you use a mobile browser and it doesn't work for you, let me know. The template used for that is very basic and it uses a lot of links I don't use for the regular template. But it allows you to read the posts as well as comment should you feel the need. And that's what I ultimately wanted.

It was an easy install. Unzip, upload, activate. That was pretty much it.
I just wish that Livejournal had a mobile version. Reading my friends list is cumbersome, and don't even talk to me about posting comments on there.

The second is that I added the Postie plugin. It's a wordpress plugin that will allow me to update via email. This way, when I'm writing from my pda phone, I don't have to try to copy and paste to another browser window. I write one email and send it off. The only clunkiness about it is that Postie requires you put the category in the subject line, which means that it'll show up in LJ. And in order for me to use lj tags, I have to the use the :start and :end lines, which will show up in LJ as well. But at least I can get tags and you guys don't really care though right? I mean, you'll know when the entry starts and stops. You won't be worried that it got cut off somehow, right? Right?

I'm using and they allow cron jobs, which you can get to via the control panel. This was a little more complicated since I tried using my Gmail account. Though it's supposed to work with Gmail as other people have done so before, it looks like the later Wordpress versions (2.2 at least) doesn't work with it. When I switched to another email account, it could access the email server, but it was still not working right. If you don't have the photo and file upload directories set correctly, they won't work right. I had to put those folders in the root file rather than the plugins file. But once I did that, the everything seemed to work.

So this is my first post testing this post by email for both LJ and WP.

Hopefully it'll all work out!


Here's an update:

The cron job doesn't quite work, but if you go to /plugins/postie/get_mail.php in your web browser, it'll grab the entry for you. I am too tired of troubleshooting to be bothered with it right now.

LJ won't grab the entry if you have anything in the cc: or bcc: areas. You also can't put the lj email address in those fields either. You have to put all your email addresses in the to: field, which pretty much conks out any email notifies if you want to keep your livejournal password secret.


ling: (Default)
Samantha Ling

August 2013

181920212223 24


RSS Atom

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Sep. 26th, 2017 07:48 pm
Powered by Dreamwidth Studios