Workarounds for Common Open Source Bugs
Experts offer advice on modules and alternatives to combat common issues.
Open Source CMS PLatforms are certainly no exception to the occasional tech glitch. On one hand, publishers using open source solutions have access to a vibrant online community, which makes it easy to ask questions in a forum and receive help within a few business days. But for immediate open source gratification, itâs helpful to be armed with workarounds that solve platform gripes.
âIf thereâs a bug, we always fix it in the next release,â says WordPress founder Matt Mullenweg, âso itâs never around for more than a month or two. The most common issues arenât ones that are bugs, but generally mistakes from users, typically when theyâre trying to modify their template or CSS.â
NMP (National Mortgage Professional) Media Corp. relies on Drupalâs modules and executive vice president Andrew Berman has found that common glitches are âmost likely to happen in the way you create your themes. Sometimes Web editors want the themes to be a certain way, and the implemented CSS wonât allow them to do this.â But for Bermanâs site, which sees âa few thousand uniques per day,â his more recent dilemma posted in the Drupal forum is how to best optimize their database (to free up server space) due to a recent traffic increase.
Fixes for Common OS Issues
Regardless of the glitch (or a mistake on the part of the user, as Mullenweg classifies the majority of these bugs), knowing what modules are available as well as the workaround options canât hurt. While there are certainly a number of widely-used systems, Drupal expert Chris Free, director of Web development for Chicago-based firm Chromatic, which works on sites including The Great Political Debate, and Louis Landry, development coordinator at Joomla, offer ideas on how to get solve common open source complaints. While experts confirm that glitches within Drupal, Joomla and WordPressâand the majority of OS systemsâare generally remedied in a few monthsâ time, here are some quick fixes for the time being:
Optimizing Servers. With Joomla, the most common problem publishers have is that their servers are not set up optimally, says Landry. As a result, there are problems installing extensions and âdoing other things that require proper handling of file ownership,â he says. He recommends that servers have suPHP, fcgi, PHPSuExec, or an equivalent. More importantly, the Joomla Extensions Directory can modify the limitations in the current version of the platform.
Caching. âWe constantly hear from our clients that things arenât publishing out,â Free says of Drupal. âThe trick is to empty the system cache for the actual CMS.â
Category and Structure. One limitation within Joomla is the section/category structure, says Landry. To work around this without using an extension is to rely on the menu system rather than on-the-fly navigation.
This means having one master menu and then structure all content using sub-menus and has the advantage of giving you detailed control over your URLs, which is probably the other most commonly discussed topic. To set up your site to take full advantage of menuing, Landry suggests mapping out plans for hierarchical navigation. Then create one master menu with sub-menus to reflect that.
In Joomla, presentation of menus is done via modules. Depending on how the site looks, publishers may want to make a separate module (a copy of the main module, but with slightly different parameters) for each sub-menu. Another approach is to use one module and control which levels are displayed. Experiment with start level, end level, and whether to display sub-menu items to get the display you want.
Browser Issues. Does your content publish correctly on Firefox but not Internet Explorer? Thereâs a reason. âThatâs a bug in the Drupal system,â says Free. âTypically we tell people to use Firefox when managing content since it does the least amount of damage to markup (IE is a prime culprit).â
Formatting. For anyone knee deep in the OS world, formatting can be the bane of your existence. The trick, says Free, is not to copy and paste text directly from Microsoft Word, but do everything in a plain text editor and suggested online resources that can strip out these egregious markups. âItâs not foolproof, but is helpful,â he says of the available modules, which are like plug-ins. After finding and installing these modules, the editors create rich text and function as other word processors (albeit very basic) that write the corresponding HTML as you type.â
Permissions. A general complaint with regard to Drupal is ââIâm trying to change a page on the site and my changes arenât sticking,ââ says Free.
Enable the âcontent permissionsâ helper module that comes packaged with the CCK as a first step. If itâs already enabled, check the field permissions for that user at âadmin/user/permissions.â By default, only users with administer CCK privileges can edit/view each field, he adds.
Events for CMS Enthusiasts
Half the battle in troubleshooting common open source bugs is engaging in open dialog, as well as developing a broad understanding of the platform. While most users may have a love-hate relationship with their open source solution, one of the incentives to is the robust communityâboth online and in person. Here, some events and groups that offer face time with developers, colleagues and OS experts to gain solutions to CMS gripes:
Bay Area TYP03 Users Group
February 4, 2010
San Francisco, California
April 19-21, 2010
San Francisco, California
CMS Expo 2010
May 3-5, 2010