Support

Site Restoration

#30919 500 - JHtmlBehavior: :mootools not supported

Posted in ‘Site restoration’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

PHP version
n/a
CMS Type
Other
CMS Version
n/a
Backup Tool Version
n/a
Kickstart version
n/a

Latest post by obios on Wednesday, 13 February 2019 14:02 CST

obios
Hello there,
I have an older Joomla site and as you know php 5.x will be no longer supported. So I tried an update to joomla 3.0.1 - it failed. Before that I made several updates with akeeba to document my update steps. After site was broken down I tried to restore the entirely site with kickstart. Restoration process worked fine but in the end, backend and frontend aren't reachable - error reportings appear as you can see in the screenshots.

Do you have any idea what to do to fix that issue?

thanks for help, Ortrun

http://zirs-seligenstadt.de

http://zirs-seligenstadt.de/administrator/index.php

nicholas
Akeeba Staff
Manager
That's a blast from the past! I think I haven't had a ticket about that in 4 or 5 years :)

You cannot restore a Joomla! 3 site on top of a Joomla! 2.5 site or vice versa. The way Joomla locates its files and the fact that restoring a site does not remove existing files mean that you get a broken site.

First, take a local copy of all your backup archives. Double check and triple check they are there and that they can be extracted (e.g. with Akeeba eXtract Wizard).

Next up, big leap of faith, delete your site's files. At the very least delete the administrator, cli, components, includes, language, layouts, libraries, media, modules, plugins and templates folders and all their contents including their subdirectories.

Then extract the backup archive using Kickstart and restore your site to its last working state from a backup archive which you upload to your site.

For what it's worth, before you upgrading Joomla! you should disable all extensions on your site. After upgrading to Joomla! 3 you will need to perform several upgrades to get to Joomla! 3.9.3. Then start updating all of the extensions on your site with Joomla! 3.9 compatible versions. If something is not available you may have to replace it.

It's best if you do this work on a local server. When you're done follow the steps I outlined above to remove your old Joomla! 2.5 site and restore the new Joomla! 3.9 site. Your downtime should be minimal, typically less than 10' (it largely depends on how fast your server can delete files and folders).

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

obios
Hi Nicholas,
yes, what a mess, this site is a blast from the past for me too. If you didn't understand me right: I tried to update and it failed, after hat I tried to restore a backup from the last running version with Joomla 2.5. I just put the jpa and kickstart on the server at the same place, the original installation was placed , didn't erase the folders etc.thought everything would be overwritten. I haven't found a manual how to restore a site at the same place. So you mean restoration only works correct if all files are deleted? Only database not, this works with kickstart, yes?
Orti

nicholas
Akeeba Staff
Manager
When you tried to upgrade it the site became (at least partially) Joomla! 3. That is, some J3 files were written to disk. Then you tried to restore a Joomla! 2.5 on top of it.

As I said, when you extract a backup archive only new files are written. Existing files are not deleted. The problem is that J3 moved or renamed some files. These files do not exist in J2.5. However, the way the Joomla! automatic core file loading works the J3 file locations have precedence to the locations of the J2.5 files. So what happens is that you end up running a frankensite which tries to load code from both J2.5 and J3. This mix is what kills the site.

I have seen that plenty of times when people were upgrading their sites from 2.5 to 3.x. What I wrote before is accurate.

Regarding the database, at this point I would recommend removing all tables as well. This is NOT going to affect going back to Joomla! 2.5 but will affect your ability to go from Joomla! 2.5 to Joomla! 3. You see, the Joomla! updates are written on the assumption that you are going from 2.5 to 3, i.e. the new tables introduced in Joomla! 3 are not already present. If they are weird things happen, including the possibility of a partial upgrade. Therefore nuking the database (removing all tables) is a good idea ;)

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

obios
Hi Nicholas,
it all worked fine, no problem to restore the backup with a new database in a fresh file. Thanks for your great work on akeeba backup and admin tools!!
Orti

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!