Office 365 - Save Conflict error when upload Publishing page - sharepoint

I have some Publishing pages aspx. When I tried to upload file to Site Contents - Pages, I got error page popup like that:
"Sorry, something went wrong
Save Conflict
Your changes conflict with those made concurrently by another user. If you want your changes to be applied, click Back in your Web browser, refresh the page, and resubmit your changes."
In my aspx file have Content Editor Web Part. If I delete all html in in node or If i don't delete html I have to set src="" and href="", I can upload aspx file successfully.
Then if my html with src="path" and href="path" I always got Save Conflict error.
What do I need to do ?

Related

How do I access the any file in my Chrome extension code as a url

I want to show the contents of the frame.html file in my extension folder in an iframe on the standalone page where I'm running the extension. But it is looking for this frame.html file in the source of the site and cannot find it so I'm getting a 404 not found error. Regardless of the relevant page, how can I access the frame.html file embedded in the extension file?
Let me show you in the picture what i want;
What I want
On the left is an ordinary web page on which the extension will be activated. Red area is my iframe that activated on the web site due to my extension. This area contents is in the frame.html at extension folder.
when I use <iframe src="extension_src/html/frame.html"></iframe>
I get a "www.......com/extension_src/html/frame.html" not found error
You can point the src to your local file using the template shown below.
<iframe src="chrome-extension://{{id-of-your-extension}}/path-to-file/frame.html"></iframe>
You extension id will be constant when published to the chrome store. When developing locally you can find the extension id by going to the chrome://extensions

chrome extension css on localhost

I'm working on a chrome extension. The content has a stylesheet content.css. When I run the extension on an external site, it applies the style sheet. When I open a page on my "hello world" page on localhost, it applies the content.css styles initially but the styles go away if I refresh the page and I cannot get them back unless I refresh the extenstion.
Can't figure out why this is but I need to get this resolved.
Thanks,
Ken

Default to index page when navigating to a Document Library in SharePoint 2010

I have a public internet site created in SharePoint 2010. I have uploaded an index.html web page to a Document Library, which I will call "abc." Here is what I want to happen:
www.website.com/abc >> should automatically direct to index.html in that library.
Instead, when I go to that URL, I am asked to log in. My usual login information that I use to edit the site, however, has no effect, and I am eventually just taken to blank white page.
If I type the full URL, www.website.com/abc/index.html, it goes to the correct page, so I know it has been published.
The index.html page is the only item in the document library.
The web address listed in the Document Library settings is http://www.website.com/abc/Forms/AllItems.aspx. I think this is what I need to change to get it to default to index.html. Anyone know how to do this?
Thanks.
Sharepoint document libraries can only have default views for their default pages. Can you create a view to make your changes there, or edit the default view?
If not, you could always edit the default view in Sharepoint Designer and put a redirect to your page, but that's kind of hackish.

Restore SharePoint publishing homepage to Pages/default.aspx

I have a Publishing site and the last SharePoint administrator copied /Pages/default.aspx to /default.aspx and set it as the homepage, so now I have two independent copies of the same page to maintain.
I want to delete the /default.aspx and reset the HomePage to /Pages/default.aspx. I can set the "Welcome" page back to /Pages/default.aspx through the settings page, but the /default.aspx page still shows as the homepage in SharePoint Designer. When I try to rename or delete it warns me that I'm deleting the homepage and x numbers of links point to it.
Any suggestions on how to effectively do this?
Should I set the welcome page and change the /default.aspx to a redirect page or just delete it?

Browsing a SharePoint publishing page returns a 404 error message

I've changed the master page on a publish site collection. When I browsed back to the start site to check the new master page the browser just returned a 404 error, telling me that the page could not be found.
But when I open the site collection with the SharePoint Designer every thing seems to be ok and in its place. All pages are as expected in the page library. Within the Designer I could even open the pages for editing.
So does anyone has an idea why the browser cannot find and open the pages?
UPDTAE
To clarify my problem I should say, that also switching back to the default master page doesn't bring back the site. I still get a 404 response. So the problem shouldn't be directly related to my custom master page.
Approve the Master Page ?

Resources