Duplicated site issues - content not changing

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
michaywood
Power Poster
Power Poster
Posts: 280
Joined: Thu Apr 15, 2010 12:27 am

Duplicated site issues - content not changing

Post by michaywood »

I've taken a website and duplicated it (database and all site files) and updated it to 2.1.6 (was 2.1.3). Then updated all modules from the admin.

I tried editing the content of a few pages, and the changes save in the admin (and the database), but when viewing the website on the frontend, it's still showing the original content that was duplicated. I tried clearing the cache but is there a setting I'm missing?

Thanks

EDIT: In further testing, whichever page I change to be the DEFAULT page from the admin > Content Manager, when viewing that page it shows the correct updated information.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Duplicated site issues - content not changing

Post by Rolf »

Probably browser caching... disable all caching settings in the CMS and reload your browser
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
michaywood
Power Poster
Power Poster
Posts: 280
Joined: Thu Apr 15, 2010 12:27 am

Re: Duplicated site issues - content not changing

Post by michaywood »

If so, I'm wondering if maybe there is a cache area I'm missing? I've tried clearing and tried new browsers without luck.

I've been to Site Admin > System Maintenance 10+ times and have gone to Cache & Content and clicked the CLEAR button without success. I've also clear browser cache and rebooted browser and tried again without success.

Still, only the current default page of the site shows up correctly.

Is there somewhere else I'm missing to clear cache?

Thanks
User avatar
PinkElephant
Forum Members
Forum Members
Posts: 173
Joined: Fri Feb 06, 2009 2:08 pm

Re: Duplicated site issues - content not changing

Post by PinkElephant »

I'm finding it hard to follow the specifics, but, fwiw...
  • - try manually deleting the cache directory contents
  • - try connecting from another network (to avoid web proxy caches, etc)
If it's not a cache issue then maybe;

... a problem with database config
  • - triple-check the db settings in config.php (and all paths while you're there)
... unintended redirection
  • - kill .htaccess & look for webserver directives
  • - make sure the old site is unreachable (kill db and all files)
... MySQL corruption
  • - run the CMSms database integrity checks
  • - run MySQL integrity checks
And when all else fails, reboot the server.

Hope this helps.
michaywood
Power Poster
Power Poster
Posts: 280
Joined: Thu Apr 15, 2010 12:27 am

Re: Duplicated site issues - content not changing

Post by michaywood »

Thanks, PE.

I have tried from 2 different computers: one at home and one at work, both on different ISPs.

I deleted all files in the tmp/cache folder (minus the index.html)

Triple confirmed the config.php is 444 and is pointing at the correct database.

Upgraded PHP to 5.6

Don't think I have the ability to reboot the server as it's a hosted solution

Even when editing a page from Content > Content Manager, if I select the Preview tab, the page displays correctly.

Hoping there is some magical button I forgot to click somewhere. If not, the only next step I can think is to try and duplicate it again
User avatar
PinkElephant
Forum Members
Forum Members
Posts: 173
Joined: Fri Feb 06, 2009 2:08 pm

Re: Duplicated site issues - content not changing

Post by PinkElephant »

Just one other thought, and not a very good one ;) -- double check the MySQL user permissions on the new database.
michaywood
Power Poster
Power Poster
Posts: 280
Joined: Thu Apr 15, 2010 12:27 am

Re: Duplicated site issues - content not changing

Post by michaywood »

thanks for the thought, and this is looking to be correct. :)
User avatar
PinkElephant
Forum Members
Forum Members
Posts: 173
Joined: Fri Feb 06, 2009 2:08 pm

Re: Duplicated site issues - content not changing

Post by PinkElephant »

Cool :)

(I didn't particularly like the idea because I thought the installer would probably have picked up the issue).
michaywood
Power Poster
Power Poster
Posts: 280
Joined: Thu Apr 15, 2010 12:27 am

[solved]Re: Duplicated site issues - content not changing

Post by michaywood »

So I took the 'when in doubt, restart' approach. Recreating the SQL database, confirming config settings and changing config permissions again (just in case), re-running the 2.1.6 update, and also making a small update to .htaccess that looked like it may be pointing to the old site.

One or many of those items seem to have resolved the issue and it is now displaying the correct info!

Thanks to all who helped
Post Reply

Return to “The Lounge”