SDR Website
My website refused to upgrade beyond 4.4.9. The reason? The database was mysql v5.7.42, and Joomla 5 requires mysql v8.
The solution was to create a new database, then export the "old" content and import it into the new database. This was easily achieved using phpmyadmin. The only problem was, a couple of reference to the old database name (and possibly database user) existed and needed to be edited manually in the exported sql file. But that's ASCII test and a simple text editor is sufficient.
The database then needs to be referenced correctly. the server settings (system > global configuration> server) have all the things that need to be changed: database name, host name, database username and password. The database type (host: Ionos) is set to mySQLi.
With the database manually updated, the upgrade to Joomla 5.2.0 then sailed through!
I've had my website for many years; it has been through Joomla V1.5, 16, 2.5 & 3.x releases over the years. I use it much less now than I used to but it is still a good reference.
Recently I saw the message about support for Joomla 3.10 ending, and I need to move across to Joomla 4 no problem; I've survived this process several times. I made a conscious decision to simplify the sitre at the same time and reduce the number of extensions used, to just 3:
- Akeeba backup (which has saved me a few times)
- Phoca gallery (my front page has a Phoca gallery slideshow)
- Weblinks
So going through the site I found several extensions that I didn't even know were there, and slowly removed them. I had some templates that wouldn't install, but maybe I could ignore them.
The guide says, go to components -> ~Joomla update. Great; it wasn't there. Search google and try all the usual fixes; none made a difference. And I read somewhere (which I expect isn't actually true) that you can't upgrade without it.
OK, brave decision. Backup the database; make a copy into my home PC using xampp; and make a second, clean install of 3.10.11.
- Clean install of joomla 3.10.11 with no data;
- Database = j3clean
- Table prefix=”j3_” (same as old database
- Copy over the “media” and “images” folders in htdocs
- Install com_weblinks v3.9.0 into the clean site
- Copy over weblinks from old to new database:
- Export old database j3_weblinks to a file
- Drop new database table j3_weblinks
- Import that file to j3test database
- Copy over article content from old to new database:
- Export old database j3_content to a file
- Drop new database table j3_content
- Import that file to j3test database
- Copy over article and weblink categories from old to new database:
- Export old database j3_categories to a file
- Drop new database table j3_categories
- Import that file to j3test database
- Copy over menu types from old to new database:
- Export old database j3_menutypes to a file
- Drop new database table j3_menutypes
- Import that file to j3test database
- Menus are harder, because j3_menu includes the administrator menus as well as the content menus
- Export old database and new database j3_menu tables for safety
- In old database, remove all menu table records that are not part of mainmenu, topmenu, g8njjmenu
- Go to new (j3clean) database j3_menu table; edit the id fields for any ids that conflict with ids found in the old database table. Change any others that have parent_id set to a changed id. (we only had to edit ids 10, 22)
- Go to old database j3_menu table
- Select operations
- Copy table to j3clean.j3_menu; copy data only and autoincrement
- Edit the author of all pages and categories to be myself in the "new database:
- Find my user id (from user manager) in this case 473
- Open the new database "j3clean" using phpmyadmin
- in the "j3_content" table: use a sql update query to change "created_by" and "modified_by" fields to 473 for all records
- in the "j3_categories" table_ use a sql update query to change "created_user_id" and "modified_user_id" fields to 473 for all records
- In the joomla administrator page, open then save& close all categories
- Assign all pages to "protostar" template"
- Recreate modules (I didn't have many so the easiest way was just to create new ones)
- At this point, components -> joomla update was still there.
- Install phoca gallery and phoca gallery slide slow plugins
- go back to phpmyadmin and use "operations" to copy the "phocagallery" and phocagallery categories" table from the old site to the empty ones
- Then I was able to update to joomla 4.3, and install the new Casseiopia template
Whatever was broken, don't do it again!
Under Joomla 1.5, I had found an excellent way to put together my websites. Once set up, adding new content is easy; no messing around with menus having to be extended every time I added new content. A big range of thirst part extensions were available. And one of the supplied templates "JA Purity" provided a layout I liked.
Upgrade to Joomla 2.5 has been a nightmare. Several extensions I used were not supported; some of those that were I had to re-enter all of the content because the upgrade process didn't work; and my template was no longer available.
Enter "Artisteer": a program that lets you create a Joomla template with no coding or design skills needed. Simply take a starting point, and change the parameters until it looksvlike what you want. Result? My template is now very close to the original that I liked and it took maybe 30 minutes. A truly excellent product!
From Joomla 4 onwards, I wanted to get away from things that needed update as Joomla updated. I've reverted to using the "as supplied" template, and accepting the appearance. With the upgrade to Joomla 5, no change was needed.
For those that are interested, this site has been constructed using Joomla! Joomla! is an open source, free-to-use Content Management System. Joomla! stores its content in a database at the web host. None of this make a difference to readers of the site, but for content creators it does allow a large site easily to be managed.
Joomla! provides the basic functionality to get started with a content managed website. However, there are some common needs that are not fully addressed by the standard package. But that's not a problem - there is a wide variety of "add ons" available. On top of the "standard" Joomla install we have selected a number of extensions to provide specific functionality:
Akeeba Backup | A site archiving and backup component; covers the full site not just the database, and uses a script to re-install the site from scratch. This is EXCELLENT for moving from one web host to another! |
Phoca Gallery | Photo gallery component. Manages creation of thumbnails when pictures are uploaded. |
Weblinks | This used to be a standard feature and should never have been removed! |
This article gives a few settings that I've found useful.
Akeeba backup and kickstart was a good way to upload the site.
You do not need the FTP layer for normal file transfer.
Email configuration took some working out, but I found a working solution on the internet. It is NOT the same server configuration you need to access the 1&1 servers from a home PC.***
Send mail - YES
Mailer - SMTP
From email: (a valid email address on your 1&1 hosting account)
From name: (a name you want shown as the email originator, e.g. "website")
SMTP authentication - Yes
SMTP security - None
SMTP port - 25
SMTP username - (the same valid email address)
SMTP password: (the correct password for this mail account)
SMTP host: smtp.1and1.com
*** 1&1 advertise Joomla hosting: it's not like I'm doing something unexpected. Hiding the correct configuration from you isn't good enough - shame on you 1&1