Site Settings - Change the look is blank

Lina Arras 0 Reputation points
2023-10-05T12:07:45.5366667+00:00

I'm working with two different sites, one where the composed looks are displayed and the change the look function works as it should. On the other site the https://TENANT.sharepoint.com/sites/SITENAME/_layouts/15/designgallery.aspx page is blank, or rather the div #DeltaPlaceHolderMain appears empty.

The consol displays the following error:

Failed to load resource: net::ERR_FAILED

I get the following from https://config.fp.measure.office.com/conf/v2/o365se/fpconfig.min.json?monitorId=O365se

{"s":1000,"n":3,"e":[{"e":"*.fp.measure.office.com","w":1000000,"m":128},{"e":"graph-next.fp.measure.office.com","w":4,"m":128},{"e":"outlook.office.com","w":20,"m":128},{"e":"outlook.office365.com","w":20,"m":128},{"e":"ow1.res.office365.com","w":20,"m":1},{"e":"pp1.prd.attend.teams.microsoft.com","w":1,"m":128},{"e":"pp1.prd.bmc.teams.microsoft.com","w":1,"m":128},{"e":"tr-ofc-afdwac.office.com","w":10,"m":128},{"e":"tr-ofc-atm.office.com","w":10,"m":128},{"e":"tr-ofc-fs.office.com","w":10,"m":128},{"e":"tr-ofc-mira.office.com","w":10,"m":128},{"e":"tr-ooc-acdc.office.com","w":20,"m":128},{"e":"tr-ooc-acdcatm.office.com","w":12,"m":128},{"e":"tr-ooc-atm.office.com","w":20,"m":128},{"e":"tr-ooc-fs.office.com","w":4,"m":128},{"e":"tr-ooc-geo.office.com","w":4,"m":128}],"r":["upload.fp.measure.office.com/r.gif","upload.fp.measure.office.com/r.gif","upload2.fp.measure.office.com/r.gif"]}

I've tried to compare the two pages to see where the problem in the code is, but can't for the life of me figure out why it doesn't work.

I have added the composed look in the web designer gallery https://TENANT.sharepoint.com/sites/SITENAME/_catalogs/design/AllItems.aspx and the spfont and spcolor files here _catalogs/theme/Forms/Themes%20ID.aspx.

How do I go about finding the error?

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,679 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,674 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. RaytheonXie_MSFT 31,526 Reputation points Microsoft Vendor
    2023-10-06T05:46:07.9866667+00:00

    Hi @Lina Arras,

    This might caused by the site doesn't allow the type of file. Run following cmdlet to check the content type allowed on your site

    Get-SPOTenant | Select PublicCdnAllowedFileTypes
    

    Update allowed content type by using following scripts

    Set-SPOTenant -PublicCdnAllowedFileTypes "CSS,EOT,GIF,ICO,JPEG,JPG,JS,MAP,PNG,SVG,TTF,WOFF,WOFF2"
    

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Lina Arras 0 Reputation points
    2024-04-23T16:15:06.65+00:00

    Hi @RaytheonXie_MSFT

    Thank you. How would I go about fixing the JavaScript error related to the function WebForm_OnSubmit?

    0 comments No comments

  3. Lina Arras 0 Reputation points
    2024-04-23T16:46:55.7533333+00:00

    I managed to fix it!

    0 comments No comments