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 »

5 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: , ,

SugarCRM custom scheduler job.

Guys, today I am sharing how to create a installation package for custom scheduler job in SugarCRM.

For SugarCRM administrator, the scheduler job functions are always not enough for suit the business logic.
As a administrator, we are always need to create our customize job in order to fulfill the requirement.

In older version of SugarCRM (like 4.x), it required to modified the core file in SugarCRM to just add in a custom scheduler job function. As SugarCRM release version 5.X, it allow administrator add in a job without modifying the core file.

Here is an example on how to create a single scheduler job in SugarCRM 5.X.X.
read more »

No Comments | Tags: ,

customize SugarCRM out-of-box module field(s)

When deploying a SugarCRM project, there is always required to customize out-of-box modules.
Here is the tutorial to teach your guys how to customize a field from Accounts module.
read more »

1 Comment | Tags:

Gmail “Too many login failures” in SugarCRM

Recently I was play around with Gmail to download email(s) to SugarCRM.
While doing the testing, found that one of the email accounts always fail to connect to Gmail but others without any problem.

So, I decided to debug into the issue and found the error message “Too many login failures” return from Gmail.
Suspect it is due to too many test connections on the email account(can’t recall the email account password) and causing Gmail block the server IP + email account.

Try to google solution for this scenario, but found nothing useful.
Finally I found the solution by read more »

No Comments | Tags: , ,