Tuesday, July 1, 2008

Esoteric Wordpress Fix

I can’t believe I’m going to break my blogging hiatus with an esoteric post on how to fix an annoying error when upgrading to Wordpress 2.5.1.

But, I’m going to…

For those of you who have upgraded Wordpress only to have the following error flash across your screen:

Fatal error: Call to undefined function wp_register_sidebar_widget() in xxxxxxxxx/blog/wp-admin/includes/dashboard.php on line 32

when you try to log into the WP-ADMIN dashboard, there is a simple cure - IF you happen to be using the K2 theme for your blog.

The problem is that earlier versions of K2 used their sidebar system, which required you to disable widgets for Wordpress.  Well, the new admin screen doesn’t like that one bit and it makes it so that you can’t log in.

What’s the cure?  Simple - remove the K2 plugin from the Active Plugins option in the database.

How do you do that?  Log into phpmyadmin and go to the wp_options table and select Browse.  Look for the active_plugins entry (mine was option_id #39) and click the pencil to edit the entry.

The entry will probably look something like this:

a:3:{i:0;s:0:"";i:1;s:19:"akismet/akismet.php";i:2;s:29:"disable-wordpress-widgets.php";}

What you need to do is delete out the disable-wordpress-widgets entry, or it may be named widgets-removal.php or something similar instead.  How do you do this?  Simply remove the quoted call to the php file, and the "i" and "s" entries immediately prior to that call.  So, in my install, the entry above becomes:

a:3:{i:0;s:0:"";i:1;s:19:"akismet/akismet.php";}

It looks much more complicated than it really is.  Once that entry is gone, you can go back to the wp-admin section and log in without a hitch.

As an aside - the latest versions of K2 have a checkbox in their theme options to handle this problem.  To avoid the issue, I’d recommend upgrading K2 first, then upgrading wordpress to 2.5.1.  OR, for those who are reading this prior to the WP 2.5.1 upgrade (if there indeed are any!) - simply use the wp-admin plugin screen to disable the "disable wordpress widgets" plugin before you upgrade.  Then, this will all be a moot point.  :)

I warned you it was esoteric.

Anyway, you can read more here: http://wordpress.org/support/topic/164296

You can also handle this a different way by reading this entry as well.

Technorati Tags , ,
Posted: 12:10 am

Tuesday, February 12, 2008

Mortgage Industry Finally Getting Smart

Interesting, mortgage lenders are putting a 30 day hold on forclosure proceedings across the board.  They are trying to work things out with their customers rather than just throw them out.

This may sound "nice" - but really it is just good business.  Lenders don’t want the house, and in this slow market they REALLY don’t want the house.  The people living in it on the other hand really DO want the house, so usually there is some kind of middle ground.  Of course, that is really only if the interest rate is high and there is room for wiggle, and if the owners have steady income.

You can also thank the Federal Reserve for their 3/4 point cut a few weeks ago.  That figures heavily into the mix. 

Technorati Tags , ,
Posted: 10:34 am

Tuesday, February 12, 2008

I’m Alive!

Check out this awesome song from Craving Lucy, a new band that is simply awesome.  My friend’s son is on accustic guitar…  Get them on iTunes, Rhapsody or Amazon!

I’m Alive!

Craving Lucy

Technorati Tags ,
Posted: 10:28 am

Thursday, February 7, 2008

Mitt Romney Bows Out

Wow, what a speech…

February 7, 2008: Mitt Romney’s Address to the Conservative Political Action Committee

 I want to begin by saying thank you. Its great to be with you again. And I look forward to joining with you many more times in the future.

 Last year, CPAC gave me the sendoff I needed. I was in single digits in the polls and I was facing household Republican names.

As of today, more than 4 million people have given me their vote for president, less than Senator McCain’s 4.7 million, but quite a statement nonetheless. 11 states have given me their nod, compared to his 13. Of course, because size does matter, he’s doing quite a bit better with his number of delegates.

To all of you, thank you for caring enough about the future of America to show up, stand up and speak up for conservative principles.

As I said to you last year, conservative principles are needed now more than ever. We face a new generation of challenges, challenges which threaten our prosperity, our security and our future.

I am convinced that unless America changes course, we will become the France of the 21st century-still a great nation, but no longer the leader of the world, no longer the superpower. And to me, that is unthinkable.

Simon Peres, in a visit to Boston, was asked what he thought about the war in Iraq. First, he said, I must put something in context. America is unique in the history of the world. In the history of the world, whenever there has been conflict, the nation that wins takes land from the nation that loses.

One nation in history, and this during the last century, laid down hundreds of thousands of lives and took no land. No land from Germany, no land from Japan, no land from Korea. America is unique in the sacrifice it has made for liberty, for itself and for freedom loving people around the world. The best ally peace has ever known, and will ever know, is a strong America! And that is why we must rise to the occasion, as we have always done before, to confront the challenges ahead.

Perhaps the most fundamental of these is the attack on the American culture. Over the years, my business has taken me to many countries. I have been struck by the enormous differences in the wealth and well-being of people of different nations.

I have read a number of scholarly explanations for the disparities. I found the most convincing was that written by David Landes, a professor emeritus from Harvard University. I presume he’s a liberal–I guess that’s redundant. His work traces the coming and going of great civilizations throughout history.

After hundreds of pages of analysis, he concludes with this: If we learn anything from the history of economic development, it is that culture makes all the difference. Culture makes all the difference.

What is it about American culture that has led us to become the most powerful nation in the history of the world? We believe in hard work and education. We love opportunity: almost all of us are immigrants or descendants of immigrants who came here for opportunity-opportunity is in our DNA.

Americans love God, and those who don’t have faith, typically believe in something greater than themselves-a Purpose Driven Life. And we sacrifice everything we have, even our lives, for our families, our freedoms and our country. The values and beliefs of the free American people are the source of our nations strength and they always will be!

The threat to our culture comes from within. The 1960’s welfare programs created a culture of poverty. Some think we won that battle when we reformed welfare, but the liberals haven’t given up.

At every turn, they try to substitute government largesse for individual responsibility. They fight to strip work requirements from welfare, to put more people on Medicaid, and to remove more and more people from having to pay any income tax whatsoever. Dependency is death to initiative, risk-taking and opportunity. Dependency is a culture-killing drug-we have got to fight it like the poison it is!

The attack on faith and religion is no less relentless. And tolerance for pornography-even celebration of it-and sexual promiscuity, combined with the twisted incentives of government welfare programs have led to today’s grim realities: 68% of African American children are born out-of-wedlock, 45% of Hispanic children, and 25% of White children.

How much harder it is for these children to succeed in school-and in life. A nation built on the principles of the founding fathers cannot long stand when its children are raised without fathers in the home.

The development of a child is enhanced by having a mother and father. Such a family is the ideal for the future of the child and for the strength of a nation. I wonder how it is that unelected judges, like some in my state of Massachusetts, are so unaware of this reality, so oblivious to the millennia of recorded history. It is time for the people of America to fortify marriage through constitutional amendment, so that liberal judges cannot continue to attack it!

Europe is facing a demographic disaster. That is the inevitable product of weakened faith in the Creator, failed families, disrespect for the sanctity of human life and eroded morality. Some reason that culture is merely an accessory to Americas vitality; we know that it is the source of our strength. And we are not dissuaded by the snickers and knowing glances when we stand up for family values, and morality, and culture. We will always be honored to stand on principle and to stand for principle.

The attack on our culture is not our sole challenge. We face economic competition unlike anything we have ever known before.

China and Asia are emerging from centuries of poverty. Their people are plentiful, innovative, and ambitious. If we do not change course, Asia or China will pass us by as the economic superpower, just as we passed England and France during the last century. The prosperity and security of our children and grandchildren depend on us.

Our prosperity and security also depend on finally acting to become energy secure. Oil producing states like Russia and Venezuela, Saudi Arabia and Iran are siphoning over $400 billion per year from our economy–that’s almost what we spend annually for defense.

It is past time for us to invest in energy technology, nuclear power, clean coal, liquid coal, renewable sources and energy efficiency. America must never be held hostage by the likes of Putin, Chavez, and Ahmendinejad.

And our economy is also burdened by the inexorable ramping of government spending. Don’t focus on the pork alone-even though it is indeed irritating and shameful. Look at the entitlements.

They make up 60% of federal spending today. By the end of the next Presidents second term, they will total 70%. Any conservative plan for the future has to include entitlement reform that solves the problem, not just acknowledges it.

Most politicians don’t seem to understand the connection between our ability to compete and our national wealth, and the wealth of our families. They act as if money just happens–that it’s just there. But every dollar represents a good or service produced in the private sector. Depress the private sector and you depress the well-being of Americans.

That’s exactly what happens with high taxes, over-regulation, tort windfalls, mandates, and overfed, over-spending government. Did you see that today, government workers make more money than people who work in the private sector. Can you imagine what happens to an economy where the best opportunities are for bureaucrats?

It is high time to lower taxes, including corporate taxes, to take a weed-whacker to government regulations, to reform entitlements, and to stand up to the increasingly voracious appetite of the unions in our government!

And finally, let’s consider the greatest challenge facing America–and facing the entire civilized world: the threat of violent, radical Jihad.

In one wing of the world of Islam, there is a conviction that all governments should be destroyed and replaced by a religious caliphate. These Jihadists will battle any form of democracy–to them, democracy is blasphemous for it says that citizens, not God shape the law. They find the idea of human equality to be offensive. They hate everything we believe about freedom just as we hate everything they believe about radical Jihad.

To battle this threat, we have sent the most courageous and brave soldiers in the world. But their numbers have been depleted by the Clinton years when troops were reduced by 500,000, when 80 ships were retired from the Navy, and when our human intelligence was slashed by 25%.

We were told that we were getting a peace dividend. We got the dividend, but we didn’t get the peace. In the face of evil in radical Jihad and given the inevitable military ambitions of China, we must act to rebuild our military might. Raise military spending to 4% of our GDP, purchase the most modern armament, re-shape our fighting forces for the asymmetric demands we now face, and give the veterans the care they deserve!

Soon, the face of liberalism in America will have a new name. Whether it is Barack or Hillary, the result would be the same if they were to win the Presidency. The opponents of American culture would push the throttle, devising new justifications for judges to depart from the constitution.

Economic neophytes would layer heavier and heavier burdens on employers and families, slowing our economy and opening the way for foreign competition to further erode our lead.

Even though we face an uphill fight, I know that many in this room are fully behind my campaign. You are with me all the way to the convention. Fight on, just like Ronald Reagan did in 1976. But there is an important difference from 1976: today… we are a nation at war.

And Barack and Hillary have made their intentions clear regarding Iraq and the war on terror. They would retreat and declare defeat. And the consequence of that would be devastating. It would mean attacks on America, launched from safe havens that make Afghanistan under the Taliban look like childs’ play. About this, I have no doubt.

I disagree with Senator McCain on a number of issues, as you know. But I agree with him on doing whatever it takes to be successful in Iraq, on finding and executing Usama bin Laden, and on eliminating Al Qaeda and terror. If I fight on in my campaign, all the way to the convention, I would forestall the launch of a national campaign and make it more likely that Senator Clinton or Obama would win. And in this time of war, I simply cannot let my campaign, be a part of aiding a surrender to terror.

This is not an easy decision for me. I hate to lose. My family, my friends and our supporters… many of you right here in this room… have given a great deal to get me where I have a shot at becoming President. If this were only about me, I would go on. But I entered this race because I love America, and because I love America, I feel I must now stand aside, for our party and for our country.

I will continue to stand for conservative principles; I will fight alongside you for all the things we believe in. And one of those things is that we cannot allow the next President of the United States to retreat in the face evil extremism!!

It is the common task of each generation-and the burden of liberty-to preserve this country, expand its freedoms and renew its spirit so that its noble past is prologue to its glorious future.

To this task… accepting this burden… we are all dedicated, and I firmly believe, by the providence of the Almighty, that we will succeed beyond our fondest hope. America must remain, as it has always been, the hope of the earth.

Thank you, and God bless America.

Technorati Tags ,
Posted: 11:09 pm

Friday, February 1, 2008

SoftMicroHooYas!

So, in case you’ve been under a rock, Microsoft has put in an unsolicited bid to buy Yahoo! for $31 a share, or $44.1 billion.

Score one for Google - they sure have upset the apple cart to prompt such an unprecedented move.  And, at the same time - OUCH for Google.  They’ve finally pissed off the giant.

Check out more information here.

Really, the biggest question in my mind is how will this be branded?

  • Microsoft Yahoo!
  • Yahoo! by Microsoft
  • Microsoft, the Yahoo! people
  • Microsoft, the company formally known as Yahoo!
  • Yahoo!, the company formally known as Microsoft
  • YaMicHrooSoft
  • And, my personal favorite, Soft MicroHooYas!

 My biggest fear?  They they will put a yodeling paperclip in all their advertising.   **Shudders-to-the-Bone**

Posted: 5:00 pm

Monday, January 28, 2008

How To Recognize a Stroke

Props to my Brother and his wife for this info…  Verified on Snopes.com.

I lost my Mom to a stroke so I hope that this helps you.

Perhaps you can save someone you love after learning this?

STROKE: Remember The 1st Three Letters…. S.T.R.

My nurse friend sent this and encouraged me to post it and spread the word. I agree.

If everyone can remember something this simple, we could save some folks. Seriously..

Please read:

STROKE IDENTIFICATION:

During a BBQ, a friend stumbled and took a little fall - she assured everyone that she was fine (they offered to call paramedics) …..she said she had just tripped over a brick because of her new shoes.

They got her cleaned up and got her a new plate of food. While she appeared a bit shaken up, Ingrid went about enjoying herself the rest of the evening.

Ingrid’s husband called later telling everyone that his wife had been taken to the hospital - (at 6:00 PM Ingrid passed away.) She had suffered a stroke at the BBQ. Had they known how to identify the signs of a stroke, perhaps Ingrid would be with us today. Some don’t die…. they end up in a helpless, hopeless condition instead.

It only takes a minute to read this…

A neurologist says that if he can get to a stroke victim within 3 hours he can totally reverse the effects of a stroke… totally. He said the trick was getting a stroke recognized, diagnosed, and then getting the patient medically cared for within 3 hours, which is tough.

RECOGNIZING A STROKE
Thank God for the sense to remember the “3″ steps, STR . Read and Learn!

Sometimes symptoms of a stroke are difficult to identify. Unfortunately, the lack of awareness spells disaster. The stroke victim may suffer severe brain damage when people nearby fail to recognize the symptoms of a stroke .

Now doctors say a bystander can recognize a stroke by asking three simple questions:
S * Ask the individual to SMILE.
T * Ask the person to TALK and SPEAK A SIMPLE SENTENCE (Coherently)
(i.e. It is sunny out today)
R * Ask him or her to RAISE BOTH ARMS.

If he or she has trouble with ANY ONE of these tasks, call 999/911 immediately and describe the symptoms to the dispatcher.

New Sign of a Stroke ——– Stick out Your Tongue

NOTE: Another ’sign’ of a stroke is this: Ask the person to ’stick’ out his tongue.. If the tongue is ‘crooked’, if it goes to one side or the other , that is also an indication of a stroke.****

A cardiologist says if everyone who gets this e-mail sends it to 10 people; you can bet that at least one life will be saved.

****  snopes.com reports that the tounge test may have too much room for interpretation and that sticking with the original 3 tests is best.

Technorati Tags , , ,
Posted: 11:09 am

Sunday, January 27, 2008

New Text Editor for WordPress - FCKEditor

If you use WordPress a lot like I do, you’ve no doubt noticed the shortcomings of TinyMCE, the default WYSIWYG text editor for writing posts and pages.  I’ve looked into replacing it in the past, but never came up with a viable option that didn’t cost a bunch of money or that wasn’t a headache to manage.

Today in my web travels (researching how to write a Webservice with PHP) I came across FCKEditor, a free text editor that seems to have a lot more going for it that TinyMCE.  I began to look into how I could incorporate it with WordPress when it hit me - DUH, someone has likely already done this work.  So, I googled FCKEditor and Wordpress and sure enough, a kind gentleman by the name of Dean has made a plugin to marry the two together.

It’s as simple as downloading his plugin and activating it.  Within 2 minutes, I was writing this message to let everyone know the good news.

So far, FCKEditor seems to be exactly what I wanted - more power over my WordPress posts with less hassle to do it.  It’s what I was hoping for with Contribute CS3, but I’ve already let you know how that went.

Here’s a quick screenshot of it:

Demo Gif

In fact, it has it’s own image upload manager, which is really great.  I used it to put up that image and it went so much smoother than it would have been otherwise - between using the WordPress option or FTPing it myself and copying the URL, getting the capitlization correct, etc.

So, two thumbs  for now.  I’ll let you know more as I discover it!

UPDATE:

Here is a picture of the full editor - just so you can see that it isn’t as "limited" as the pic above suggests…

Full Editor

Technorati Tags , ,
Posted: 6:53 pm