10 Common Joomla Errors and Solutions to Fix Them

Joomla needs no introduction and its robustness is well known all around the globe. But, often some common problems (in fact, not only for Joomla) do annoy Joomla users. I’ve developed this post keeping this in mind and have compiled 10 common problems most Joomla users confront with and how to fix them without any hassles.  

Error 1:  Notice: Undefined index: in /administrator/templates/isis/html/message.php on line 24
Find the below code

JFactory::getApplication()->redirect($link, ‘Saved Successfully’);

 
and replace it with this,

JFactory::getApplication()->redirect($link, ‘Saved Successfully’,'message’);

Error 2: 404 component not found.

Make sure you enabled component for the menu in Joomla Admin -> Menus -> Main menu (or your menu).

 
Error 3: Warning: require_once(/libraries/joomla/installer/adapters/package.php): failed to open stream: No such file or directory in /libraries/joomla/installer/installer.php on line 216 Fatal error: require_once(): Failed opening required ‘/libraries/joomla/installer/adapters/package.php’ (include_path=’.:/usr/share/pear:/usr/share/php’) in /libraries/joomla/installer/installer.php on line 216

If you are getting this error message in Joomla while installing package, make sure that you are using valid xml format. Joomla 1.5 will support <install> tag only. Joomla 3.0 will support <extension> tag only. Other joomla 1.6 to 2.5 versions will supprt both the tags.

 
Error 4: Database Error: Could not connect to database

Make sure you have entered correct database details for the below variables in Directory_root/configuration.php.public $host = ‘localhost’;

public $user = ‘root’;

public $password = ”;

public $db = ‘joomla3.0′;

public $dbprefix = ‘jos_’;

Error 5: MySQL: Unknown column ‘XXX’ in ‘field list’

It will be displayed when a column is missed in the table. Open your database and select the required table and add the column “XXX”.

Error 6: Module XML data not available

If you ever come across the error message “Module XML data not available” while editing module in admin panel (http://screencast.com/t/lo1nGEwZZ), make sure you have xml file inside your module folder in the name “mod_YOURMODULENAME.xml”

 
Error 7: configuration.php file not writable

This error message commonly occurs while installing new Joomla. When you are facing this issue, create a new file in the name “configuration.php” in your Joomla root path (for e.g.: D:\xampp\htdocs\configuration.php) and paste the content which displayed in your installation wizard and save.

 
Error 8: MySQL: Column count doesn’t match value count at row 1

For example you’ve only three fields in your table but you are trying to insert four values. In this case you will get the above error message.$query = “INSERT INTO #__TABLENAME (col1, col2, col3) values (‘$val1′,’$val2′,’$val3′,’$val4′)”;

Error 9:If you ever getting 403 error after enabling “URL rewrite”

(http://screencast.com/t/RquIvvIEX) option in Global configuration in your admin, open your Joomla root path. If you are using Windows server then rename web.config.txt file to web.config. If you are using Linux server then, rename htaccess.txt file to .htaccess.

 
Error 10: Invalid token error message when logging in joomla

This error will occur in two cases and the solution part is as follows.

 
1) Make sure to use form token <?php echo JHTML::_( ‘form.token’ ); ?> in your forms.

2) Clear cache and try.

I believe most of you would have got a great deal of idea from the above discussion and will now fix the common errors on your Joomla site with ease. If you’ve come across any other common Joomla errors input them via comments.

 

Related posts

3 thoughts on “10 Common Joomla Errors and Solutions to Fix Them

  1. Mathew Carl

    Above pointed mistakes are frequently happen for any new developers in Joomla. Before I also wondered for the above errors and later will solve those issues. It’s a great post for starters in Joomla. Thanks for pointing those important errors.

  2. peter

    yes, this will be a useful blog for the clients who are new to joomla stage. I’m expecting more technical post like this, Thanks for the incredible illumination.

  3. ramanathan

    Great to hear that this info has given you clear ideas. Thanks for the recognition. Stay linked to our blog to find more updates on Joomla programming

Leave a Reply

Your email address will not be published. Required fields are marked *

*


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code lang=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" extra="">