Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ParentID #10

Open
PhilipHYoung opened this issue Jan 30, 2016 · 2 comments
Open

ParentID #10

PhilipHYoung opened this issue Jan 30, 2016 · 2 comments

Comments

@PhilipHYoung
Copy link

I have been using the migration tool from a 5.6.3.4 site to a clean 5.7.5.6 instal (on wampserver) and I keep getting on import
"An exception occurred while executing 'insert into Pages (cID, ptID, cParentID, uID, cInheritPermissionsFrom, cOverrideTemplatePermissions, cInheritPermissionsFromCID, cDisplayOrder, pkgID) values (?, ?, ?, ?, ?, ?, ?, ?, ?)' with params ["209", "6", null, 1, "TEMPLATE", null, "153", 0, 0]: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'cParentID' cannot be null"
Any quick thoughts on the cause of this error?

Okay, I see there is an issue in the instal the db tables are damaged.

Okay odd, I just did another clean instal and after installing the migration tool it seems to delete all the tables after those beginning with M apart from a handful...
tables

@PhilipHYoung
Copy link
Author

Just tried latest version and I getting a slightly different error message - though substantially the same error message

An exception occurred while executing 'insert into Pages (cID, ptID, cParentID, uID, cInheritPermissionsFrom, cOverrideTemplatePermissions, cInheritPermissionsFromCID, cDisplayOrder, pkgID) values (?, ?, ?, ?, ?, ?, ?, ?, ?)' with params ["196", 0, null, 1, "TEMPLATE", null, null, 0, 0]: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'cParentID' cannot be null

@katzueno
Copy link

katzueno commented Jun 30, 2016

Yeah, I got the same error.
when trying to migration from 5.6.3.4

image

{"error":{"message":"An exception occurred while executing 'insert into Pages (cID, ptID, cParentID, uID, cInheritPermissionsFrom, cOverrideTemplatePermissions, cInheritPermissionsFromCID, cDisplayOrder, pkgID) values (?, ?, ?, ?, ?, ?, ?, ?, ?)' with params [\"168\", \"6\", null, 1, \"TEMPLATE\", null, \"145\", 0, 0]:\n\nSQLSTATE[23000]: Integrity constraint violation: 1048 Column 'cParentID' cannot be null"},"errors":["An exception occurred while executing 'insert into Pages (cID, ptID, cParentID, uID, cInheritPermissionsFrom, cOverrideTemplatePermissions, cInheritPermissionsFromCID, cDisplayOrder, pkgID) values (?, ?, ?, ?, ?, ?, ?, ?, ?)' with params [\"168\", \"6\", null, 1, \"TEMPLATE\", null, \"145\", 0, 0]:\n\nSQLSTATE[23000]: Integrity constraint violation: 1048 Column 'cParentID' cannot be null"]}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants