🎉 New Extension: JUX Easy Content Slider 🎊
🌟 Special offer summer sale: 20% off all memberships 🌟. Coupon code: SUMMER_2024
20 Jul, 2016

Are you a starter in Joomla stage? Have you ever stuck on Joomla errors and still been on the way to figure them out. If so, we are here to present you the way to fix the 10 most common Joomla errors without any hassles.

1.Error 1: 404  component not found.

It is very common for Joomla users to struggle with this error, so how to find missing components? Well, actually, you can find what is the missing component by either checking what is the component assigned to that specific menu item that creates this page, or if there is no menu item for this page, you can disable SEF URLs in the Global configuration and find the name of the component by the option=com_component part of the URL, or make sure you enabled component for the menu in Joomla Admin=>  Menus => Main menu (or your menu).

2. Error 2: Database error.

 

What can you do if you couldn’t connect to database? Easily, you have to 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_’;

3. Error 3: configuration.php file not writable.

This error message commonly occurs while installing new Joomla. When you are handling with this problem, please creating a new file in the name “configuration.php” in your Joomla root path (E.g: D:\xampp\htdocs\configuration.php) and pasting the content which displayed in your installation wizard and save.

4. Error 4: 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’);

5. Error 5: Unable to create the target folder

This error is shown when Joomla! does not manage to create a folder. Setting up the correct permissions for the folders where the component is to be installed should resolve the issue.

If setting up the right permissions to known folders does not solve the problem, try the following (in joomla 3.x).

edit the libraries/joomla/filesystem/folder.php file.

look for the following code (around lines 149-152):

if (!@copy($sfid, $dfid))

{

throw new RuntimeException('Copy file failed', -1);

and replace it with this one:

 

if (!@copy($sfid, $dfid))

{

throw new RuntimeException('Copy file failed'.'  '.$sfid.' => '.$dfid, -1);

}

The code above will improve how the error message is displayed by adding the source and destination folders to it. You will be able to know exactly which folders do not have enough permissions set by this way.

6. Error 6: Module XML data not available.

If you have ever come across the error message “Module XML data not available” while editing module in admin panel, make sure you have XML file inside your module folder in the name “mod_YOURMODULENAME.xml”

7. Error 7: 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.

8. Error 8:  Error to build admin menu

This is only available for components, not plugins and modules. When this occurs, the component will be installed successfully but you will not be able to access it in the Components menu. To fix the problem, open your database manager (like phpMyAdmin) and run the following query:

 DELETE FROM `#__menu` WHERE link LIKE '%com_component%';

 DELETE FROM `#__extensions` WHERE element = 'com_component';

 DELETE FROM `#__assets` WHERE name='com_component';

 Try reinstalling the component after running the query, it should appear in the Components menu this time.

Remember to:

  • Replace #_ with your database's actual prefix
  • Replace component (in com_component) with the actual name of your component.

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

 

If you are facing with this obstacle. please open your Joomla root path. In case 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.

10. Error 10: Warning: Failed to move file 

This error is displayed when Joomla! does not manage to move a file from the server's tmp folder to your website's tmp folder. This may be caused by incorrectly set up permissions or wrongly provided path to the tmp folder. Here's how you can find the exact path to the folder in question:

edit the libraries/joomla/filesystem/file.php file

look for the following code (around lines 506-508):

else{

JError::raiseWarning(21, JText::_('JLIB_FILESYSTEM_ERROR_WARNFS_ERR02'));

}

and replace it with this one:

else{

JError::raiseWarning(21, JText::_('JLIB_FILESYSTEM_ERROR_WARNFS_ERR02').' FROM '.$src.' TO '.$dest);

 

}

Conclusion

Well, we have already present you 10 common Joomla errors that you may face to and the ways how to handle with them relatively. We hope you all enjoy it and please feel free to share other errors or other possible solutions via comments. 

 

 

 

Rate this item
(0 votes)
Login to post comments