Mysql error 1054 ... please help!

Permalink
I've switched over another site ... much more complicated than this one ... but I'm not sure what the deal is with this.

I've downloaded and uploaded all files.
I've set up the mysql database with user and privileges (same as previous).
I've exported and imported db.
I've corrected db location info in config/site.php.

Basically, I've done all that I did with previous (more difficult site with more mysql db's).

I get this error:
=======
An unexpected error occurred.
mysql error: [1054: Unknown column 'Pages.cPointerExternalLinkNewWindow' in 'field list'] in EXECUTE("select Pages.cID, Pages.pkgID, Pages.cPointerID, Pages.cPointerExternalLink, Pages.cPointerExternalLinkNewWindow, Pages.cFilename, Collections.cDateAdded, Pages.cDisplayOrder, Collections.cDateModified, cInheritPermissionsFromCID, cInheritPermissionsFrom, cOverrideTemplatePermissions, cPendingAction, cPendingActionUID, cPendingActionTargetCID, cPendingActionDatetime, cCheckedOutUID, cIsTemplate, uID, cPath, Pages.ctID, ctHandle, ctIcon, ptID, cParentID, cChildren, ctName, cCacheFullPageContent, cCacheFullPageContentOverrideLifetime, cCacheFullPageContentLifetimeCustom from Pages inner join Collections on Pages.cID = Collections.cID left join PageTypes on (PageTypes.ctID = Pages.ctID) left join PagePaths on (Pages.cID = PagePaths.cID and PagePaths.ppIsCanonical = 1) where Pages.cID = '70'")
=======

HELP!!!

This same error message has been submitted to forums before with no responses. PLEASE ... some one help!

Thanks in advance.
Dennis

bishopdennis
 
Mainio replied on at Permalink Reply
Mainio
bishopdennis replied on at Permalink Reply
bishopdennis
Thank you ... My solution ... it must have been a bad database export or import. I redid the process, and all works great. So, I'd say my issue was just a corrupt database.
pixeleleven replied on at Permalink Reply
pixeleleven
Hi Guys,

Sorry to drop in on your earlier post, but the same thing has just happened to me on the C5.5 update, I am getting this error.

mysql error: [1054: Unknown column 'Pages.cIsActive' in 'field list'] in EXECUTE("select Pages.cID, Pages.pkgID, Pages.cPointerID, Pages.cPointerExternalLink, Pages.cIsActive, Pages.cIsSystemPage, Pages.cPointerExternalLinkNewWindow, Pages.cFilename, Collections.cDateAdded, Pages.cDisplayOrder, Collections.cDateModified, cInheritPermissionsFromCID, cInheritPermissionsFrom, cOverrideTemplatePermissions, cPendingAction, cPendingActionUID, cPendingActionTargetCID, cPendingActionDatetime, cCheckedOutUID, cIsTemplate, uID, cPath, Pages.ctID, ctHandle, ctIcon, ptID, cParentID, cChildren, ctName, cCacheFullPageContent, cCacheFullPageContentOverrideLifetime, cCacheFullPageContentLifetimeCustom from Pages inner join Collections on Pages.cID = Collections.cID left join PageTypes on (PageTypes.ctID = Pages.ctID) left join PagePaths on (Pages.cID = PagePaths.cID and PagePaths.ppIsCanonical = 1) where Pages.cID = '47'")

I have gone back to MySQL and reset an older database but I am still getting the above.

Any ideas further on what is best to do here.

Thanks