Go CMS content disappeared

I converted my client site: bedonwelltraining.co.uk to Go CMS about a year back, initially just a few sections and later pretty much the whole site. All has been fine for about 6 months.

Today, I made some minor changes outside of the CMS (to the address in the footer and coordinates of the open street map on contact page), publsihed and now ALL CMS content throughout the site has vanished, just leaving the site framework and a few sections that are not CMS enabled.

Content is all standard stuff - this site does not use the blog. I have published Rapidweaver changes before with no loss to the CMS.

Any ideas? I have messaged @Yabdab and am sure he’ll be in touch shortly. However, this is client content so keen to get help from wherever possible!

So you can’t see the GoCMS content using an FTP program? The actual data folder has gone?

No the data folder is where it should be and it has data in it! And the Key document is where it should be in Resources all correctly filled out.

It’s as if publishing the RW file has replaced the go CMS content stacks with new versions that no longer sync. Can’t see why though.

Ouch. That’s definitely one for @yabdab. Hope you get it sorted.

Rob

1 Like

I am no expert here, but I am using the CMSgo blog on a website. On the server under “rw_common/plugins/stacks/cmsgo/data” you probably find archives like “page3.php.gz”, which contain the content of the CMSgo entry on this page. “page3” will refer to the page as stacks is using it in the e.g. php file on the corresponding published page. I would check whether the published page (the index.php file) still uses the same reference ‘page3’.

I have no idea, whether this could change, but I was worried, too, whether any change in the website with RW/ stacks could inadvertently change the internal page reference (in my example ‘page3’), because then the CMSgo data still sitting on the server would loose their connection to the respective page …

This is not a fix, just an idea to check whether something in the internal page numbering has changed with the republishing, which might have thrown off the CMSgo links

Good luck

1 Like

Apparently changing page hierarchy can cause issues. However, I have a test site where I move things around deliberately and I haven’t been able to break Go CMS yet. I’m working through the gz files in Data to see if any page names are different. @yabdab got in touch straight away so as usual good support and hopefully will fix. If the worst comes to the worst, I can replace the public_html folder with an older back-up which should fix things. It would still leave me with the issue as to why it happened but at least I could try again forewarned!

1 Like

Thanks for investigating this further. Please report back about your findings. It could be helpful for many to learn what one can or should not do to avoid throwing CMSgo links off. Much appreciated.

OK - following a suggestion by @yabdab I’m reasonably sure that the problem lies with the recent Stacks update (4.1.4) and the Go CMS Content stacks. I can’t be sure it wasn’t 4.1.3 however.

If you upgrade to stacks 4.1.4 and then republish any Go CMS page, the content on the site will be overwritten by the content (or lack of) in the Go CMS stacks in your RW project.

I tested this on a small test Go CMS page I had forgotten about, by changing the page header (which is outside of Go CMS) and then publishing. All CMS content disappeared. I put the content back in using Go CMS on-page, and everything was fine from then on - including further page re-publishes.

The reason I lost so much on my main project is that I changed some footer text which is in a partial and site-wide. As all pages were re-published I lost CMS content on all those pages.

Hopefully @yabdab and @isaiah can get this sorted asap as I can’t update my client’s address and map!

1 Like

Thank you for circling back … that’s a scary situation, until a solution or a fix becomes available. Imagine your entire blog is lost after a minor update …

Hope @yabdab can chime in, whether there are any precautions possible (e.g. BackUp/Restore), or whether one must refrain from any page update with Stacks 4.1.4 at the moment ?

I don think the actual data file is overwritten, but the name changes. I will look into this and see what can be done to prevent this.

2 Likes

I’m assuming that the site is working right now and you have a backup like TimeMachine of the project file before the stacks update. If so, why not just back out the update and go back to 4.13 until it gets fixed? Older versions are here Stacks.

1 Like

Yes I thought of this straight after that last post. The only question mark is which version of stacks this may have started with. I’m assuming 4.1.4 but it may have been earlier. With CMS projects I often don’t look at the website for months on end and the clients don’t always do much either. Yabdab is on the case so maybe there will be a fix shortly anyway

I agree - I did a quick comparison of previous and current data files and there doesn’t appear to be any loss.

Indeed, but keep in mind that if you have backups you can always replace your project or entire public_html folder with a previous one. This is what I have done for now and all is back to normal - except the non CMS changes I was trying to make. You would lose the new blog post however.

If I have time, I will roll back to the previous version of stacks and test that

1 Like

I put RW back to Stack 4.1.0 today (released 13th November 2020) and made some non-CMS changes to a page with Go CMS in it. All the CMS content on that page disappeared.

I must stress, making on-page Go-CMS changes are no problem at all. It’s just when the Rapidweaver project is republished the Go CMS disappears.

Before this instance, the last time I republished a RW project with GoCMS content was in October 2020 so using Stacks 4.0.xx. I’ll roll the project back to that and see what happens.

Did you restore the project file back to a version before the stacks release that caused issue? If the stacks release is the culprit in changing the pageID then it may have changed the project file. Just a guess.

1 Like

If you mean revert to an earlier version of RW, no I didn’t do this, principally because the release dates of RW 8.7 and Stacks 4.1 were very close and I have no record of when I updated what.

What I have done just now is to:

  1. Build a test GO CMS project using Stacks 4.0.4 (the last version of the last release of Stacks.
  2. Add some Go CMS content directly on-page, and save.
  3. Add some further non CMS content and republish the RW file.
  4. All Good. Both CMS and non CMS content is where it should be.

I then…

  1. Updated Stacks to 4.1.0
  2. Amended the non-CMS content in Rapidweaver and republished.
  3. The Go-CMS content was over-written by whatever was in the Go Content stacks in the RW project i.e. if they were empty, the CMS content on web page disappeared. If they still had the default lorem ipsum, the web poage was replaced with this)

So it appears the issue is to do with the Stacks 4.1.0 update and Go CMS content not playing nicely. Of course I didn’t go back to a Rapidweaver 8.6 version and test that also.

3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.