General Joomla FAQ (72 Articles)

How to test if jHackGuard is working correctly on your Joomla site?

If you want to be sure that jHackGuard is installed and working correctly on your website, you can emulate a "hacking attempt" (don't worry it's completely safe) and see if the plugin generates a log file for this. To make the test, all you need to do is open your favorite browser and enter this URL: http://www.yourdomain.com/30/index.php?test=eval(base64_decode('jHackGuardTest')); Doing this will generate a log file in the /logs/ directory of your Joomla site named jhackguard-log.php with the following content: [crayon-58da1c416d5cf837473059/] If you see this log, this means that jHackGuard is installed and working correctly on your…

How to remove time stamps from Joomla SEF URLs

Due to an incorrect alias or a non-English character in your category names, Joomla may replace the category name with a time stamp like 2013-01-08-03-45-44. The problem can be solved by following the steps below: Step 1: Change the menu item type for the menu item from " External URL " to " Text separator " Step 2: After step 1, an " Alias " field will appear under the " Menu title " field which will contain the time stamp Step 3: Edit the alias field and change the time stamp to what you want to replace the time stamp with Step 4: Save the menu item Step 5: Change the menu item type back to " External URL " …

How to configure AcyMailing to comply with SiteGround e-mail terms of use?

In order to comply with the SiteGround e-mail Terms of Service you have to configure your AcyMailing Joomla extension to send fewer than 400 messages per hour. The task can be completed from the Joomla admin area-> Components->AcyMailing->Configuration-> Queue process . In the Manual send process configuration enter the following values: Send 40 e-mails and then wait 6 Minutes before sending an other batch. More details about the AcyMailing configuration can be found at: http://www.acyba.com/en/support/documentation/55-acymailing-config.html…

Joomla caching

The caching mechanism implemented in Joomla is a way to improve the performance and loading speed of the content in your Joomla website. When the caching is enabled, Joomla creates a copy of the content of its database and stores it on the hard disk of the server. When someone accesses your website with request to see certain parts of your site, Joomla will check the cache for the searched content and will display it much quicker than if it had to send the request as query to the MySql database. You can turn the caching on via your Joomla admin area -> Site -> Global Configuration -> Cache Settings -> YES . You can also edit the " Cache time " from the same menu. Note that the time is measured in minutes and it represents the the time for which the cache file will be stored before it is refreshed. If you update your website constantly, then it is a good idea to select more frequent refresh rate, however if the website is oriented more towards static content, then you can set a refresh rate of 12 or 24 hours. For example if you want to set 12 hours cache time, you should set 720(minutes). In most of the cases the folder where the cache is stored is called /cache and is located in the root folder of your script. This directory must be writable for caching to be successfully implemented. You may also find useful this article: https://www.siteground.com/kb/Joomla_does_not_reflect_changes_immediately/…

How to extract and restore a Joomla .jpa archive or backup?

Upload your .jpa archive in public_html through your FTP client: http://www.siteground.com/tutorials/ftp/ftp_client.htm Download the Akeeba Kickstart script from: https://www.akeebabackup.com/download/official/akeeba-kickstart.html Upload the kickstart zip archive again in public_html or in the same folder where the you have the .jpa archive. Extract the content of the archive. This will put multiple files in the same folder. The listing will be similar to the following one: da-DK.kickstart.ini de-DE.kickstart.ini el-GR.kickstart.ini en-GB.kickstart.ini es-ES.kickstart.ini fr-FR.kickstart.ini it-IT.kickstart.ini kickstart.php nb-NO.kickstart.ini nl-NL.kickstart.ini pt-BR.kickstart.ini ru-RU.kickstart.ini sv-SE.kickstart.ini tr-TR.kickstart.ini uk-UA.kickstart.ini zh-CN.kickstart.ini Access the kickstart.php script via your domain and browser. For example: http://yourdomain.com/kickstart.php If you load the web site from a subfolder ( http://yourdomain.com/subfolder/ ) and you have uploaded there the files mentioned above ( public_html/subfolder )  use the following link: http://yourdomain.com/subfolder/kickstart.php A notification window with the " Things you should know about Akeeba Kickstart " title will be open. You can safely close it by clicking on: " Click here or press ESC to close this message " After it is closed, comes the real restoration part. 1. Select the .jpa archive file you want to restore from the drop down list. In the second field supply the password if the archive has been password protected. 2. Write to files - Directly 3. Fine tune - these settings can be used to bypass the timeout settings of your host. For example, if you try to extract larger .jpa archive on a shared server, this will probably exceed the timeout settings and will cause the restoration to fail. Leave the settings as they are by default during the first attempt and play with them if it fails. 4. Hit the big green " Start " button to start the restore. Another window will show up with a progress bar indicating the status of the restore. When it completes successfully, another big green button will appear. Its name is " Run the Installer ". Click on it and then click " Next ". If you restore a backup created on one host to another you might need to adjust the database settings at that step. At the DB restore step you should provide an empty database with a user permitted to access it. Except the database login settings, you can leave the rest of the settings in the DB restore section unchanged. If you restore on the same server where the backup has been created, the database settings will be the same and you should skip this step. Click on the " Next " button to proceed. This will spawn another progress bar. Allow it to finish and click " OK ". This will lead you to the " Site Info " section. Do not touch anything if you restore on the same server. If you restore to another, the only required change you should do is to check the box besides the " Override tmp and log paths. Use the directories under your new site's root " label. Click " Next " again to reach the last step where the installation directory from the Joomla root folder should be deleted. After the installation directory is deleted, you can access your Joomla front and back ends.…

How to hide your site name in Joomla

Most Joomla templates display the site name defined in the Joomla configuration file configuration.php . Usually, the site name is set as the domain name for your website. In order to hide it, you need to delete the domain name and save the configuration with a blank site name. For example, if your domain name is mysite.com, in your configuration.php file you will have this line: var $sitename = 'mysite.com'; To hide the site name, you need to change the above line to: var $sitename = ''; …

How to set up Quota management in Akeeba Backup

Akeeba Backup is a Joomla component which allows you to quickly and easily back up your whole Joomla installation. By default, Akeeba Backup does not have a limit on the number of backups it can store or on the amount of disk space these backups can take on your hosting account. This may become a problem if you have a large site and you create a lot of backups. To set up the limits, log into your Joomla admin area and go to Components > Akeeba Backup > Configuration. Once there, locate the "Quota management" section. To enable the quota limits, check the boxes for "Enable size quota" and "Enable count quota". Each limit has a slider through which you can set the desired threshold above which old backups will be deleted. We recommend setting the "Size quota" to 500Mb and the "Count quota" to 7. This way when you want to create a new backup, the oldest backups will be deleted if the overall size of the backups exceeds 500Mb or if there are 7 previous backups.…

I can’t log into the Joomla backend as administrator

There are few common issues that could be causing the problem. The solutions below may help you regain access to your Joomla administrative backend. The first thing that you should try, if you can’t log in to the administrative area of your website (http://domain.com/administrator),  is to try to reset your Joomla admin password . If you are receiving the following error message when you enter your login details: JAuthentication::__construct: Could not load authentication libraries. Username and password do not match Most probably the problem is caused by disabled Authentication – Joomla plugin. You can easily fix this problem. First access your cPanel -> phpMyAdmin and select your database from the left menu. If you don’t know exactly which database is used by your Joomla, check this article on the matter: How to find which database is used by Joomla After that you should see all tables of your database, listed on the left side. Select the jos_plugins table (the table prefix – jos_ may be different, depending on your Joomla setup). Find the record named Authentication – Joomla and press the pencil icon (the edit button) for that entry. You should see all preferences for this plugin, find the row called “published” and change its value from 0 to 1. Click the GO button. Hopefully, the problem will be resolved and you will be able to access your admin area with your login details. If you can’t access your admin area and you are returned to the login page when entering the correct details, you should check if the plugin User - Joomla! Is properly enabled. In order to do so, log in to your cPanel -> phpMyAdmin, select your database from the left menu, click on the jos_plugins table (the prefix may vary depending on your Joomla configuration), and select the User - Joomla! entry. Make sure that the value next to the “published” field is set to 1. If it is different – this is the reason for the problem and you should change the value to 1. Click on the GO button and test if you can log in. In general, both User - Joomla! and Authentication – Joomla plugins must be enabled to access your admin area successfully. If you see a blank page when you type your administrative address, most probably the problem is corrupted administrative templates, you can resolve this problem by upgrading your Joomla application .…

How to find which database is used by Joomla?

You can easily find the name of the database used by your Joomla application by inspecting its main configuration file called configuration.php . For example, you may need to find the name of the database used by your Joomla if you are troubleshooting it. You can find this file in the root folder of your Joomla installation. For example, if you have installed your Joomla in the public_html directory, the file is located there. The file can easily be previewed with the File Manager tool in your cPanel. Log in to your cPanel -> File Manager. From the left menu navigate to your Joomla installation (if it is in the public_html folder, click on the public_html, if it is in a subfolder of public_html, expand the public_html content by clicking the + sign in front of the folder and choose the correct subfolder). You will see the configuration.php file listed in that folder. Simply mark the file and click on the “View” button from the top menu. You will see the content of the file in a new window. Scroll down the file and find the following lines:     var $dbtype = ' mysql ';     var $host = ' localhost ';     var $user = ' yourusername_ mysqluser ';     var $db = ' yourusername_ mysqldatabase ';     var $dbprefix = ' prefix_';     var $password = ' mysqlpassword '; The $db field is the name of your database - yourusername_mysqldatabase ; The $user field is the name of the mysql user added to this database; The $password field is the password for your MySQL database. Note that the above names will be different, depending on your cPanel username and the database settings which you have used when you installed your Joomla application. You can find how to use the File Manager tool from our detailed File Manager tutorial .…

How to enable SEF URLs when running Joomla using the server URL?

If you are using the server URL for your Joomla installation, you need an appropriate rewrite base added in the .htaccess file in order for SEF URLs to work properly. The .htaccess file should include this line (below the commented out "#RewriteBase /" for a standard Joomla .htaccess file): RewriteBase /~username/ Where "username" is your actual cPanel username.  Note that the RewriteBase should include the full relative path to the Joomla installation. If the installation is placed directly in the public_html directory, you should use: RewriteBase /~username/ - as specified above If the Joomla installation is under a sub-directory for public_html, you should use: RewriteBase /~username/<path to Joomla>/ …

How to setup mail in Joomla!

If you have not made any custom changes during the installation, your Joomla will be set up by default to use the PHP Main function to send email messages. The settings can be modified via the Joomla admin area -> Site -> Global Configuration -> Server. The corresponding settings are found under the “Mail Settings” section. Bear in mind that the email address which you are using for “Mail from” should be of type email@yourdomain.com. The second option is to use the SMTP Server for sending email messages via Joomla. In this case you need to turn on SMTP Authentication and supply correct details for the SMTP Server you will be using as shown below: SMTP Authentication – Yes SMTP Security – None SMTP Port – 25 SMTP Username – email@yourdomain.com (note that you should use the full email address as username including the @domain part). SMTP Password – The correct password for the email account you supplied as Username. SMTP Host – This can be your domain name.…

How to fix the ‘Could not find an XML setup file’ error in Joomla

This error message could popup when trying to install various Joomla extensions. It could occur when installing components, modules, plugins or additional templates. The general meaning of the error message is that the extension file is corrupted but there are two common reasons that could cause such issues. 1. If you are trying to install archived extension there might be a problem with the zip on your hosting server. As a possible resolution you can do the following: Extract the archive locally on your machine and upload it to your hosting server via FTP. Then use the option to install the extension from a directory on the server. You can select that via the standard Install extension interface in Joomla. Note that this cannot happen on SiteGround servers as zip is installed and working properly on all servers. 2. The extension package is corrupted or incomplete. If you were not able to install the extension following the instructions provided above this is the most probable case. Thus it is advisable to not try using the package at all.…

What is Joomla Remository

The Joomla Remository extensions provide the ability to manage a file repository within your Joomla CMS. The whole Joomla Remository software consists of the Remository component and several additional modules and plugins. The extensions can be downloaded from the Joomla Remository official website . Note that you should first install the Joomla Remository component as all other extensions require it for their installation. Here is a list of the functionalities provided by Joomla Remository: hosting local and remote files for download by site visitors file uploads by users flexible users access control hosting files either in the file system or the database file thumbnails customizable display for the files The SiteGround Joomla hosting package is fully compatible with Joomla Remository. Installation and management support can be provided by the SiteGround team upon request.…

How to use Joomla wrapper

Joomla wrapper is a default component available for Joomla 1.5.x. The Joomla wrapper can be used to add external content to your website. Here are basic instructions how to use the Joomla wrapper functionality. Create a menu item that will direct website visitors to the desired content. To do so: Login to the Joomla administrator area -> Menus -> Choose the menu where you would like the new menu item to appear. Click the "New" button. Choose the Wrapper from the Tree list of item types. Enter the desired item name. On the right side of the page put the external content URL in the "Wrapper URL" text box. Then click "Save". Joomla wrapper will now display the external content in the new menu item for your Joomla website.…

What is Joomla DOCman

The DOCman extension is a document management solution for Joomla. The basic DOCman features include: manage documents in multiple categories and subcategories assigning users level permission for upload, download and document edit storing documents either locally or remotely for your system Note that the DOCman extension is native for Joomla 1.0.x and available only in legacy mode for Joomla 1.5.x. Joomla DOCman can be installed as any other Joomla extension. Again bear in mind that legacy module should be enabled in order to use it with Joomla 1.5. The Joomla DOCman extension can be acquired from the DOCman official website .…

How to insert YouTube video in Joomla

There are several ways to insert YouTube video in Joomla. Expert web developers tend to prefer inserting the video link directly in the articles source code. To do so you should enter the Joomla administrator area. Then go to the articles edit section and in the desired article click Source at the WYSIWYG editor. The source code that you need to enter will look like this: <div align="center"; margin-right: 10px; margin-bottom: 10px;"> <object height="258" width="321"><param value="http://www.youtube.com/VIDEO PATH" name="movie"><param value="true" name="allowFullScreen"><param value="always" name="allowscriptaccess"><embed height="258" width="321" allowfullscreen="true" allowscriptaccess="always" type="application/x-shockwave-flash" src="http://www.youtube.com/VIDEO PATH"></object> </div> Note that you should replace http://www.youtube.com/VIDEO PATH with your video file URL. Note also that various options in the source can be altered according to your needs. You might want to align the video left or right, possibly alter the margin size, disallow fullscreen and adjust width and height according to the movie parameters. The alternative to directly inserting YouTube videos in the source code is using an additional Joomla extension for this task. Various modules, components and plugins can be found onf the official Joomla extensions website . You can check them out and find the one that best fulfill the needs of your Joomla YouTube website.…

What is Joomla JCE

JCE is an abbreviation for Joomla Content Editor. As its name suggests JCE is a content editor for the Joomla CMS. It further enhances the default content management capabilities for Joomla and provides many additional options. One of the major advantages of using Joomla JCE component is that you do not need to know HTML or CSS in order to create sophisticated content without much limitations. Here is a list of features as presented on Joomla JCE component official website: Office-like functions and familiar buttons make formatting simple Upload , rename , delete , cut/copy/paste images and insert them into your articles using an intuitive and familiar interface Create Links to other Sections , Categories , Articles , Weblinks and Contacts¹ in your site using a unique and practical Link Browser Take control of your code with syntax highlighting in the Advanced Code editor and advanced style and element attribute editing Integrated Spellchecking using Google™ Spellchecker (or PSpell and ASpell) The standard Joomla JCE component package is free and released under GNU/GPL license. Additional features are subject to fees. Both the free standard version and the additional packages can be downloaded from the Joomla JCE official website . SiteGround servers are fully compatible with Joomla JCE and you can use it without any troubles with our Joomla hosting package .…

How to build a community website with Joomla

As Joomla is an extremely extensible content management system you can use it to create a community website. Depending on your needs there are various modules and components that can also be used to enhance the Joomla functionality as a community website. One of the commonly used component for community Joomla websites is Community Builder. You can check it out on the official Joomla extensions website . If you wish to use another solution created specifically for community websites a nice alternative is Dolphin. You can check SiteGround Dolphin Tutorial for more information.…

How to create and manage PDF documents with Joomla

The built-in Joomla PDF component does not give much functionality. Also it is possible to render articles not readable as it leaves plugin markups. A nice alternative is Phoca PDF. The component can be found at the official Joomla Extensions Website . SiteGround servers are fully compatible with it and you can use this component for Joomla PDF on our servers.…

HTML tag filtering in Joomla

Joomla allows you to specify which HTML tags you can use in your articles. You can configure this setting from your Joomla admin area > Article Manager -> Parameters . There you will see a section named Filter type . It allows you to choose one of three options: Blacklist (Default) - you can specify which HTML tags should be filtered. Whitelist - you can specify which HTML tags should be allowed in your articles, all others will be filtered.  No html - no HTML allowed. To whitelist or blacklist an HTML tag (depending on which of the above options you have selected), you should enter the tag in the Filter tags field. You can whitelist/blacklist HTML tag attributes by listing them in the Filter attributes field. The default Blacklist filters the following tags: 'applet', 'body', 'bgsound', 'base', 'basefont', 'embed', 'frame', 'frameset', 'head', 'html', 'id', 'iframe', 'ilayer', 'layer', 'link', 'meta', 'name', 'object', 'script', 'style', 'title', 'xml' and the following attributes: 'action', 'background', 'codebase', 'dynsrc', 'lowsrc' …