Page 1 of 1

Duplicated site issues - content not changing

Posted: Wed May 31, 2017 11:23 pm
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.

Re: Duplicated site issues - content not changing

Posted: Thu Jun 01, 2017 7:16 am
by Rolf
Probably browser caching... disable all caching settings in the CMS and reload your browser

Re: Duplicated site issues - content not changing

Posted: Thu Jun 01, 2017 11:10 am
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

Re: Duplicated site issues - content not changing

Posted: Thu Jun 01, 2017 1:37 pm
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.

Re: Duplicated site issues - content not changing

Posted: Thu Jun 01, 2017 2:33 pm
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

Re: Duplicated site issues - content not changing

Posted: Thu Jun 01, 2017 5:07 pm
by PinkElephant
Just one other thought, and not a very good one ;) -- double check the MySQL user permissions on the new database.

Re: Duplicated site issues - content not changing

Posted: Thu Jun 01, 2017 5:18 pm
by michaywood
thanks for the thought, and this is looking to be correct. :)

Re: Duplicated site issues - content not changing

Posted: Thu Jun 01, 2017 5:39 pm
by PinkElephant
Cool :)

(I didn't particularly like the idea because I thought the installer would probably have picked up the issue).

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

Posted: Thu Jun 01, 2017 8:46 pm
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