RSS
people

wp to twitter error

Scenario:

I upgrade one of my wordpress plugin “WP to Twitter” to latest version (Version 2.2.0) for the OAuth and found that it doesn’t work with my hosting plan (hostgator).
When I click on the “Connect to Twitter” and there is a fatal error “Fatal error: Class ‘OAuthSignatureMethod_HMAC_SHA1′ not found.
After performing some debugging and found that it is due to OAuth enabled in my hostgator PHP.

In hostgator, they are using PHP 5.2.14 with OAuth enabled. This is the main reason causing the problem.
Inside the PHP OAuth, it contain of a set of classes (OAuthException is one of them) and “WP to Twitter” plugin is using this class to perform some checking and causing the problem.

Solution:

Here is the modification that I done for my wordpress plugin.

read more »

No Comments | Tags: , ,

WordPress Article Template plugin fix

Scenario:
A week ago, I upgraded my blog version to the latest version 3.0 and installed few plugins into this blog.
Found a very useful plugins call Article Templates that contribute by Binny V A.

Enables template support for posts and pages. You can see all existing templates in the Manage Templates page.

But found that the plugin does not work as expected. It does not save the template and the whole plugin is not usable.
No choices, I have to debug into WordPress & Article Template plugin in order to make it work for me.
Found the problem due to the “template” does not register as a post type.

So I added in the a line command in order to make it works.

read more »

11 Comments | Tags: , ,