Post by beermatmania » Tue Oct 22, 2024 2:23 am

Hi. I am trying to upgrade to the latest version 4.0.2.3 but constantly get the above error when trying to install. My server is running php8.2
Any help greatly appreciated. Thanks in advance

Newbie

Posts

Joined
Wed Apr 03, 2019 2:27 am

Post by ADD Creative » Tue Oct 22, 2024 3:19 am

Use phpinfo() where you have uploaded OpenCart to and see which version of PHP it reports.

www.add-creative.co.uk


Guru Member

Posts

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

Post by Elevate » Fri Feb 14, 2025 3:18 am

To elaborate:

Create a file called phpinfo.php and put this inside of it

Code: Select all

<?php

// Show all information, defaults to INFO_ALL
phpinfo();

?>
Then upload to the root directory on your server. public_html or user/var/www and open your browser and go to yourdomain.com/phpinfo.php (type in your actual domain)

Once you're done, make sure you delete that file form the server. It's a security risk to leave it uploaded.

ELEV8TE Website Development
Available for hire - please contact me at https://www.elev8tewebsitedevelopment.com/contact
https://www.elev8tewebsitedevelopment.com


User avatar
Active Member

Posts

Joined
Fri Jul 06, 2018 12:40 am
Location - Denver, Colorado, USA

Post by johnp » Fri Feb 14, 2025 5:19 am

beermatmania wrote:
Tue Oct 22, 2024 2:23 am
Hi. I am trying to upgrade to the latest version 4.0.2.3 but constantly get the above error when trying to install. My server is running php8.2
Any help greatly appreciated. Thanks in advance
Check that you don't have PHP 7.4 or similar in your .htaccess file. If you do, remove it and retry the upgrade.

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 beermatmania » Sun Feb 16, 2025 7:59 pm

Thanks for your replies
I have the following line in htaccess which I don't think is now the problem.
AddHandler application/x-httpd-ea-php82 .php .php8 .phtml
I've now tried to upgrade from 1.5 to 2.3 but when I run install as per the instructions I simply get a blank page with the url ending install/index.php?route=upgrade/upgrade
I've tried upgrading to v3 & 4 but on those I get the php problem
Thanks for any advice

Newbie

Posts

Joined
Wed Apr 03, 2019 2:27 am

Post by Cue4cheap » Sun Feb 16, 2025 11:00 pm

beermatmania wrote:
Sun Feb 16, 2025 7:59 pm
Thanks for your replies
I have the following line in htaccess which I don't think is now the problem.
AddHandler application/x-httpd-ea-php82 .php .php8 .phtml
I've now tried to upgrade from 1.5 to 2.3 but when I run install as per the instructions I simply get a blank page with the url ending install/index.php?route=upgrade/upgrade
I've tried upgrading to v3 & 4 but on those I get the php problem
Thanks for any advice
How about following the post that talks about running phpinfo.php in the directory of your store you are trying to update?
Mike

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by xxvirusxx » Mon Feb 17, 2025 6:47 pm

Better upgrade to 3.0.4.0 and wait for a stable oc 4 release.

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România
Who is online

Users browsing this forum: No registered users and 2 guests