Error when creating page types
For example, attempting to edit a page default e.g.
results in the error.
Looking in PageTypePageTemplateDefaultPages I find
pTemplateID, ptID, cID
But trying to open index.php?cID=185 results in a not found error, rather than a permission denied error which is returned for other pages referenced in this table.
removing this record from PageTypePageTemplateDefaultPages fixes the problem, since a new record and page are created to take its place for that combination of template and page type.