Practical Guide Upgrade Joomla 2.5 to Joomla 3.x

Need help upgrading your Joomla! website or converting to Joomla! 3.x?

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Post Reply
User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 19739
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ UK/ S'pore/Jakarta/ North America
Contact:

Re: Practical Guide Upgrade Joomla 2.5 to Joomla 3.x

Post by leolam » Sun Jan 05, 2014 5:46 pm

a 'blank' Joomla 2.5.17 site can be upgraded without any issues directly to J 3.2.1 with the Joomla upgrade component found in the Administrator backend

Leo 8)
Joomla's #1 Professional Support Provider:
-> Joomla Professional Support: https://gws-desk.com -
-> Joomla Specialized Hosting Solutions: https://gws-host.com -
-> Joomla Webmaster Services: gws-webmaster.services

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 37463
Joined: Sat Apr 05, 2008 9:58 pm

Re: Practical Guide Upgrade Joomla 2.5 to Joomla 3.x

Post by Webdongle » Sun Jan 05, 2014 7:39 pm

There are still a few users reporting the error with the 'Remember me' is causing update/upgrade problems.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"The definition of insanity is doing the same thing over and over again, but expecting different results": Albert Einstein

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 19739
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ UK/ S'pore/Jakarta/ North America
Contact:

Re: Practical Guide Upgrade Joomla 2.5 to Joomla 3.x

Post by leolam » Mon Jan 06, 2014 3:28 am

Webdongle wrote:There are still a few users reporting the error with the 'Remember me' is causing update/upgrade problems.
What has that to do with this guidance?
Joomla's #1 Professional Support Provider:
-> Joomla Professional Support: https://gws-desk.com -
-> Joomla Specialized Hosting Solutions: https://gws-host.com -
-> Joomla Webmaster Services: gws-webmaster.services

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 37463
Joined: Sat Apr 05, 2008 9:58 pm

Re: Practical Guide Upgrade Joomla 2.5 to Joomla 3.x

Post by Webdongle » Mon Jan 06, 2014 10:06 am

Because a user stated they still had problems and you stated that "a 'blank' Joomla 2.5.17 site can be upgraded without any issues directly to J 3.2.1 with the Joomla upgrade component found in the Administrator backend". My post was to conform that there are others still having problems. That does not negate the value of the advice you have given but it is related to the thread in that it is regarding upgrading Joomla 2.5 to Joomla 3.x.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"The definition of insanity is doing the same thing over and over again, but expecting different results": Albert Einstein

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 19739
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ UK/ S'pore/Jakarta/ North America
Contact:

Re: Practical Guide Upgrade Joomla 2.5 to Joomla 3.x

Post by leolam » Mon Jan 13, 2014 4:22 am

@ Kevin, Remember me is a separate issue and has no influence on the migration process me think?

Leo 8)
Joomla's #1 Professional Support Provider:
-> Joomla Professional Support: https://gws-desk.com -
-> Joomla Specialized Hosting Solutions: https://gws-host.com -
-> Joomla Webmaster Services: gws-webmaster.services

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 37463
Joined: Sat Apr 05, 2008 9:58 pm

Re: Practical Guide Upgrade Joomla 2.5 to Joomla 3.x

Post by Webdongle » Mon Jan 13, 2014 11:21 am

leolam wrote:Remember me is a separate issue and has no influence on the migration process me think?
There have been some failed updates with error showing in remember.php. When the site was restored with a backup and 'Remember me' plugin disabled then the update went smoothly.

It is a separate issue but it does affect some updates/migrations.

It is unknown why the 'Fatal error: Call to a member function isAdmin() on a non-object in /home/fruitof/public_html/plugins/system/remember.php on line 48' is encountered on some updates/migrations and not others but it does happen.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"The definition of insanity is doing the same thing over and over again, but expecting different results": Albert Einstein

wonderland
Joomla! Intern
Joomla! Intern
Posts: 58
Joined: Wed Dec 05, 2007 2:56 pm

Re: Practical Guide Upgrade Joomla 2.5 to Joomla 3.x

Post by wonderland » Sat Jan 18, 2014 5:06 pm

Hello,

I just wanted to thank everyone in this topic, because it helped me to update my site to J3.

I've triead a LOT of times to update, but after reading this topic I could finally succeed.

Especially I must thank Webdongle for suggesting disabling remember me plugin. Should I enable it again after update?

Unfortunately there are few problems after update, and I was hoping you could help me.

Frontend of the site works without problems. But there are 2 problems with administration panel.

1.After logging in administration panel (administrator/index.php) I get blank page and this error (error is visible because I have php errors turned on) Fatal error: Class FOFModel cannot extend from interface JModel in E:\wamp\www\site1\libraries\fof\model.php on line 21

I tried following these steps - http://forum.joomla.org/viewtopic.php?f=710&t=832024 (Post 5), but that didn't help.

Also when I enter url manually, for example "administrator/index.php?option=com_installer&view=manage" I can freely navigate administrator panel and use Joomla! 3

2. When I go to Components->Post-installation messages I get this error - Call to protected method JRequest::_cleanVar() from context 'FOFInput' in E:\wamp\www\site1\libraries\fof\input.php on line 39

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 37463
Joined: Sat Apr 05, 2008 9:58 pm

Re: Practical Guide Upgrade Joomla 2.5 to Joomla 3.x

Post by Webdongle » Sat Jan 18, 2014 5:41 pm

wonderland wrote:... Fatal error: Class FOFModel cannot extend from interface JModel in E:\wamp\www\site1\libraries\fof\model.php on line 21

...

You have tried to install a very old FOF-based component which was designed for Joomla! 1.5 only. This screwed up your installation. You should be able to easily fix it by doing the following steps in the order specified:

Delete the libraries/fof directory from your site
Download FOF 2.1.1
Extract the ZIP file locally
Upload the fof directory you extracted into your site's libraries directory Assuming that the older component you installed isn't using a private copy of FOF 1.x and loading it via a plugin you should get access to your site. Otherwise you will have to determine which plugin is trying to load the very old FOF version and delete it from your site.
https://github.com/joomla/joomla-cms/pull/2519
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"The definition of insanity is doing the same thing over and over again, but expecting different results": Albert Einstein

wonderland
Joomla! Intern
Joomla! Intern
Posts: 58
Joined: Wed Dec 05, 2007 2:56 pm

Re: Practical Guide Upgrade Joomla 2.5 to Joomla 3.x

Post by wonderland » Sat Jan 18, 2014 9:19 pm

Thank you for replying so fast!

I actually stated in my post that I already tried doing that but that didn't help. I can verify that I have fof 2.1.1

I just disabled every single plugin, but this error is still present.

User avatar
alexwalker
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 158
Joined: Thu Sep 15, 2005 3:54 pm
Location: Lancaster, UK (near the Lake District)
Contact:

Re: Practical Guide Upgrade Joomla 2.5 to Joomla 3.x

Post by alexwalker » Wed Mar 05, 2014 1:13 pm

My problem is that I cannot see Joomla Update in Components and the site is running Joomla 2.5.18
Any ideas ?
You do not have the required permissions to view the files attached to this post.
Alex Walker
"to assume is to make an ass of u and me"

nzampella
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 121
Joined: Mon Oct 13, 2008 2:55 am

Re: Practical Guide Upgrade Joomla 2.5 to Joomla 3.x

Post by nzampella » Mon Mar 10, 2014 7:47 pm

alexwalker wrote:My problem is that I cannot see Joomla Update in Components and the site is running Joomla 2.5.18
Any ideas ?
May be a dumb idea, but head to Extension Manager -> Discover, and click on the DISCOVER button. It may show up there, and you can install it.

michael_d
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Mon Mar 10, 2014 7:51 pm
Contact:

Re: Practical Guide Upgrade Joomla 2.5 to Joomla 3.x

Post by michael_d » Mon Mar 10, 2014 7:59 pm

Hi

Thanks for this guide. This helped me upgrade few of my sites to joomla 3.

bettyorganero
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Tue Mar 11, 2014 5:23 pm

Re: Practical Guide Upgrade Joomla 2.5 to Joomla 3.x

Post by bettyorganero » Tue Mar 11, 2014 6:01 pm

Hello,
I want to know if I upgrade my website to joomla 3.0 we need to change the template or my joomla template 2.5 can works fine on joomla 3.0.

Thank you

sovainfo
Joomla! Exemplar
Joomla! Exemplar
Posts: 8808
Joined: Sat Oct 01, 2011 7:06 pm

Re: Practical Guide Upgrade Joomla 2.5 to Joomla 3.x

Post by sovainfo » Tue Mar 11, 2014 6:22 pm

See Step 2 in the first post of this thread. So, the answer to your question is:
No, there are templates that can run on both 2.5 and 3. When you are using such a template there is no need to change it.
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!

tandali
I've been banned!
Posts: 15
Joined: Thu Dec 13, 2012 10:27 am

Re: Practical Guide Upgrade Joomla 2.5 to Joomla 3.x

Post by tandali » Tue Mar 11, 2014 7:40 pm

Trying to upgrade Joomla 2.5.14 to latest Joomla 3.x. Have a backup and already setup "Short Term Support STS". Made sure allow_url_fopen = on and allow_url_include= off. But still not getting the update. Says I already have the latest version. Anyone have any ideas on this issue?

CorinnaM
Joomla! Apprentice
Joomla! Apprentice
Posts: 28
Joined: Wed Jul 04, 2012 10:07 am

Re: Practical Guide Upgrade Joomla 2.5 to Joomla 3.x

Post by CorinnaM » Sun Mar 16, 2014 1:36 pm

Leo, thank you for this wonderful guidance! It made life so much easier.

However, I still encountered the white screen of death after upgrading, but it was solved by renaming the remember.php file, as suggested elsewhere.

Everything works fine now.

Thanks again, Leo, for taking the time and trouble to compose these guidelines! Much apprechated.

gnutello
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sat Oct 08, 2011 2:24 pm

Re: Practical Guide Upgrade Joomla 2.5 to Joomla 3.x

Post by gnutello » Thu Mar 20, 2014 9:44 am

Hi there,
is still working this guidance with j3.2.3? I'm trying to upgrade from j2.5 to j3.2.3 in a local installation, I have followed all the instructions and removed all the components. I setup "Short Term Support STS" but this issue happens: Error: invalid login.
Any suggestions are appreciated
Thank you

dkhc3
Joomla! Intern
Joomla! Intern
Posts: 81
Joined: Mon Mar 08, 2010 9:39 am
Location: Oslo, Norway

Re: Practical Guide Upgrade Joomla 2.5 to Joomla 3.x

Post by dkhc3 » Tue Mar 25, 2014 1:07 pm

sovainfo wrote:Did you Extension manager=>Update click button Clear cache, Find Updates?
This was the solution for me.
Thank You sovainfo.
http://www.databiblioteket.com - om Fri programvara på svenska.
http://www.hceriksson.com - nettsider og support i Norge

User avatar
OldMoldy
Joomla! Intern
Joomla! Intern
Posts: 52
Joined: Sat Jan 30, 2010 11:19 pm

Re: Practical Guide Upgrade Joomla 2.5 to Joomla 3.x

Post by OldMoldy » Tue Apr 08, 2014 7:57 pm

Trying to upgrade from Joomla 2.5.17 to 3.x and have deleted obviously incompatible extensions and see the process start to unpack through 87% [img]
Update_error0.JPG
[/img]

After a few seconds, get the next error message[img]
Update_error1.JPG
[/img]

After that point, the site is no longer functional...any ideas?
You do not have the required permissions to view the files attached to this post.

User avatar
OldMoldy
Joomla! Intern
Joomla! Intern
Posts: 52
Joined: Sat Jan 30, 2010 11:19 pm

Re: Practical Guide Upgrade Joomla 2.5 to Joomla 3.x

Post by OldMoldy » Tue Apr 08, 2014 9:21 pm

Tried an alternative approach...upgraded Joomla 2.5.17 to 2.5.19 and then tried to manually update after retrieving the update file...got the following screen:

[img]
Update_error2.JPG
[/img]

...either way, the site becomes non-functional
You do not have the required permissions to view the files attached to this post.

dorsa
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Mon Jul 29, 2013 5:46 am

Re: Practical Guide Upgrade Joomla 2.5 to Joomla 3.x

Post by dorsa » Tue Apr 08, 2014 10:24 pm

tandali wrote:Trying to upgrade Joomla 2.5.14 to latest Joomla 3.x. Have a backup and already setup "Short Term Support STS". Made sure allow_url_fopen = on and allow_url_include= off. But still not getting the update. Says I already have the latest version. Anyone have any ideas on this issue?
Using STS was no good, going to extension upload was no good, so went the classic way of uploading Joomla 3 stable package zip to replace Joomla 2.5 files.
But before doing that, I disabled every non-core Joomla plugin and set a default Joomla template before dropping the upgrade files. After that, the dashboard was looking messed up, so went to Extensions manager > Manage > and used "Discover" + "Database".
Changed the admin template to a Joomla 3 template. And now everything seems to be back to normal, but there seems a long way to updating plugins/components.
STS and extension upload to upgrade is still not working.. so I guess I'm stuck with manual upgrade.

secrets
I've been banned!
Posts: 109
Joined: Sat Aug 10, 2013 9:07 am

Re: Practical Guide Upgrade Joomla 2.5 to Joomla 3.x

Post by secrets » Wed Apr 09, 2014 4:06 am

A great rule to follow; don't rely on extensions to backup your website period. Do manual database and website root backups.

I think the backup documentation is missing some vital information.

sarnico
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Wed Dec 04, 2013 11:25 am

Re: Practical Guide Upgrade Joomla 2.5 to Joomla 3.x

Post by sarnico » Thu Apr 17, 2014 7:42 am

Thank you very much Leo. I just did it!

nzampella
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 121
Joined: Mon Oct 13, 2008 2:55 am

Re: Practical Guide Upgrade Joomla 2.5 to Joomla 3.x

Post by nzampella » Mon Apr 28, 2014 3:31 pm

secrets wrote:A great rule to follow; don't rely on extensions to backup your website period. Do manual database and website root backups.

I think the backup documentation is missing some vital information.
This is a ridiculous assumption, and lousy advice. Using Akeeba Backup to do site backups is very easy, and it provides a way to load or reload a site using the Kickstart.php script.

rich-hi-rich
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Tue Mar 10, 2009 8:41 am

Re: Practical Guide Upgrade Joomla 2.5 to Joomla 3.x

Post by rich-hi-rich » Thu May 22, 2014 4:11 am

i had similar issue showing blank page for both backend and frontend and do not know what is the reason.

kardinol
I've been banned!
Posts: 29
Joined: Sun Aug 18, 2013 11:23 am

Re: Practical Guide Upgrade Joomla 2.5 to Joomla 3.x

Post by kardinol » Fri May 30, 2014 11:37 am

tandali wrote:Trying to upgrade Joomla 2.5.14 to latest Joomla 3.x. Have a backup and already setup "Short Term Support STS". Made sure allow_url_fopen = on and allow_url_include= off. But still not getting the update. Says I already have the latest version. Anyone have any ideas on this issue?
Try the button "Purge cache", clear your browser’s cache, and check again for an update.
Having said that, it is discouraged to do so in most cases:

you should not upgrade from Joomla 2.5 to Joomla 3.x unless you are certain that all of your additionally installed extensions (from third party developers), especially templates, are Joomla 3.x ready or have a Joomla 3.x version that you can upgrade to.

User avatar
NathanHawks
Joomla! Ace
Joomla! Ace
Posts: 1900
Joined: Wed Oct 02, 2013 6:17 pm
Location: Washington state, U.S.
Contact:

Re: Practical Guide Upgrade Joomla 2.5 to Joomla 3.x

Post by NathanHawks » Sat Jun 07, 2014 4:56 am

@Leo,

Great guide! Something to consider adding to it: checking for/dealing with template overrides. I assume they should be:

1. disabled (e.g. renamed to html-old)
2. re-implemented using fresh 3.x templates, using the contents of html-old as a basis)
Save time - hire me for your Joomla to-do list! http://nathanhawks.us/joomla

User avatar
nyocca
Joomla! Apprentice
Joomla! Apprentice
Posts: 34
Joined: Tue Mar 18, 2008 5:11 am
Location: Newport Beach, California, US
Contact:

Re: Practical Guide Upgrade Joomla 2.5 to Joomla 3.x

Post by nyocca » Thu Jun 12, 2014 1:48 am

Thank you for your wise, succinct and very correct advice, as I can see you provided here and elsewhere. Your advice is at least as accurate as any other 2.5 - 3.x advice I have seen. I also fortunately checked on my Rockettheme template's compatibility with J3.0, 3.1, 3.2 and perhaps 3.3. From the sparse compatibility information I could gleen from their forum, I decided to upgrade 2.5.20 to 3.2.4 (rather than to 3.3.0), which works with my Halcyon template updated. My main issues seem to be the clumsy way some of the extensions do not retain tables or customizations for the post Joomla upgrade extension upgrade. I am glad I FTP'd onto my local disk a complete snapshot of the joomla root directory and subdirectories which may be a workable tool for comparing old and new and patching little issues. At night I will turn on the Max error reporting, study its reports and try to guess at the best solution. Naturally, when I hit a dead end, I would restore an Akeeba Backup I had made (and I made them more frequently as I got closer to upgrading). Akeeba is phenomenal, never uninstall it (good luck finding this in the documentation, as good as it is) unless you copy the backups to an off-site directory first. Joomla 2.5-3 so far has been an adventure with reasonable opportunities at success with trial and error at every turn (backup often!!!!).

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 19739
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ UK/ S'pore/Jakarta/ North America
Contact:

Re: Practical Guide Upgrade Joomla 2.5 to Joomla 3.x

Post by leolam » Thu Jun 12, 2014 3:33 am

NathanHawks wrote:@Leo,

Great guide! Something to consider adding to it: checking for/dealing with template overrides. I assume they should be:

1. disabled (e.g. renamed to html-old)
2. re-implemented using fresh 3.x templates, using the contents of html-old as a basis)
Nate you have somehow a point but the template overrides are per default in the template folder (html) which is an extension. So if the extension (template) has 'custom' overrides (non-template) you have to a certain extend a point when these are overrides that change core certain functionality for your website (com_contact is often an example for that). If you have not made 'custom' overrides and and using template and site as is you do not have to backup the html-folder since your new J3.x compatible template will have its own html-overrides

Leo 8)
Joomla's #1 Professional Support Provider:
-> Joomla Professional Support: https://gws-desk.com -
-> Joomla Specialized Hosting Solutions: https://gws-host.com -
-> Joomla Webmaster Services: gws-webmaster.services

Adnet
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 135
Joined: Wed Nov 24, 2010 8:52 am
Location: Greece
Contact:

Re: Practical Guide Upgrade Joomla 2.5 to Joomla 3.x

Post by Adnet » Fri Jun 13, 2014 1:13 pm

i dont know how it happend but joomls 3.1 was installed with out me asking it to do so,
and suddenly i have a broken site.
Is there a way to downgrade?
Thank you


Post Reply

Return to “Migrating and Upgrading to Joomla! 3.x”