Integrity constraint violation: 1048 Column 'cParentID' cannot be null13 8 Browser Info Environment
Completely new installation here from server to concrete5.
I use the "multilingual" feature to create another language, Hungarian (page name: hu, url slug: hu).
Then I copied everything from en to hu, using copy languages feature.
Then, if I visit: /index.php/hu it says:
An exception occurred while executing 'insert into Pages (cID, siteTreeID, ptID, cParentID, uID, cInheritPermissionsFrom, cOverrideTemplatePermissions, cInheritPermissionsFromCID, cDisplayOrder, pkgID, cIsActive) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' with params ["218", null, "1", null, "1", "TEMPLATE", null, null, 0, 0, 1]: SQLSTATE: Integrity constraint violation: 1048 Column 'cParentID' cannot be null
Same if I visit any page under /hu or if I create a page under /hu, like /hu/oage1, and try to edit that page.
[EDIT] It seems to happen only if I change the default locale to Hungarian.
[EDIT] I have added a 3rd language, Romanian (ro) and when making it default anything under /ro is not accessible (gives the above error). However the pages under /hu become available. So I think the bug is in the code that makes the switch to the default language, not the creation of the default language and/or copy language feature.
The problem probably has to do with the Multilanguage settings because when I changed the default language to the language I installed concrete5 with, I am now able to add subpages normally.
cannot access website anymore:
I get the error:
'_' is not a valid locale identifier
I so not use Multilanguage feature.
When checking this '_' seems to be set as default language.
Also cannot create new pages...
The solution mentioned in other topics about Softaculous are not relevant as it is correct stated in the concrete.php file: 'locale' => 'nl_NL'.
And it blocks the whole site.
as I went back to 8.1 (do not need the multi language capabilities) I did not follow up on this anymore...
But it should(!) be fixed in the current version of concrete5...
Hopefully there will be a solution soon.