RSS

Tag Archives: Joomla 1.5

Upgrade to Joomla! 1.5.25 using AdminTools

As we all know, upgrading your Joomla! website is an important thing to do. And with two security releases in a short time, it’s possible some of you forgot to apply all the updates.

If you’re not on version 1.5.24 of Joomla you’ll see that there are no upgrade packages available for your version of Joomla!. The only upgrade package available is the 1.5.24 to 1.5.25 upgrade.

In the worst case scenario you’d now have to upgrade all sites to 1.5.23 first, then upgrade them to 1.5.24 and then to 1.5.25. Which is quite the chore if you’ve got a few sites under your belt.

Not if you use Admintools, though…

Users of Admintools can easily upgrade their sites using the built-in “upgrade” functionality which offers you one-click upgrades. Nice and easy!  But what do you do when the “Upgrade” option isn’t available in Admintools because there’s no upgrade package? Use the “Re-install option!”

Using the re-install option you can upgrade your site to the latest version of Joomla, without breaking your site. What happens, is that (all) the new files are written to your website, so you’ll have the latest version.

As always, we recommend you to create a back-up before upgrading.

Haven’t installed Admintools yet? Get it here for free.

Steps to follow

1. Go to Components > Admin Tools.

updatefound

2. Click the button saying “Joomla! Core UPDATE FOUND

3. In the next screen, click “Reinstall 1.5.25”

4. In the following screen, click “Update Joomla!”

After Admin Tools does its thing, your website will now be upgraded to the latest version.

Note: Admin Tools also works under Joomla 1.7.

 
4 Comments

Posted by on November 14, 2011 in Joomla

 

Tags: , ,

Solving a “jtablesession:: store failed” error

Is there a better way to start the week than with a nasty Joomla! error?  Don’t answer that question, it was rhetorical. 

I started this week by doing some maintenance of our own sites, when I was greeted by the following Joomla! error: Jtablesession:: store failed. 

This error is a serious one, as it’ll prevent anyone from visiting your website.  So it’s rather important that you tackle this problem straight away.  Here’s how I managed to solve the problem.  It’s rather simple, really, if you’ve got access to PHPMyadmin

How it’s done

I’m going to assume that you’ve got access to PHPMyadmin.  If not, the steps might be completely different for you.  Anyhow, moving on…

1.  Go to your database in PHPMyAdmin.

2. Open the table that’s giving you a headache, xxx_session.  Where xxx stands for your database prefix, usually jos.

3.  Go to “Operations”.  Once on the operations page, click “repair table” under “Table Maintenance.”

Your rogue table will now be fixed, and in most cases you’ll see that your problem is solved when you try visiting your website again.

 
2 Comments

Posted by on July 18, 2011 in Joomla

 

Tags:

Mass delete users in Acymailing

This old lady is actually a spammer

She's just happy she made the cut

This is one of those tips which you might never need in your entire life, but I’ll share it anyway.  But first, the traditional backstory.

Some time ago, my employer inherited what was said to be a popular news portal site for the elder.  We soon learned that the popularity was grossly exaggerated.  Part of our inheritance was a mailing list with 6000+ users.  Naive as we were, we loaded that list into Acymailing – the Joomla! component we use(d) for sending our newsletters.

We soon learned that many of those e-mail adresses weren’t “real”.  Most of them came from spammers.  And, after our first mailing, we realized that thousands of those adresses no longer existed.  So, of course, we wanted to get rid of them – but scraping those invalid e-mail adresses was a lot of hard work.

This week, we finally gathered all those invalid e-mail adresses, but we saw no clear way to mass delete them. Until I came up with a plan.  A plan that might be useful for you – unless you rather rely on the search function and delete all e-mail adresses one by one…

Instructions

Create a CSV file

To start, you need a CSV file.  Nothing fancy.  Just put email in the first line; and in the next lines put the e-mail adresses you want to (easily) delete.  Remember, one e-mail adress per line!  This could be done in notepad, in a text editor or even excel.  Just remember to save the file as a CSV file.

Create a new list in Acymailing

When your .CSV file is complete, it’s time to create a new list in Acymailing.  This is important, we’ll use this list as a filter for the ‘bad’ e-mail adresses we want to delete.

  • Go to Components > Acymailing > Lists
  • Click “new” and give the list a clear name, like “Delete”.

Import the users

Next, we’re going to import the users.  In Acymailing, go to the “Users” tab and click “Import.”

In the import screen, make sure to select File under Import users from.  Then, using the field below, select the file stored on your computer.  Then, move on to Subscribe imported users to.  Choose the ‘special list’ you created, and set it to “Yes.”  Proceed with importing the users.

Delete them without mercy

You’ve saved yourself a lot of time by now, because you didn’t have to search all those e-mail adresses yourself.  Acymailings Import function added all the e-mail adresses to your “Delete” list.  Now, all that’s left to do is delete them all.

Go to the users list, and filter the list filter to show only those users you want to delete. (Click “All Lists” and select your list instead).

Now, start deleting those users!  In my case, it worked best to display 100 users at a time, select them all and delete them all at once.  While you could use the “Process” option to delete them, it’s easier to simply click “Delete”.

And that’s it!  You’ve now deleted those good-for-nothing e-mail adresses with ease!

I realize chances are slim anyone will ever need to use this trick, as it’s an unusual situation.  But if this post ever saved you a lot of time, leave a comment!

 
4 Comments

Posted by on May 19, 2011 in Joomla

 

Tags: , ,

Preload your Joomla! site with extensions and settings

Today, someone asked me if there was a way to pre-load extensions and common settings in a Joomla! site.  As a matter of fact, there’s a very simple and logical way to do that.  It’s a method I’ve been using for quite a while now, which has sped up the creation of new websites.

This guide will teach you how to create your own ‘site template’ – or distribution, as you wish.  In order for this to work, you’ll need the following:

Create your website

The first step is to create a new Joomla! website in your development environment.  I’ll leave it up to you what version you want to use.  This guide applies to any version of Joomla! and it’s distributions where you can install Akeeba Backup.

Once your website is created, install the extensions you want to preload.  I can’t give you any advice here, as you might have other preferred extensions than I do.  I’d suggest only installing the extenions you use 9 out of 10 times. Extensions that don’t match this “requirement” are just bloat and can easily be installed afterwards.

The extension you MUST install – Akeeba Backup

There is one extension you absolutely need to install, and that’s Akeeba Backup.  You can choose to use the core version, but if you’re reading this guide I assume you regularly create websites.  In that case, you’re better off with the Professional version.

You need this extensions to create the “installation files” we’ll use later on.  And, just in case you didn’t know:  you ALWAYS need to make back-ups of your sites!

Create the “preloaded installation”.

Once you’ve got the site setup to your liking, it’s time to create the “installation file” we’ll use later.  To do this, use Akeeba Backup to create a back-up of the file.

Save the back-up file in a folder.  For example, I put it in a folder called “QuickJoomla Installer” – it’s the name of my distribution.

Maintaining your ‘preloaded installation’.

While your ‘source site’ might be perfect at first, that will change over time.  Don’t forget to keep this site up to date with the latest Joomla! versions, or the latest version of your favorite extensions.  Apply techniques you learned over time, create users you need, find some good sample templates… show this site some love.  Every minute you invest in this site, equals 10x as much time saved afterwards!

Download Akeeba Kickstart

Next, download Akeeba Kickstart, and open the file.  Copy the following files:

  • kickstart.php
  • The language file you’re planning to use.  The other language files can be disposed – as you won’t use them anyway.

Take these files, and put them in the folder with the back-up file.  Your installation package is now already complete.  Pretty easy so far, right?

Deploying your preloaded site

When you need to deploy your preloaded site, don’t reach for the standard Joomla! package.  You’ll use your own, custom package instead!  Upload the files in your folder.  Since you won’t be uploading a billion files, you’ll already save a lot of time here.

Once the files are uploaded or copied, navigate to the site, using the following URL:

http://path/to/your/website/kickstart.php

Since you can never be to sure:  Don’t copy the URL above!  Replace it with the path to where you uploaded your files instead! But make sure to end with kickstart.php

Use kickstart to unpack & then install

Use Kickstart to unpack the files, and then follow the Akeeba Installation Wizard.  This will help you to quickly install the website.  You should have no problems following the steps in the Wizard – if you do run into problems, head out to the Akeeba Site.  Read the manual first, THEN ask for support in the forum.  The Akeeba developer is some sort of psychic, he’ll know when you didn’t read the manual.

Once this is done, you’ll see that your pre-loaded site is installed – waiting to be finished by you.  I hope you’ll save a lot of time using this method.  If you do, leave a comment here, leave a comment.  But don’t forget the @akeebabackup developer, too.  Donate some €$£ for a beer or something, or buy a subscription.

Download this post as a PDF

 
4 Comments

Posted by on May 17, 2011 in Joomla

 

Tags: , , , , ,

Using an invisible menu in Joomla!

One of the questions I keep running into – and by running into, I mean keep having trouble with – is that every component in Joomla! requires a menu item to be useable.  While that’s not always a problem, I often scratched my head when our designer wanted to use fancy modules and images to replace the menu.

But today, I found what might be the obvious solution.  I present you: the Invisible Menu!

How it’s done

You already heard one of the possible scenarios in which a menu item seems to be unavoidable.  I’m sure you can think of some of your own.  So, let’s take a look at this “quick and dirty trick” I discovered today.  For this example, let’s assume that I want to link to ALFcontact, a contact component we use regularly.

  1. Create a new menu.  (Menus > Menu Manager > New)
  2. Go to Extensions > Module Manager and open your brand new menu.  Make sure to publish the menu.
  3. Don’t save quite yet!  Under Details, go to “Position”.  Instead of choosing one of the regular positions, click in the box, and type the following:  invisible.

    You’ve now created a so-called user position.  Normally you’d use this to display a module in an article.  Well, we’re not going to.  We wanted the menu to be invisible, remember?

  4. Go to Menu, and open your new menu.  Create a new menu item like you normally would for the component.
  5. Create your module, article or whatever it is you want to link from.  Create a link, and using the JCE editor, create a link for the menu item in the invisible menu.
  6. You’ve now created a link to ALFComponent (or the component of your choice) and no menu-item is to be seen.  How’s that for being a Joomla! Ninja?
Note:  If you choose not to use the JCE editor, of course there’s other ways to find out what the needed link is. But it might not be as easy as my method ;-)
 
4 Comments

Posted by on May 12, 2011 in Joomla

 

Tags: , ,

 
Follow

Get every new post delivered to your Inbox.

Join 485 other followers