Umbrella Development

iLance Reverse Auction Specialists

Subscribe to Umbrella Development

Trouble shooting Plugins

Posted by Umbrella On March - 23 - 2010

Plugins, we want em, we need em, we love em.

But sometimes they have bugs. Unfortunately as with all software, even plugins will have their bugs. We try our hardest to test them, but inevitibilly we cannot account for every environment that they will be assimilated into. Sometimes plugins can push eachother around, other times it can be another customization that causes a Plugin to go rogue. While everyone loves a self starter I’ve found that sometimes self-starters shoot themselves in the foot due to a lack of understanding what it is they’re doing. So, I’m hoping this article will help some of you self starters avoid what I’ve found to be a common pitfall in debugging plugins when they act funny after you install them.

Most ilance marketplace owners at least attempt to do some of their own debugging prior to waiting for a support response. I think everyone familiar with any modicum of programming knows to make backups of the files they plan on altering. If you don’t then shame on you. If you do, then there is something you need to know about your plugin_xxxxx.xml files.

Making a backup is very important. So in backing up your plugin you will most likely make a copy of it. Good idea! However, what most marketplace owners fail to realize is how iLance loads those plugins. When making your backup copy make sure you rename your copy so that the first word in the title is not “plugin_”. This is exactly what iLance looks for when it’s loading your plugin files. Anything inside your /functions/xml/ Directory that starts with the string value of “plugin” will be loaded. What happens if you do? iLance will load that plugin twice, because it things that plugin_myplug.xml and plugin_myplug_old.xml are two separate plugins that need to be loaded. Which in turn will make it look like you have the plugin installed twice on your marketplace by duplicating everything the plugin does.

I’ve personally been contacted numerous times by the self-starting marketplace owners who are taking their code into their own hands (kudos to you guys/gals!). Unfortunately for them they had and left the plugin_ at the beginning of the file name when making their backup copy. So remember to put some word or text in front of the term plugin in your file name.

About the Author

I'll write something soon.

Leave a Reply

About Us

Founded in 2005, our primary goal is to provide efficient custom solutions to its clients. Your satisfaction is our primary goal here, so come in from the rain and hire Umbrella Today!

On Twitter