Archive for May, 2008

Problems with: win.edInsertContent

 OK, that image was done in Microsoft Windows Exolorer. The post immediately before was with Firefox, my default (and preferred) browser. I had gone into Site Admin > Settings > Writing-settings and unchecked “WordPress should correct invalidly nested XHTML automatically” . I thought I was dung frying (that’s ‘doing fine, by the way, in spellunker checker) but alas, not so: Next time around the darn problem came up again. So this is in IE - and seems to be working. Oh well, if anyone knows anything about this, please don’t heitsate to comment. Comment anyway! Q’s place is welcome to all.

Q

Winows crashes revisited: They are not inevitable!

So all these problems with MS Windows (Praise Gates!) have been completely unnecessary! There has been, all these years, a ‘hidden’ options screen, apparently since April 1st of the year 2000. Bring it up and contrary to Microsoft instructions, uncheck all the deafault settings.

Oh by the way: remember Widows Millennium Edition? Me? Yes, I feel the same about that one too. No, we don’t allow profanity on this board.

How to get to this screen? The ridiculouly simple command is: Hold ALT, CTRL, CAPS LOCK, and TAB while simultaneously pressing F8, HOME, ARROW DOWN, and ENTER. Mac users do something else of course but they never need this one, bless ‘em.

That’s all.

Later, I may even tell the secret of how I got images (well, this one anyway) to load in this WordPress …. meanwhile, off to find yet another theme.

Actually, time to do get back to some serious writing, the regular two hours or one thousand words are a strict, unbreakable rule.

Q

WordPress 2.5 won’t post images (sometimes)

Not uploading images (again)

This is the script that leads to the error:

/ send html to the post editor
2function send_to_editor(h) {
3 var win = window.opener ? window.opener : window.dialogArguments;
4 if ( !win )
5 win = top;
6 tinyMCE = win.tinyMCE;
7 if ( typeof tinyMCE != ‘undefined’ && ( ed = tinyMCE.getInstanceById(’content’) ) && !ed.isHidden() ) {
8 tinyMCE.selectedInstance.getWin().focus();
9 tinyMCE.execCommand(’mceInsertContent’, false, h);
10 } else
11 win.edInsertContent(win.edCanvas, h);
12}

And this is the error message:

win.edInsertContent is not a function
[Break on this error] win.edInsertContent(win.edCanvas, h);

Is there anyone out there that knows what’s going on? I am missing something. The problem is sporadic, and this was a 35K JPEG picture.

Q

New post at my other web log. Meanwhile, on open-source software

I’ve entered a new post at Senior Web Log, Mostly by Knight.

Q’s place here will have to work harder to catch up. Software problems are untangling, but slowly. The Ubuntu thing is a marvel, and it would be great to go for it full time (right now, this is under Windows XP). I’ve even made some small progress on the web page byknight.com . Getting the shop up is behind schedule though, as is writing the next project (typical: right here and now I couldn’t get WordPress to generate the link there, until I “saved” this draught it wouldn’t translate the HTML or whatever it had to do).

Graphics: My trial version of Photshop is running out so I have to learn how to grapple with GIMP.

GIMP is an another amazing piece of open source software. As far as I can see it manages pictures as well as the Adobe ‘Shop and though it’s complicated, there’s a lot of great people supporting it.

Ubuntu, … GIMP (the lil’ fox is called Wilbur by the way), … Open Office .

All these are free, powerful and do more than one expects of them. The market, profit, gain and business is a strong driver of progress. These are market driven in that they can provide a platform for business, but they are not profitable in themselves. So … ?

Maybe my recent Windows crashes, catastrophic as they were, are telling me something. At the very least, there is no need to despair when it happens. Of course Microsoft has a worldwide network, support anywhere and everywhere and these alternatives are difficult, geeky. I don’t think Microsoft launches really bad products (except for the infamous Millennium Edition Windows that was inflicted on my poor Toshiba portable). Their strength is the huge development effort, under a single banner, of millions of lines of code. It’s also their perceived weakness, the constant flaws that need patches and upgrades - which GNU and open source have anyway and it’s an ongoing thing - hence the geekiness, I suppose.

Q

Ubuntu installed

But images didn’t load in this WordPress installation The problem has appeared before (and now, on the other web-log Mostly by Knight, the same.

With this message:
win.edInsertContent is not a function

Deactivated AJAX plug-in, no difference. Will have to look at the WP 2.5 setup - though this one was not an upgrade: it’s set up under the latest WordPress version, when I launched it. The other web log, Mostly by Knight, is an upgrade and had this “image” problem from the start - but disappeared when I repeated the ydating process: now, it’s back again.

So something is not right yet. Will have to look at it tomorrow but this is taking far too much time to get going.
Q