Posts

Joomla! 1.5 menu items not visible

I was moving a Joomla! 1.5 site to a new hosting server. The site had been running on PHP 5.2 on the prevoius server but on the new host only PHP 5.6 or later was available. Joomla! was version 1.5.14.

After installing the site on the new server, no menu items were visible, not in backend, nor in frontend. I checked the database tables and the menu items were present in the database, they just didn’t show up in Joomla!.

The solution was simply to upgrade Joomla! to the latest verion, 1.5.26, which is compatible with PHP 5.6 (something that I would have done anyway as the next step).

Joomla! 1.5 upates can be downloaded here.

Error 404 when trying to password protect administrator folder in Joomla using Apache htaccess

When protecting the administrator folder in Joomla using Apache htaccess to increase the security of the website (which by the way is a good thing to do to prevent too interested individuals to peek where they shouldn’t), you might get an error 404 message when trying to access administrator and the expected password prompt never appears.

The cause can be that the server is configured to allow user defined error pages stored in for example the error folder. If some of the error files are missing the above mentioned problem can occur. Make sure you have the correct folder name and file names for your error files.

This particular problem occured for me when I moved a Joomla site from one hosting provider to another and by mistake also replaced the error folder with the one from the old hosting provider which had a completely different file name structure for the error message files.

VirtueMart not displaying in Components menu after install [solved]

After installing VirtueMart on a Joomla 2.5 site, it should occur in the Components menu in the Joomla! backend. In my case, it didn’t show up.

The problem can be caused by the Xmap – Virtuemart plugin not being enabled.

Solution: 

Go to the Extensions menu and then select Plug-in Manager.
In the filter box, type "xmap" and press enter.
In the list displaying, check if the Xmap – Virtuemart plugin is disabled (status icon is red).
Then click the status icon for Xmap – Virtuemart so it turns green. Now VirtueMart should be availible in the Components menu.

 

Enabled VirtueMart Xmap plugin

Joomla multi language problem when trying to change menu item from ‘All’ to a specific language

When setting up a Joomla site for multilanguage you need to set a default menu item for each language. However, sometimes it is not possible to change a default menu item currently set to language "All". The error message displayed is: 

"Warning Save failed with the following error: The Language parameter for this menu item must be set to 'All'. At least one Default menu item must have Language set to All, even if the site is multilingual."

A solution is to do the following:

  1. Select the menu item by checking the checkbox for it to the left in the menu items list.
  2. Then scroll down to the batch change item (found under the list of menu items).  
  3. In the drop down list "Select language" you select the language you wish to set the menu item to.
  4. In the drop down list "Select Menu or parent for Move/Copy", select the menu where item currently is located in.
  5. Select the Move radio button
  6. Click Proceed.

Problem solved!

 

[Solved] Joomla JCE editor displays as plg_editor_jce in global settings

Selection lists in the toolbar might also display things like "advanced.h1" and so on.

The cause of the problem seems to be translation files for the JCE editor of an older version are read only which prevented them from being updated to the newer version. 

Solution: 

  1. Uninstall JCE editor. Go to the menu Extensions -> Extension manager -> Manage. Filter the extensions by entering "JCE" in the filer field. About three lines will be filtered out ("Editor – JCE", "JCE editor" and "Quick Icon – JCE File Browser"). Select all three and click the Uninstall button. 
  2. Using FTP access, go to the language folder and into the folder of each language you have installed in the system, like sv-SE for Swedish for example. Delete the file sv-SE.com_jce.xml in each folder (sv-SE is corresponding to the language folder you are working in so unless you are using Swedish, your filename will not begin with sv-SE but something else).
  3. Now go to the administrator/language folder and into the folder of each language you have installed. Delete all files beginning with sv-SE.com_jce* (and again, unless you are dealing with Swedish, your filename will not begin with sv-SE but something else).
  4. Go to Extensions and reinstall JCE.

In the global settings, you will now find "Editor – JCE" instead of "plg_editor_jce".

 

Create custom blog category layout in Joomla 1.5

If you need to customize the blog category layout in Joomla 1.5 you do like this: 

  1. Create the following subfolders to your template directory: 
    mkdir -p templates/yourtemplate/html/com_content/category
  2. Copy blog.php and blog_item.php from Joomla core:
    cp -p components/com_content/view/category/tmpl/blog.php templates/yourtemplate/html/com_content/category
    cp -p components/com_content/view/category/tmpl/blog.php templates/yourtemplate/html/com_content/category
  3. Customize blog.php and blog_item.php in the components/com_content/view/category/tmpl/blog.php templates/yourtemplate/html/com_content/category folder to your needs. These modified files will override the ones in the Joomla core if they exists.

 

Joomla 2.5 – suddenly internal links contain Smart%20Search [solution]

In a Joomla 2.5 installation, SEF URLs enabled and URL rewrite using .htaccess enabled I suddenly got internal menu links with URL:s containing Smart%20Search, like:

http://www.example.com/some-menu-item/Smart%20Search/some-article

The link itself does not work, ending up on an error page. I have no explanation why this occurs.

The solution is to go to Menu -> Menus, then select all menus and then click the Rebuild button

 

Internal Server Error 500 when trying to install JCE 2.2.6 in Joomla 2.5

When trying to install the JCE content editor for Joomla version 2.2.6 in Joomla 2.5 it failed with HTTP Error 500 Internal Server Error. Directory permissions was not a problem and there was no problem installing other extensions. 

Solution: 

  1. Download the JCE 2.2.6 zip archive to your computer.
  2. Unzip it to a local folder, called for example "jce"
  3. Upload the folder to your Joomla! tmp directory
  4. In the Joomla! backend, go to Extensions -> Manage extensions and go to the box for installation from a folder on the server.
  5. Enter the path where the uploaded folder containing JCE is uploaded, i.e. probably something like /var/www/mysitename/web/tmp/jce and click install.