Every so often you'll find that your installation of Joomla throws you a puzzling error when you least expect it. A perfect example is when you need to create a new module in the module manager. Seems simple enough, but when you get there you see an error warning: "XML Parsing Error at 1:37. Error 108: Unknown" (Figure 1).

Say what?

Fig. 1
XML Parsing Error

The maddening thing is that this has no discernible effect on your ability to actually create and use modules in the system. Yet there it is, an error in an ugly red bar, marring your ability to achieve Joomla perfection.

Fortunately, fixing the error takes just a minute, maybe two, and nothing could be simpler.

To fix the error, you'll need access to one of the following:

  • the c-panel file manager;
  • an FTP client;
  • a Joomla component-based file manager


For this fix we used the NinjaXplorer file manager from NinjaForge. (For the FTC: They didn't pay us to use this and we don't even know those guys. We just happened to have the component installed to test how well it works. In this case, it worked pretty well.)

To begin the fix, use whatever file manager solution you wish of the three listed and navigate to the modules directory of your Joomla installation.

Next, you get to have the pleasure of looking at each of your modules. If you don't have that many installed, this won't take too long. If you have a lot of modules, hopefully you'll find what you are looking for near the top of your list of modules.

Open the first module and look for its XML file. It should look like Figure 2.

Fig. 2
Clicksafe Module


When you have located the XML file, open it. Fortunately, you're only interested in line 1. Line one should reference the correct version of XML, i.e., version 1.0. If it says something else, as in Figure 3, you'll have to edit it so that the correct version is referenced.

Fig. 3
XML code


We've done that, as you can see in Figure 4.

Fig. 4
Correct Code


Next, save your change. Then return to module manager and click the icon to create a new module. At this point, you should see that the error is gone (Figure 5).

Fig. 5
Error free


We should note that in our experience we've only seen this error related to Joomlaspan's Clicksafe Google AdSense module. But don't let this easy-to-solve error prevent you from using the Joomlaspan solution for AdSense. Generally speaking, we've found the Joomlaspan product to be a very easy to use and reliable means of incorporating AdSense into your Joomla site or blog.

Learn2 Poll

What is your favorite CMS?

Wordpress - 7.7%
Joomla - 76.9%
Drupal - 0%
DotNetNuke - 7.7%
ModX - 7.7%
What the heck is a CMS? - 0%

Total votes: 13
The voting for this poll has ended on: 28 Apr 2010 - 13:40

Member Login