Git Product home page Git Product logo

Comments (12)

kpodemski avatar kpodemski commented on June 1, 2024 1

Your original error says:
Unknown column 'product_type' in 'field list'

And the product_type column should be added in 1.7.8.0 upgrade:

https://github.com/PrestaShop/autoupgrade/blob/dev/upgrade/sql/1.7.8.0.sql#L172-L180

This means that you had a broken database structure before this upgrade or did something unexpected in one of the previous attempts to upgrade PrestaShop.

from prestashop.

matteolavaggi avatar matteolavaggi commented on June 1, 2024 1

from prestashop.

matteolavaggi avatar matteolavaggi commented on June 1, 2024

Also related to this issue:
product_type field, after manual creating it, are not update for "standard":

Virtual
image
image

Pack
image
image

Standard
image
value are not changed
image

on first save value is empty:
image

from prestashop.

AureRita avatar AureRita commented on June 1, 2024

Hi @matteolavaggi

Thank for your report,
This issue is too technical for me, ping @PrestaShop/tech-council , can someone please reproduce this issue ?

Thanks

from prestashop.

kpodemski avatar kpodemski commented on June 1, 2024

Hello @matteolavaggi

Something went wrong during your manual upgrade. The product_type field is only used by the new product page, which was enabled for PrestaShop 8.1. On PrestaShop 1.7.8, it was in the early experimental phase.

A few other things to remember:

I suggest reverting your shop to 1.7.8.10 and applying only the changed files if you want to do the upgrade manually.

from prestashop.

matteolavaggi avatar matteolavaggi commented on June 1, 2024

Hello @kpodemski thanks for your reply, i need some more information because i cant really understand well your suggestion.

When you say "The product_type field is only used by the new product page, which was enabled for PrestaShop 8.1" , and "Something went wrong during your manual upgrade" there is a lack of information, i've downloaded the official 1.7.8.11 zip package from official web page reposistory and extracted it, how its possible that in this package there are core modification for a future version of PS (8.1) ?!

When you say "there was no need to upgrade database between 1.7.8.10 and 1.7.8.11" i agree, the upgrade procedure say there is nothing to upgrade but the zip package released from prestashop.com contain file that NEED a database upgrade, so i'm a bit confused.

When you say "Unfortunately, the manual upgrade method doesn't work correctly" , where this is explained? I can find a online official guide here "https://devdocs.prestashop-project.org/1.7/basics/keeping-up-to-date/upgrade/" that explain exactly how to do a manual upgrade, without any information or alert on the deprecation of this procedure.

When you say "it's recommended to use CLI upgrade as described in the newer version of the documentation" , i CANT find any support on CLI with ps lower than 8.0 , there is no cli script at all , so i dont think we can upgrade 1.7.8.10 to 1.7.8.11 with CLI.

At least, 1.7.8.11 is a security update, but...

There is no way to upgrade it using manual upgrade
There is no way to upgrade using CLI

So how we can apply the patch to 1.7.8.10 ?

from prestashop.

matteolavaggi avatar matteolavaggi commented on June 1, 2024

Any more information? it is very serious that the last release of a project before the transition to a new version is not updatable

from prestashop.

kpodemski avatar kpodemski commented on June 1, 2024

@matteolavaggi it is upgradable, you can use autoupgrade module or as I mentioned you can only replace the files manually and that will be enough

from prestashop.

matteolavaggi avatar matteolavaggi commented on June 1, 2024

from prestashop.

kpodemski avatar kpodemski commented on June 1, 2024

Some file MODIFIED from .10 to .11 (so the One you Say me to manually Copy)
contain dev code that can not be run with original database schema.

That's not true. In the link I provided you:
1.7.8.10...1.7.8.11

There are no changes related to the product_type. Product type has been added way back in 1.7.8.0.

from prestashop.

kpodemski avatar kpodemski commented on June 1, 2024

I don't think upgrading your store with Redis enabled is wise :)

from prestashop.

matteolavaggi avatar matteolavaggi commented on June 1, 2024

from prestashop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.