Versions & Caching problem
Permalink
Hi there,
For some strange reason edits that I have deleted a long time ago keep appearing and reappearing in my template.
At the moment I can refresh the page and it will alternate between my current edit and a previous one. They are in global areas, but it only happens on the homepage template. It is a theme that I created myself.
I have deleted all the old versions and have cleared the cache in the settings multiple times.
The old version appeared for my client who hadn't used the website before and I always work with no caching in my browser.
Is there anything anyone else can think of that would cause this?
For some strange reason edits that I have deleted a long time ago keep appearing and reappearing in my template.
At the moment I can refresh the page and it will alternate between my current edit and a previous one. They are in global areas, but it only happens on the homepage template. It is a theme that I created myself.
I have deleted all the old versions and have cleared the cache in the settings multiple times.
The old version appeared for my client who hadn't used the website before and I always work with no caching in my browser.
Is there anything anyone else can think of that would cause this?
Are you talking about previous content or previous styling?
Have you tried deleting the old versions of the page? You may want to also dump/reload your database?
And also yes are you referring to old styling/structure (html/css) or content?
And also yes are you referring to old styling/structure (html/css) or content?
link ??
Similar to this:
http://www.concrete5.org/community/forums/usage/global-areas-mess-w...
If you could attach the page type file that your home page uses, we might be able to see something wrong in the php. You will need to change the extension to .txt to post it here.
I'm not sure that I'd dump/reload my database. I'm not sure what that would accomplish.
http://www.concrete5.org/community/forums/usage/global-areas-mess-w...
If you could attach the page type file that your home page uses, we might be able to see something wrong in the php. You will need to change the extension to .txt to post it here.
I'm not sure that I'd dump/reload my database. I'm not sure what that would accomplish.
Thank you for your help,
Sorry if I wasn't clear. It's nothing to do with CSS it's actual content/versions.
It seemed to be pulling through old versions of a global area at random and only on the homepage, even though the global area was in header.php.
This is the code I am using for the global area.
Thanks to mhawke I might have fixed it.
Firstly, I realised that I had only removed the old versions of the home page and not the old versions of the "top nav" stack.
Just to be certain I renamed the global area (as in mhawke's link) to see if it would continue to be problematic. It does seem to have stopped for the time being.
It seems like an odd glitch. I am a bit worried it might return! But it seems to be fixed for now :)
Sorry if I wasn't clear. It's nothing to do with CSS it's actual content/versions.
It seemed to be pulling through old versions of a global area at random and only on the homepage, even though the global area was in header.php.
This is the code I am using for the global area.
<div class="miniNav"> <?php $a = new GlobalArea('Top Nav'); $a->display(); ?> </div>.
Thanks to mhawke I might have fixed it.
Firstly, I realised that I had only removed the old versions of the home page and not the old versions of the "top nav" stack.
Just to be certain I renamed the global area (as in mhawke's link) to see if it would continue to be problematic. It does seem to have stopped for the time being.
It seems like an odd glitch. I am a bit worried it might return! But it seems to be fixed for now :)
Some odd things do happen from time to time. I doubt you will see it return. Glad you got it fixed. Now on to the next problem!