Upgrading from 2.5 when already on PHP 7?

General questions relating to Joomla! 2.5. Note: All 1.6 and 1.7 releases have reached end of life and should be updated to 2.5. There are other boards for more specific help on Joomla! features and extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Post Reply
MissStorm
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Mon Mar 11, 2019 3:40 pm

Upgrading from 2.5 when already on PHP 7?

Post by MissStorm » Mon Mar 11, 2019 4:05 pm

Hi!

I created a website a long time ago in Joomla 2.5.17 using the "One click installer" provided by my webhotel. Haven't touched it since... :-[

Now my webhotel upgraded to PHP 7 and the site is not working. To solve the problem I was going to upgrade to a newer version of Joomla, but now I can´t even login to Joomla as an administrator.

My webhotel provider is not willing to temporarily change me back to PHP 5 to make it possible for me to upgrade Joomla. :'(

Any great ideas on how to solve this?

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 22126
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, The Netherlands
Contact:

Re: Upgrading from 2.5 when already on PHP 7?

Post by pe7er » Mon Mar 11, 2019 4:55 pm

It's highly recommended to keep your website software (Joomla + extensions) up-to-date.
That way you prevent situations like these, or getting hacked because of some unpatched vulnerability.

To solve the current issue I would install a local webserver with PHP 5.6 (eg XAMPP).

In the admin panel of your webhost use phpMyAdmin to Export the database as MySQL.
On your local system use phpMyAdmin to import the MySQL database.

Use FTP to download all the files of your website to your local PC.
Put the files in your local webserver,
edit your configuration.php to reflect the changes (database settings, local logs + tmp path).

When your site is running locally, update all 3rd party extensions and upgrade Joomla to the latest version,
see https://docs.joomla.org/Joomla_2.5_to_3 ... _Migration

When your website is working ok locally, create backup and install that on the server
I'd recommend to use Akeeba Backup to create the backup (of files + database) and use its kickstart.php to restore the backup on the server.
Kind Regards,
Peter Martin, Global Moderator
https://db8.nl - Joomla specialist, Nijmegen, Nederland
Co-developer of d2 Content https://data2site.com/joomla-extensions/d2-content


Post Reply

Return to “General Questions/New to Joomla! 2.5”