Problems editing pages
I have a crazy problem editing any sites that come under the locations sub sites in my SP 2007 portal
My location site has a collection of sub sites for each of our location in the organaisations. These have all got publishing features enabled
The problem is every time I go to Siteactions/ Edit page, the page opens as expected with the edit options on the web parts, but as soon as i go to Edit / Modify shared web part i get the error page -
This Page has been modified since you opened it. You must open the page again.
Refresh page.
amnd now get stuck in a comoplete loop of refresh etc
The only way that works is Site actions/ Edit page
Now click on the Check in to Share draft on the editting toolbar
I then ger the error page again
This Page has been modified since you opened it. You must open the page again.
This time when i press the refresh button i then press the edit page icon from the editting toolbar
NOW the page will edit as usual
If i try and deactivate publishing features as soon as I try and apply changes to a webpart such as a content editor webpart I get a small pop up error message from webpage - Cannot save your changes, and I can only edit with the publishing features edabled.
Any Ideas
Thanks
July 25th, 2011 11:46am
Have you seen this article:
http://blogs.msdn.com/b/tejasr/archive/2008/06/19/resolution-moss-this-page-has-been-modified-since-you-opened-it-you-must-open-the-page-again.aspx
Behavior/Symptoms:
Whenever user tries to add a web part to the page, he gets the following error message
"This Page has been modified since you opened it. You must open the page again."
If he refreshes the page and adds, It works. User has a custom site definition.
This problem suddenly appeared after applying SP1, till then it was working fine.
Cause:
Use of PublishingLayoutPage instead of TemplateRedirectionPage in custom default.aspx
Serge Tremblay MVP SharePoint
Free Windows Admin Tool Kit Click here and download it now
July 27th, 2011 2:59am
Here are few suggested fixes for such problem, compliments of
http://umakanthn.blogspot.com/2008/03/this-page-has-been-modified-since-you.html:
Fix 1:
If you have the page display problem after installing SP1, follow the instructions below:
Replace
Page language="C#" Inherits="Microsoft.SharePoint.Publishing.PublishingLayoutPage, Microsoft.SharePoint.Publishing,Version=12.0.0.0, Culture=neutral,PublicKeyToken=71e9bce111e9429c" metarogid="SharePoint.WebPartPage.Document" meta:webpartpageexpansion="full"
with
Page language="C#" Inherits="Microsoft.SharePoint.Publishing.TemplateRedirectionPage, Microsoft.SharePoint.Publishing, Version=12.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" metarogid="SharePoint.WebPartPage.Document" meta:webpartpageexpansion="full"
Fix 2:
open the page in SharePoint designer and add the below script “ MSO_PageHashCode clearing script” :
<script language=”javascript” type=”text/javascript”>
if(document.getElementById(“MSO_PageHashCode”))
{
document.getElementById(“MSO_PageHashCode”).value=”";
}
</script>
Fix 3:
While trying to edit the pages created in the publishing sites, you get this error.
When you use publishing in Sharepoint, you have a pages library with pages that have a page layout. These page layouts need to inherit from Microsoft.SharePoint.Publishing.PublishingLayoutPage and not from Microsoft.Sharepoint.Pages.WebpartPages.
You need to insert the pages in the pages library with a Page Layout.
The generic ONET.XML looks like this:
" Module Path="" Url="$Resources:cmscore,List_Pages_UrlName;" Name="DefaultBlank
File Url="default.aspx" Level="Approved" Type="GhostableInLibrary
Property Name="Title" Value="Default
Property Name="ContentType" Value="$Resources:cmscore,contenttype"
You have to add a property to the page you are adding. That property is called ‘PublishingPageLayout’ and should have the page layout you want to use as the value.
The page layout that you want to use should inherit from Microsoft.SharePoint.Publishing.PublishingLayoutPage, and most reside in the masterpages gallery of your site collection.
ONET.XML, after modifying:
"
Module Path="" Url="$Resources:cmscore,List_Pages_UrlName;" Name="DefaultBlank
File Url="default.aspx" Level="Approved" Type="GhostableInLibrary
Property Name="PublishingPageLayout" Value="~SiteCollection/_catalogs/masterpage/WelcomeLinks.aspx, ~SiteCollection/_catalogs/masterpage/Contact.aspx
Property Name="ContentType" Value="$Resources:cmscore,contenttype_pagelayout_name;">
Leonid Lyublinski Wizard of MOSS
July 28th, 2011 3:04pm
Thank you i will try those suggestions
Free Windows Admin Tool Kit Click here and download it now
August 1st, 2011 12:05pm