Post by mludiker » Tue Oct 29, 2024 4:34 am

I modified an OpenCart version 1.5.6 years ago that has functioned perfectly since 2014. It was to market used cars. No selling process was offered, just presentation of available cars. Now I'm told by hosting that "PHP versions of software older than 7.4 will no longer be supported. You have one or more domains having unsupported PHP versions. Change your PHP setting for increased performance and security.the PHP version" .

They have allowed me temporary access of version 5.3 that will end within days. Is there a simple way to change PHP functions to version 7.4.10 or better without having to rebuild the entire section again? I'm not a coder and modifying the OpenCart template took me a long time. Change to Twig kept me from updating to later versions. Appreciate any direction I can get.

URL of the section is:
http://www.isabellamotors.com/invstock/

Newbie

Posts

Joined
Tue Sep 24, 2013 3:43 pm

Post by by mona » Tue Oct 29, 2024 6:57 am

There is nothing on your site that will make this difficult to update even for a novice.
Twig is not that difficult and you can find free convertors online.
Googling will provide you with pretty much everything you need to know.
IP_CAM or John P may offer some more pointers but as a quick start.
IP_CAM wrote:
Sat Apr 29, 2023 9:19 pm
Well, whatever you decide on, the last (inofficial) 1.5.6.x Release was v.1.5.6.5_rc, and it still works very well up to the latest PHP v.7.4.x Version:
https://github.com/opencart/opencart/tr ... 306fb75707
Condor2 also updated this Version:
https://github.com/IP-CAM/Opencart-v.1. ... stallation
and pekka2 added a nice Bootstrap Theme to it:
https://github.com/IP-CAM/Opencart-v.1. ... P-v.7.4.30
To upgrade.

1. Back up your site files and database
2. Depending on your host and deal. Set up a development site either live or local.
3. Build OC from scratch or hire a developer to assist.
4. Search marketplace for import export by JNeuhoff and import from your live site to your development site. https://www.opencart.com/index.php?rout ... sion_id=17
5. Install all the modification and use the error log to fix the errors.

Alternatively get a professional.
[/quote]

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by ADD Creative » Tue Oct 29, 2024 7:57 am

You could probably get away with just updating the system/library/encryption.php file for PHP 7.4 compatibility.

There are a few replacements about.
https://github.com/opencart-ce/opencart ... yption.php

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by johnp » Tue Oct 29, 2024 6:01 pm

A couple of simple changes and you're good to go. Change the encryption file as others have said. Also change the database driver if necessary.

Opencart 1.5.6.5/OC Bootstrap Pro/VQMOD lover, user and geek.
Affordable Service £££ - Opencart Installs, Fixing, Development and Upgrades
Plus Ecommerce, Marketing, Mailing List Management and More
FREE Guidance and Advice at https://www.ecommerce-help.co.uk


User avatar
Active Member

Posts

Joined
Fri Mar 25, 2011 10:25 am
Location - Surrey, UK

Post by mludiker » Wed Oct 30, 2024 1:35 am

Greatly appreciate the quick guidance on this issue. Will try suggestions and any additional posts a on test directory with XAMPP and report what works. OpenCart has been a great application. At my age learning anything beyond old HTML is a real problem.
Thank you very much.

Newbie

Posts

Joined
Tue Sep 24, 2013 3:43 pm

Post by johnp » Wed Oct 30, 2024 2:22 am

mludiker wrote:
Wed Oct 30, 2024 1:35 am
Greatly appreciate the quick guidance on this issue. Will try suggestions and any additional posts a on test directory with XAMPP and report what works. OpenCart has been a great application. At my age learning anything beyond old HTML is a real problem.
Thank you very much.
I would also suggest taking a look at the OC Bootstrap Pro theme. IMO it's the best responsive theme for OC1.5.6.4/5.

https://www.opencart.com/index.php?rout ... n_id=15752

Opencart 1.5.6.5/OC Bootstrap Pro/VQMOD lover, user and geek.
Affordable Service £££ - Opencart Installs, Fixing, Development and Upgrades
Plus Ecommerce, Marketing, Mailing List Management and More
FREE Guidance and Advice at https://www.ecommerce-help.co.uk


User avatar
Active Member

Posts

Joined
Fri Mar 25, 2011 10:25 am
Location - Surrey, UK

Post by CartCoding » Sun Nov 03, 2024 4:15 pm

My Website is also base on OC 1.5.6. I have not this trouble because of I use VPS Host. You can choose and install the software's version by yourself on VPS Host.

Newbie

Posts

Joined
Thu Aug 03, 2023 3:48 pm

Post by EvolveWebHosting » Tue Nov 12, 2024 2:14 am

If you don't want to upgrade your software, you need to find a web hosting provider that offers CloudLinux OS. CloudLinux includes hardened versions of 'outdated' PHP versions. We use it on our servers and have support for PHP 5.x and newer.

Opencart Hosting Plans, Domain Registration, Microsoft and Google Email and More
Visit our website for great deals and most importantly, fast and friendly support - www.evolvewebhosting.com


User avatar
Active Member

Posts

Joined
Fri Mar 27, 2015 11:13 pm
Location - Denver, Colorado, USA

Post by mludiker » Tue Jan 07, 2025 5:17 am

:) :) Thank you to all for recommendations/suggestions to solve this issue. A special appreciation to johnp who stepped in and handled the upgrade/repairs to PHP 7.4 mandate for me. Exceptional expertise and friendly service in OpenCart and Word Press.

Newbie

Posts

Joined
Tue Sep 24, 2013 3:43 pm
Who is online

Users browsing this forum: No registered users and 5 guests