Having trouble upgrading...anyone know what this means? What did I forget?

Permalink
This is what my pages says... how to fix?
An Unexpected Error occurred while upgrading: 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 = 0")

kchilds
 
cyandesigns replied on at Permalink Reply
run the installer script....

yoursite.com/index.php/tools/required/upgrade
kchilds replied on at Permalink Reply
kchilds
I ran the upgrade and now this:

Fatal error: Uncaught exception 'ADODB_Exception' with message '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 = 1") ' in /hermes/web06/b2001/moo.duxworks/_shapero/concrete5/concrete/librari in /hermes/web06/b2001/moo.duxworks/_shapero/concrete5/concrete/libraries/3rdparty/adodb/adodb-exceptions.inc.php on line 78
katalysis replied on at Permalink Reply
katalysis
I get the same issue upgrading from 5.3.3.1.

Anyone got an idea how to fix?


Fatal error: Uncaught exception 'ADODB_Exception' with message '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 = '12'") ' in /var/www/vhosts/essenceofegypt.co.uk/httpdocs/concrete/libraries/ in /var/www/vhosts/essenceofegypt.co.uk/httpdocs/concrete/libraries/3rdparty/adodb/adodb-exceptions.inc.php on line 78
ewaite replied on at Permalink Reply
ewaite
Any chance you are moving from windows to linux with the db? I had an error like that with table names and them being lower versus mixed case.

Login to mysql and type
"show tables"

See if the tables are in "Mixed Case".
cyandesigns replied on at Permalink Reply
I'd love to help you more, but that worked for me. Is it possible a few files didn't upload properly when you replaced the concrete folder?

I ran into that on one site - I would try to reupload the concrete core folder (and make sure you didn't get any errors on the upload) and then re-run the upgrade script.
katalysis replied on at Permalink Reply
katalysis
I tried the upgrade on a second 5.3.3.1 site had the same problem. So I restored and tried again upgrading to 5.4.0.5 before upgrading again to 5.4.1. This time success.

So the workaround seems to be to go to 5.4.0.5 first. Interested to know if kchilds upgrade was from 5.3.3.1?
cyandesigns replied on at Permalink Reply
It IS possible that they need to be done in order...I guess we'll have to wait for her reply to see if that was it...

Glad to hear it worked though!
kchilds replied on at Permalink Reply
kchilds
yes, i think it was a 5.3xx
kchilds replied on at Permalink Reply
kchilds
so, I reinstalled my back up, but now all of my pages and themes will not show. I reloaded everything from the parent folder and all of the interior concrete folders. where exactly are my pages & images stored? I thought it was in the outer concrete folder under "single-pages" and "themes", or is it in "files". Well, no matter tho, they are still not showing up online. What to do??? I thought having my back up would prevent all these problems... starting to despair :-(
katalysis replied on at Permalink Reply
katalysis
Have you restored the database too? All the pages etc. are referenced from there.
Sergio replied on at Permalink Reply
Sergio
I had the same problem.

Scenario: upgrading from 5.4.0.5 to 5.4.1. Tried the /tools/required/upgrade several times, no sucess.

So, I did another 'technique':
1 - Start all over, copy (only) the new 5.4.1/concrete/config/db.xml OVER your 5.0.4.5/concrete/config/db.xml.

2 - Go to your-site/dashboard/settings/set_developer/ and refreshed database schema.

3 - Copy all folders from 5.4.1/concrete to yoursite /concrete

4 - Go to your-site/index.php/tools/required/upgrade
andrew replied on at Permalink Reply
andrew
Hmm. We will address this ASAP. Looks like there is an issue going from 5.3.3.1 to 5.4.1 directly.
madebig replied on at Permalink Reply
madebig
Not just 5.3.3.1 I was at 5.4.0.5 on one of my domains, originaltool.com I use bluehost.com simplescripts to upgrade. I did one other thing that complicated the issue. I had the domain expire through bluehost domain registration. I transferred the domain registration to fxdomains then pointed back to bluehost name servers and added the domain back as an addon domian. The orignal subfolder was originaltool.com then new one was auto assigned originaltool I did not catch the difference until too late. I downgraded with simplescripts, same error. I copied the folder originaltool.com to originaltool subfolder and got this same error message. I then went back to simplescripts and did the upgrade again. Now I can get the site to come up but themes and pages are gone as if I had done a fresh install.

I backed up the mysql. I am going to restore it and try manual upgrade next.

David
madebig replied on at Permalink Reply
madebig
No luck for me this way. Install over write and manually run of upgrade from 5.4.0.5 to 5.4.1 I end up with no pages other than home and no them. The data appears to be in the database, but somehow, it is not read.
centralcec replied on at Permalink Reply
I had the same thing happen to me when I tried to do the Update from within the Dashboard. I did the manual update by uploading the new concrete folder over top of the old one and then going to
http://yoursite.com/index.php/tools/required/upgrade...
and it worked fine. I was also going from a different version (5.4.0.5) but I had 5.3.3.1 before that... Have you tried the manual upgrade yet instead of just through the dashboard?
lexteo replied on at Permalink Reply
when trying to upgrade to 5.4.1 from 5.3.3.1 i was not able to do so, receiving the same error as above.
I tried to upgrade to 5.4.0.5 and it worked, then i managed to use the update function built in so i managed to successfully update to 5.4.1.
Everything seems fine but i'm having problems with pretty url which stopped working again :\