When editing home page, 2 blocks disappear
Permalink
Hi to everybody,
I'm having a boring problem for my home page athttp://www.manimanteatro.it
Every time I edit the page (ie. I add "main" blocks or modify them) the 2 blocks on top right and left disappear.
I have to re-enter edit mode and add them again.
Sometimes i have to add them more than once, since the firts attempts are in vain.
Any suggestion?
Thanks in advance
Federico from Italy
I'm having a boring problem for my home page athttp://www.manimanteatro.it
Every time I edit the page (ie. I add "main" blocks or modify them) the 2 blocks on top right and left disappear.
I have to re-enter edit mode and add them again.
Sometimes i have to add them more than once, since the firts attempts are in vain.
Any suggestion?
Thanks in advance
Federico from Italy
I'm having the same problem. I have a sidebar and main column.
When I edit the main column, the content in the sidebar disappears. It isn't deleted because the bID is still in the Blocks table.
The bID isn't in the BlockRelations table at all, even before the block disappears.
In default pages, under Setup on Child Pages, the box is still checked, so the system thinks the block is still there, it's just losing the reference to the page somehow.
When I edit the main column, the content in the sidebar disappears. It isn't deleted because the bID is still in the Blocks table.
The bID isn't in the BlockRelations table at all, even before the block disappears.
In default pages, under Setup on Child Pages, the box is still checked, so the system thinks the block is still there, it's just losing the reference to the page somehow.
Thank you very much for the detailed info you wrote.
I did a small check and it seems that after I modify/add block to the HP, the 2 "missing" blocks (that are in the header) are deleted from the DB.
Now I re-added the blocks and checked all the relations you mentioned and they are, of course, ok!
Next time I need to modify the page, before doing the change I'll note the Id's and I'll check after, in case the blocks disappear again.
If I find something useful, I'll write back, bothering you again! :-)
Thanks.
Federico
I did a small check and it seems that after I modify/add block to the HP, the 2 "missing" blocks (that are in the header) are deleted from the DB.
Now I re-added the blocks and checked all the relations you mentioned and they are, of course, ok!
Next time I need to modify the page, before doing the change I'll note the Id's and I'll check after, in case the blocks disappear again.
If I find something useful, I'll write back, bothering you again! :-)
Thanks.
Federico
The first thing I'd do in this situation if I were you is to look in your database to see if the information for the missing tables is still stored. Aka, if a GoogleMaps block has just disappeared, check the *concrete5_database*.btgooglemap table to see if the item still exists. If it doesn't, then the block is being deleted; if its still there, then the block is somehow getting dereferenced.
Note the bID in the previous table. If the item still exists, check the *concrete5_database*.blocktype table and get the btID value for the block type in question. Next, check the *concrete5_database*.blocks table to see if your noted bID exists and properly matches the btID noted earlier. If this id doesn't exist, than the block relation isn't getting stored properly...
If the above is ok, check the *concrete5_database*.blockrelations table to see if the bID shows up here. If not, then the block you created isn't being referenced to a page. If it does exist, note the brID.
next, check the *concrete5_database*.collectionversionblocks table for your bID. If its not here, we're not assigned to a page. If it is here, the cID will tell you which page the block is assigned to. Note the cID. Also note the arHandle value. Is the block assigned to the right location (aka if you built it into the sidebar, is it in the sidebar?)
Finally, check the *concrete5_database*.collections page to see if the cID noted earlier is the page that you wanted (the cHandle field in this table should tell you if so).
If any of the above is wrong, you now know that the database is being mishandled somehow. Also, check all of the above both before and after the new block is added. Did stuff get overwritten? Did stuff disappear? My suspicion is that the bIDs are getting overwritten but I can't tell without testing.
Anyway, this doesn't solve your problem, but at least it will let us know what the cause is, which is half the battle...