[Solved] News Articles Disappearing
Posted: Mon Sep 12, 2011 7:35 pm
A customer has been using CMSMS 1.9.4.1. The server is running OpenSUSE 11.4 with the following software:
Apache: 2.2.17
MySql: 5.1.53
PHP: 5.3.5
He contacted me because he states that articles from the news section are disappearing.
He states:
I will post a review with the back end tool and everything will be fine for a few days or even a week and then all of the sudden the review(s) will disappear.
Additionally he adds:
At one point we tried to make the site URL Friendly but it did not work so we deleted the changes that were made. Looking back on now it it seems that the reviews started to disappear shortly after we tried to make that change. I can't think of anything else that happened.
but this may be extraneous.
The articles appear in the Content/News section. However, if you try to click on one of the news articles it takes you to a blank edit screen. I checked the database and found that for the articles with the problem, there are no entries in cms_module_news. For example, an article appears in the news list. Looking at the URL, the article id is 216. Looking at cms_module_news, there is no article with news_id=216. A similar article 219 is present in the db and works correctly.
I've upgraded the customer to 1.9.4.3. My question is this: Is the kind of corruption that I'm seeing related to the fix in 1.9.4.3?
If not, any ideas on what to look at?
Also, can someone point me to the appropriate table to clean up the bad entries? It looks like a table is keeping references to the cms_module_news table entries but I don't know the schema and I'm not seeing any obvious candidates.
Apache: 2.2.17
MySql: 5.1.53
PHP: 5.3.5
He contacted me because he states that articles from the news section are disappearing.
He states:
I will post a review with the back end tool and everything will be fine for a few days or even a week and then all of the sudden the review(s) will disappear.
Additionally he adds:
At one point we tried to make the site URL Friendly but it did not work so we deleted the changes that were made. Looking back on now it it seems that the reviews started to disappear shortly after we tried to make that change. I can't think of anything else that happened.
but this may be extraneous.
The articles appear in the Content/News section. However, if you try to click on one of the news articles it takes you to a blank edit screen. I checked the database and found that for the articles with the problem, there are no entries in cms_module_news. For example, an article appears in the news list. Looking at the URL, the article id is 216. Looking at cms_module_news, there is no article with news_id=216. A similar article 219 is present in the db and works correctly.
I've upgraded the customer to 1.9.4.3. My question is this: Is the kind of corruption that I'm seeing related to the fix in 1.9.4.3?
If not, any ideas on what to look at?
Also, can someone point me to the appropriate table to clean up the bad entries? It looks like a table is keeping references to the cms_module_news table entries but I don't know the schema and I'm not seeing any obvious candidates.