Forums / Upgrading to 1.5.x / Error message I don't know how to fix

Error message I don't know how to fix

Views: 1,005

Results 1 to 3 of 3
12 Nov 2022, 3:07 AM
#1
lina0962 avatar

lina0962

Zen Follower

Join Date:
Jun 2006
Posts:
403
Plugin Contributions:
0

Error message I don't know how to fix

I reinstalled a zencart v158 on my site. I used the name of my old database. After the installation, I realized the data in my old database was completely wiped out. I asked the hosting company to restore my database to the date before the reinstallation. But when I run the zc_install, the errors appeared.

An existing configure.php file was found. The installer will attempt to upgrade your database structure if you choose "Upgrade..." below.
Some problems that need fixing before we continue
Incorrect PHP Version.
The PHP version you are using (7.4.32) is not suitable.

This version of Zen Cart® is compatible with PHP versions 5.5 to 7.3.x.
Check the https://www.zen-cart.com website for the latest version of Zen Cart®.

Some Other Issues:
There is a NEWER version of Zen Cart® available, which you can download from https://www.zen-cart.com
New Version Available v1.5.8 :: https://www.zen-cart.com/showthread.php?229041-Zen-Cart-1-5-8-Released! Download Here
The GZip Extension in PHP is not enabled
[ NOTE: This may not be relevant if you are using Nginx and handling GZip within Nginx. ]

I don't know how to fix it. Thank you so much for helping!!

12 Nov 2022, 4:56 AM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,862
Plugin Contributions:
18

Re: Error message I don't know how to fix

Quickest fix.

Create another DB (copy)
Copy current DB (old) to to new DB (copy)
Delete current DB (old) data
Run Install to create New DB data using OLD name
Delete data in the DB created by Install
Copy the original DB (copy) data into the one created by install
Run install again to update the DB

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

12 Nov 2022, 3:35 PM
#3
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Error message I don't know how to fix

  • So your previous store's version was 1.5.6?
  • Your site is now using php 7.4?
  • You want to have a live site in operation that uses php 7.4 or do you just want to have an operational site for now? The ability of your server to have php 7.3 used on your live site for the most part is likely to identify which of those two is possible.

The above suggestion to quickly get back up and running will support implementing either zen Cart 1.5.8 as your current store version or if php 7.4 is the lowest php version available could be used to create a site using zen Cart 1.5.7. Thing is that php 7.4 is outside the boundaries of cast development of any other cart version as indicated here: https://docs.zen-cart.com/user/first_steps/server_requirements/#php-version

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...