Missing oc_modification table
Shinrai opened this issue · comments
What version of OpenCart are you reporting this for?
4.1
Describe the bug
Going to index.php?route=marketplace/modification in the admin shows the table does not exist.
To Reproduce
Steps to reproduce the behavior:
- Go to index.php?route=marketplace/modification
- See error
Expected behavior
Admin Modification page to load and have database tables available
RUN THROUGH THE UPGRADE
This is a brand new install of 4.1, due to the upgrade path the upgrade page does not work as it detects 4.0.2.3 as the latest version. The only place oc_modification is present in the code is the db_schema helper file. It's not present in the install.sql.
Edit:
Was able to derive the table from the db schema helper file:
CREATE TABLE oc_modification
( modification_id
int(11) AUTO_INCREMENT, extension_install_id
int(11) NOT NULL, name
varchar(64), description
text, code
varchar(64), author
varchar(64), version
varchar(32), link
varchar(255), xml
mediumtext, status
tinyint(1), date_added
datetime, PRIMARY KEY (modification_id
) ) ENGINE=InnoDB CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
But again brand new install, table was not created. Upgrade path would not have created it either as it's only ever present in the db_schema helper file.
4.1 version is in development.