sharepoint 2013 custom error page - sharepoint

for one Sharepoint 2013 site, I successfully managed to create a custom 404 error page by setting the site parameter vti_filenotfoundpage to the desired URL.
However, this does not work for another sharepoint 2013 site and I have no clue why.
Setting the same parameter shows now effect.
Also setting another parameter SPSite.FileNotFoundUrl doesnt do it.
Apparently I am not able to add the 'error page' to the content type: For the parent content type "Publishing Content Types" or "Page Layout Content Types" I can only select other options.
How can I map the error page (which is non-existent at the moment) to a custom page? Thanks!
edit:
I assume to have a 15 Hive site (as the site settings URL contains .../_layout/15/...)
I created various files but none of them works (CustomError.aspx, PageNotFoundError.aspx as well as in Site Pages as in the site root directory).
I have site owner and designer rights (but no admin/collection).
And I am working on a sub site (have only rights to this sub site).

Plase see https://sharepoint.stackexchange.com/questions/154480/how-to-create-custom-error-page-in-sharepoint-2013 - it is original answer and you can find other solutions here.
As mentioned in linked topic: "Using SharePoint Designer 2013 (set vti_filenotfoundpage property) – With the new Site Options in SharePoint Designer 2013, you can assign the vti_filenotfoundpage property of the site to a Custom Error Page that you might have deployed in the 15 Hive. ", - that means you can only use error page from current site's 15 Hive, not from other site.

not possible for sub sites, only via main site

Related

SharePoint 2013 Page Layout Error

I'm really finding it difficult to set up a new theme for my SharePoint 2013 site.
I have uploaded all other files to the design gallery. But when I uploaded the page layouts, and I try to change the Content Type to Page Layout, I get the error below:
Sorry, something went wrong List does not exist.
The page you selected contains a list that does not exist. It may have been deleted by another user.
Technical Details
Correlation ID: ce2b429d-0147-d0c2-bc23-32b039f7d8a6
Please what can I do to resolve this?
Thanks.
I got it working by disabling the publishing feature under > site settings > Site Collections Feature > SharePoint Server Standard Site Collection features
Deactivate
Reactivate
Rebooted the server (probably could have done an IISReset but
overkill!)
Now I can add layout pages under master pages gallery.
In the browser, go to your site, and on the Site Actions menu, click
View All Site Content, and then click the Pages document library.
Or you can browse directly to
http://your_site/pages/forms/allitems.aspx, where your_site is the URL
for your site, such as fabrikamweb/finance for the
http://fabrikamweb/finance subsite.
The Pages document library is created automatically by the publishing
feature and contains all of the pages in a site that are created from
page layouts. You can look in the Page Layout column to see which page
layout was used for a specific page and then click the link to view
that page in the browser.
https://support.office.com/en-us/article/Customize-a-publishing-page-layout-c10bda25-0145-44c6-ba14-7757176fb47f

Sharepoint 2010 web parts not displaying on one website, but are on the other

I'm working on remolding my companies current exsisting Sharepoint site. I installed the SP ZAP Slideshow webpart and went to the sharepoint site to insert it, and absolutely no webparts were listed. I went into the provided Sharepoint 2010 central administration and realized that everything seems to be listed as
//usmvwc0wtf1srv.ww005.work.net/sitepages/
When the website were hosting, and it should be listing is
//usmvwc0wtf1srv.ww005.work.net/sites/
I went to the /sitepages website and all the webparts exsisted and worked, however i need to get them working on the /sites page. Is there some way to switch it so it will not default all the webparts and content i'm uploading to the wrong page? I feel as though the wrong default page is listed? sorry new to all this!
Web Parts, which you see listed and are able to insert on a page when you edit it, come from the Web Part Gallery in the site collection. They are usually installed to the gallery when you activate their site collection-scope feature. Check what features you didn't activate in the new site collection - I suspect that one of them is responsible for the installation of Web Parts you are looking for. (The scope of the feature can be site collection or site - check both.)

File not found error in SharePoint 2010 while using a site template

I'm using SharePoint 2010. I saved a Site Template(.stp) and used this template to create a sub site. Browser shows file not found error, however, if I add /_layouts/ChageSiteMasterPage.aspx to that URL, I'm able to see settings Page.
Error:
cannot create folder "Path".
Correlation ID: 4baa2636-0dd9-4965-afc1-e438d74a20d5
What could be the problem??
Search for that correlation ID in your SharePoint log. Probably the problem is because you need to activate a feature in the new site, or you have a custom solution that you need to deploy there.
Go to Site Setting and open the Master Pages section. Look for anything checked out and chack it back in. This happens each time you create a new site from a template.

Sharepoint 2007 - How can i access default.aspx (portal homepage)?

Ive been having a problem with a webpart in a sharepoint (moss 2007) site.
Basically I cannot remove the webpart, every which way results in an error and we cant get rid of the darn thing.
Unfortunately SharePoint designer errors out as wel when I try to remove the webpart manually from Default.aspx (its only on the homepage).
Is there anyway without SharePoint designer I can gain access to the Default.aspx file so I can manually remove the webpart?
Someone mentioned default.aspx doesnt actually exist and is generated at runtime? Is this true and if so does anyone know where in the moss database I could gain acces to the table(s) that build up the default.aspx or where the webpart refs are stored for manual removal?
Thanks all!
you can try adding ?contents=1 at the end of your URL page. for example:
http://myserver/Pages/default.aspx?contents=1
this will bring you to a "Web Part Page Maintenance" page where you can checkout the page itself and remove/disable web parts.

SharePoint error relating to page layout after creating site from template

Inside SharePoint I've previously created a site template by appending _layouts/savetmpl.aspx to the end of my site and new sites have been created correctly and work as expected.
I've now come to do the same thing again and yet this time the new site is throwing an error relating to the page layout.
The error is:
This page is not using a valid page layout. To correct the problem, edit page settings and select a valid page layout.
When I try to select a different one, there is only the one to select. This page layout is in use on other sites and they render fine.
Has anyone else seen this issue?
All the best
First, if you append the _layouts/savetmpl.aspx tho the url, i suppose you dont have it in the Site Settings options, so you are using a Publishing site. This is because Microsoft doesn´t support this option (save as template in publishing sites). And they dont support it because it has some bugs, for sure.
So, I would recommend not using this option in important sites, or if you plan to ask support to Microsoft in the future.
However that error indicates that the page layout or his associated content type (ou parent content types) are not correctly installed in the site collection. Are you using your own (custom) content types? Please confirm if the ID of the associated content type (something like 0x0100C6739B7D12DE419aA2F9A2F96CC26818) is exactly the same in the Page Layout on working sites and in the not working sites.
Hope it helps
Do the sites/site collection where the templates working have all the same features enabled as teh sites/site collection where the template isn't working?
Can you check the server logs? <12 hive>\LOGS
Did you add a custom page layout, use it, and then forget to check that "save content" checkbox when you saved your template?

Resources