Sometimes, people experiment with some of their Joomla core files and/or with non-content tables in the Joomla database to the point that their websites become inoperable. The easy (well sometimes it’s not very easy) solution at this point is to reinstall Joomla from scratch. But how do you do that?
Well, here are the steps to reinstall Joomla so that you can have again, a fresh Joomla install:
- Backup your website and your database. We’ve already explained this before.
-
Download the same version of Joomla that you have. Go to Joomla’s official website and download the installation files for the exact same version of Joomla that you have.
-
Rename the directory containing your current Joomla website. Login to your FTP account and rename the directory that contains your current Joomla website to another name, for example, from mydomain.com to mydomainold.com.
-
Re-create your old directory. Again, login to FTP and create the mydomain.com folder.
-
Upload a fresh copy of Joomla. Upload the new Joomla copy to the mydomain.com folder.
-
Run the Joomla installer. Ensure that you choose another database for your Joomla website.
-
Re-download and re-install all the extensions that you previously had on your website. Note that if you had to reinstall Joomla because of an extension that you installed lately, then avoid this extension.
-
Copy non-system content from your old database to your new database. Non system-content is user-generated content, for example, articles, polls, etc…
-
Re-download and reinstall the template that you were using before. Even if you have modified the template, all you need to do is copy the template from the mydomainold.com folder to the mydomain.com folder.
-
Copy user created files to your new website. Copy all the user uploaded files (including media files) from the em>mydomainold.com folder to the mydomain.com folder.
-
You’re done. That’s it, you have finished reinstalling your Joomla website! Try to run the website!
As you can see from the above, the process can be a bit complicated especially when you don’t have some system administration experience (not to mention that the moving of the data from one database to the other can be tricky). In this case, we advise you to hire a system administrator to do the above steps or, even better, to contact us. If you do contact us, then we’ll do the whole process for you while ensuring that all your data is preserved and transferred to your new Joomla installation.
Warnings:
- Most of the other online references listing the steps on how to reinstall Joomla are wrong. Not only they are wrong, they are dangerous, as they ignore the fact that the user has already data on his website, and that he needs to keep this data.
-
If you have had a programmer change your core Joomla files previously then stop and don’t do the above steps. You will lose all your changes. We recommend that you contact us in order to make the reinstallation smooth, or maybe fix the problems that resulted in you wanting to reinstall your Joomla website.
[...] If you’re reading this article because you want to reinstall Joomla, then check this article on how to reinstall Joomla. [...]
I am upgrading to Joomla 2.5 and am done.
The last issue I see is that com_config is missing its template and the database settings have errors (site works fine). Would you be able to clean that up?
Hi Scott,
After examining your Joomla 2.5 website, you were seeing the following error on the global configuration page:
Fatal error: Class JDatabaseMSSQL contains 22 abstract methods and must therefore be declared abstract or implement the remaining methods (JDatabase::connected, JDatabase::dropTable, JDatabase::escape, …) in /yourjoomlawebsite.com/public_html/libraries/joomla/database/database/mssql.php on line 781
Deleting the following 3 files will solve the issue:
/yourjoomlawebsite.com/public_html/libraries/joomla/database/database/mssql.php (this is for the connection to ms sql, which you are not using)
/yourjoomlawebsite.com/public_html/libraries/joomla/database/database/mssql2000.php (this is for the connection to ms sql 2000, which you are also not using)
/yourjoomlawebsite.com/public_html/libraries/joomla/database/database/oracle.php (this is for the connection to oracle, which you are also not using)
It’s better to backup your Joomla website before doing the above. PS: I assume that the Joomla developers will address this in the next release of Joomla (Joomla 2.5.1 or Joomla 2.6, maybe?). This seems to be a common issue and there are lots of people who have no CSS styling on their global configuration page because of this problem.