Lost frontpage content (on all page versions?)

Permalink 3 users found helpful
** Some updated information at bottom of this message **

=============================================================

Hi,

So my client succeeded to lost all content on frontpage. This includes all versions of the page ever made.

Layout Cells and stuff are there still and for me it seems that they havent edited page template file (right content area is there).

All other information is on its place as it should be (on frontpage and other pages). So only thing this is affecting is Frontpage and to be specific content area of frontapge called: "Sisältöalue" (its finnish, forgive for funny name).

So, anyidea what could cause this? They are running older version of C5 (5.4.1.1) is there any known bug on this version that could cause this?


Anyways after this problem is solved i will update C5.

=============================================================

This is the allmight update of this post.

So after going throught Concrete5 database i found something interesting:

At CollectionVersionBlocks table under arHandle i have something like this: "Sisältöalue : Rakenne 2 : Cell 2" .

As you can see default "Layout" text is changed (due finnish-language pack?) to "Rakenne". Anyways when editing my clients site in frontend cells are named: "Sisältöalue: Layout 2 : Cell 2".

Could there be somekind of conflict that Concrete5 tries to find stuff labeled "Sisältöalue: Layout 2 : Cell 2" instead of "Sisältöalue : Rakenne 2 : Cell 2"? and because it cant find it it displays empty layout cells?.

If so, how i can change my frontend editor back to Finnish and more interesting question, why the hell have it changed itself back to English?

=============================================================

** Moar updates **

Well i added new blocks and they named "Sisältöalue: Layout 2 : Cell 2 and shows correctly on page. Ill try to rename existing db entrys to follow same formula and lets see what happens...


=============================================================


** Moar moar updates **

Yea i was right. Thanks for help guys o/

p.s: anyone have idea why did language in frontend change on the fly?


=============================================================

** One last update **

Language was changed cause my client had updated Concrete5 from dashboard. (dont really understand why this would override language packs but anyways...)

anttivaatainen
 
orisinal replied on at Permalink Reply
orisinal
Thank you Antti! This saved me probably couple of hours of inspecting. :)

First I upgraded (5.4.1.1 to 5.4.2.1) from Dashboard, but quickly noticed all the content inside Layout is missing. I restored site back to old 5.4.1.1 from backups and tried to upgrade manually, but the very same problem occured. So no change in using Dashboard or manual upgrade process in my case. I tried also with upgraded and non-upgraded Finnish translation file.

I'm still not sure where the real problem is; in Finnish translation file or in Concrete5? Anyways, my quick fix for the problem was this SQL query:

UPDATE CollectionVersionBlocks SET arHandle = REPLACE(arHandle, 'Rakenne', 'Layout') WHERE arHandle LIKE '%Rakenne%';


Of course it might be good idea to check what it does first :)
SELECT cID, cvID, bID, arHandle, REPLACE(arHandle, 'Rakenne', 'Layout') as fixed_arHandle FROM CollectionVersionBlocks WHERE arHandle LIKE '%Rakenne%';