Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • bh 444 posts 1544 karma points
    Mar 06, 2018 @ 14:36
    bh
    1

    None of my copy is rendering

    I deployed my Umbraco v 7.7.9 site from qa server to prod server. I replicated the SQL database from my qa sql server to my prod sql server. Everything but the copy is rendering/functioning properly. The images stored in Umbraco are rendering. But, none of the copy. Everything looks good in the CMS it's just not rendering on the website. I've verified the SQL connection string credentials are working. I'm at a loss what to check next.

  • Alex Skrypnyk 6150 posts 24110 karma points MVP 8x admin c-trib
    Mar 06, 2018 @ 14:41
    Alex Skrypnyk
    1

    Hi Bh

    Can you check Examine indexes, are they in place? Are they fresh? Can you have a look at Developer => Examine Management => Rebuild indexes

    And test Run health checks - maybe there is something

    /Alex

  • bh 444 posts 1544 karma points
    Mar 06, 2018 @ 14:49
    bh
    0

    I did the health check already. I rebuilt all 3 indexes. That did not resolve the issue.

  • Nik 1612 posts 7258 karma points MVP 7x c-trib
    Mar 06, 2018 @ 14:56
    Nik
    1

    Hi Bh,

    This might seem an obvious question, so apologies in advance. Have you checked the rendered HTML to check the text definitely isn't part of it? It could be something like a style sheet mixup causing the text to render invisible?

    You could also try republishing the entire site as this content that renders comes from the Umbraco Cache and that would refresh the cache.

    Thanks,

    Nik

  • bh 444 posts 1544 karma points
    Mar 06, 2018 @ 14:58
    bh
    0

    Thanks @Nik. Thank you for your suggestion! I did both of these already. I republished all pages and checked the HTML (the copy from Umbraco is not rendering), everything from the templates and the images are rendering.

  • bh 444 posts 1544 karma points
    Mar 06, 2018 @ 15:13
    bh
    0

    Thanks for the suggestions @Nik. I already tried republishing all of the content pages. I just tried again since rebuilding the indexes per Alex. That didn't do the trick. I also checked the rendered HTML (everything is rendering from Umbraco except my copy).

  • Alex Skrypnyk 6150 posts 24110 karma points MVP 8x admin c-trib
    Mar 06, 2018 @ 15:41
    Alex Skrypnyk
    0

    Hi Bh, how does it look?

    Can you show what is missing? How do you test the solution and are you sure that database and files are the same?

  • bh 444 posts 1544 karma points
    Mar 06, 2018 @ 15:48
    bh
    0

    Sure Alex. Probably the best way to show the differences is qa.bigbytn.com vs www.bigbytn.com

    The files were copied from my qa to my www web server. The database was backed-up/restored from my qa to www sql server. The only thing that's different from the www site and qa site are two things, 1-the connection string, 2-www is running https. Of note, the issue existed before I enabled https on www.

    I should have noticed this earlier. It seems only my homepage is affected.

  • Alex Skrypnyk 6150 posts 24110 karma points MVP 8x admin c-trib
    Mar 06, 2018 @ 16:05
    Alex Skrypnyk
    0

    Do you have some code that is related to current domain?

    Are you using domains settings in Umbraco?

  • Alex Skrypnyk 6150 posts 24110 karma points MVP 8x admin c-trib
    Mar 06, 2018 @ 16:02
    Alex Skrypnyk
    0

    Can you show the razor code that renders front page?

  • Nik 1612 posts 7258 karma points MVP 7x c-trib
    Mar 06, 2018 @ 16:03
    Nik
    1

    Have you noticed that some text appears to be rendering. "Introducing Franklin's Newest Place" appears to be coming through. Is that text from the CMS? I'm assuming it's not hard coded?

  • Alex Skrypnyk 6150 posts 24110 karma points MVP 8x admin c-trib
    Mar 06, 2018 @ 16:05
    Alex Skrypnyk
    0

    Good point, Nik

  • bh 444 posts 1544 karma points
    Mar 06, 2018 @ 16:09
    bh
    0

    @Nik I assumed the text you refrenced was accidently hardcoded, but in fact that is pulling thru from Umbraco CMS.

    Here's the template @Alex:

    @inherits Umbraco.Web.Mvc.UmbracoTemplatePage
    @{
        Layout = "Page.cshtml";
        var heroImage = Model.Content.GetPropertyValue<IPublishedContent>("homeHeaderBackgroundImage").Url;
        var ctaLeftImg = Model.Content.GetPropertyValue<IPublishedContent>("homeBlueCTAsLeftImage").Url;
        var ctaRightImg = Model.Content.GetPropertyValue<IPublishedContent>("homeBlueCTAsRightImage").Url;
        var locationImg = Model.Content.GetPropertyValue<IPublishedContent>("homeLocationTeaseImage").Url;
        var masterplanImg = Model.Content.GetPropertyValue<IPublishedContent>("homeMasterPlanTeaseLeftImage").Url;
        var contactImg = Model.Content.GetPropertyValue<IPublishedContent>("homeContactInfoImage").Url;
    }
    
    <div class="container-fluid">   
            <div class="row-fluid fullscreen" style="background:url(@heroImage) no-repeat center center;"><a name="home"></a> 
                <div class="intro text-center">
                    <div class="billboard white">
                        <h1>@Model.Content.GetPropertyValue("homeHeaderTitle")</h1>
                        <hr class="divider" />
                        <h2>@Model.Content.GetPropertyValue("homeHeaderSubtitle")</h2>
                        <div class="tagline">@Model.Content.GetPropertyValue("homeHeaderText")</div>
                    </div>
    
                    <div class="arrow bounce white">
                        <a class="fa fa-chevron-down fa-2x" href="#" onclick="scrollDown()"></a>
                    </div>
                </div>
            </div>  
            <div class="row-fluid text-center">
                <div class="col-xs-12 BGlightGreyTopo verticalPadding row2">
                    <div class="col-xs-offset-1 col-xs-10 col-sm-offset-2 col-sm-8">
                        <h2 class="text-uppercase grey bold">@Model.Content.GetPropertyValue("homeIntroTitle")</h2><br />
                        @Model.Content.GetPropertyValue("homeIntroCopy")
                    </div>
                </div>
            </div>
        </div>
    
        <div class="container-fluid">
            <div class="col-xs-12 container-sm-height noPadding minHeight">
                <div class="row-fluid row-sm-height">   
                    <div class="col-xs-12 col-sm-6 col-middle col-sm-height text-center blockPadding xsHeight" style="background:url(@ctaLeftImg) no-repeat center center;">
                        <span>
                        @Model.Content.GetPropertyValue("homeBlueCTAsLeftText")
                        </span>
                    </div>     
                    <div class="col-xs-12 col-sm-6 col-middle col-sm-height text-center blockPadding xsHeight" style="background:url(@ctaRightImg) no-repeat center center;">
                        <span>
                        @Model.Content.GetPropertyValue("homeBlueCTAsRightText")
                            <a href="https://www.facebook.com/BIGBYTN" class="socialLink noBorder" target="_blank"><i class="fa fa-facebook fa-3x grey" aria-hidden="true"></i></a>
                            <a href="https://twitter.com/BIGBYTN" class="socialLink noBorder" target="_blank"><i class="fa fa-twitter fa-3x grey" aria-hidden="true"></i></a>
                            <a href="https://www.instagram.com/BigbyTN/" class="socialLink noBorder" target="_blank"><i class="fa fa-instagram fa-3x grey" aria-hidden="true"></i></a>
                            <a href="https://www.linkedin.com/showcase/22326779/" class="socialLink noBorder" target="_blank"><i class="fa fa-linkedin fa-3x grey" aria-hidden="true"></i></a>
                        </span>
                    </div>
                </div>
            </div>
        </div>
    
        <div class="container-fluid minHeight" style="background:url(@locationImg) center center;">      
            <div class="row-fluid">
                <div class="col-xs-10 col-xs-offset-1 col-sm-8 col-sm-offset-2 text-center xsHeight">
                    <div class="verticalAlignMiddle">
                        <span>
                        @Model.Content.GetPropertyValue("homeLocationTeaseText")
                        </span>
                    </div>
                </div>
            </div>
        </div>
    
        <div class="container-fluid">
            <div class="col-xs-12 container-sm-height minHeight noPadding">
                <div class="row-fluid row-sm-height">   
                    <div class="col-xs-offset-0 col-xs-12 col-sm-offset-0 col-sm-6 col-middle col-sm-height text-center blockPadding xsHeight" style="background:url(@masterplanImg) no-repeat center top;">
                        &nbsp;
                    </div>     
                    <div class="col-xs-offset-0 col-xs-12 col-sm-offset-0 col-sm-6 col-middle col-sm-height BGlightGreyTopo text-center blockPadding xsHeight">
                        <span>
                            @Model.Content.GetPropertyValue("homeMasterPlanTeaseText")
                        </span>
                    </div>
                </div>
            </div>
        </div>
    
        <div class="container-fluid">        
            <div class="row-fluid"> 
                <div class="col-xs-12 minHeight xsHeight" style="background:url(@contactImg) no-repeat center top;">
                    <div class="col-xs-offset-1 col-xs-10 col-sm-offset-2 col-sm-8 text-center">  
                        <div class="verticalAlignMiddle">
                            <span>  
                            @Html.Raw(Model.Content.GetPropertyValue("homeContactInfoText").ToString().Replace("**PHONEICON**", "<i class='fa fa-phone orange' aria-hidden='true'></i>").Replace("**EMAILICON**", "<i class='fa fa-envelope orange' aria-hidden='true'></i>"))
                            </span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    
  • Nik 1612 posts 7258 karma points MVP 7x c-trib
    Mar 06, 2018 @ 16:12
    Nik
    1

    Hi Bh,

    If you open up the umbraco.config file in the app data folder, can you see all the text in there?

    If you aren't aware, that file is the Umbraco XML cache file so should contain all of your published content in XML format. It can be a bit horrible to navigate and find things in it but I'd have a look there next.

    Nik

  • bh 444 posts 1544 karma points
    Mar 06, 2018 @ 16:15
    bh
    0

    @Nik the copy is missing from umbraco.config

  • Nik 1612 posts 7258 karma points MVP 7x c-trib
    Mar 06, 2018 @ 16:29
    Nik
    0

    Ah, okay. So lets try deleting the umbraco.config file. Then touch the web.config to cause the website to restart (just add a space at the end and save it).

    This should cause the cache file to get regenerated when the website restarts.

  • Alex Skrypnyk 6150 posts 24110 karma points MVP 8x admin c-trib
    Mar 06, 2018 @ 16:17
    Alex Skrypnyk
    0

    Can you check that app_data folder has right permissions?

    Check install permissions - https://our.umbraco.org/documentation/getting-started/setup/install/permissions

  • bh 444 posts 1544 karma points
    Mar 06, 2018 @ 16:22
    bh
    0

    @Alex the App_Data folder and the umbraco.config file have requisite security.

  • bh 444 posts 1544 karma points
    Mar 06, 2018 @ 16:37
    bh
    2

    Resolved.

    Ok. I copied the umbraco.config file over from my qa to www. I then rebuilt my indexes. The copy still didn't show up on the site. After I published the home page it wiped out the copy from umbraco.config

    Then I realized the copy was missing from the CMS for the home page. So I duplicated it manually from qa to www and save/publish and that worked.

    I think the quirkiness may have stemmed from I had a pending change on my Home page when it was on qa. I didn't realize it until after I deployed it to www. So once it was on www, I save/publish and that's when things went sideways.

    Thanks @AlexSkrypnyk (again) and @Nik for your help troubleshooting this issue!

  • Alex Skrypnyk 6150 posts 24110 karma points MVP 8x admin c-trib
    Mar 06, 2018 @ 16:40
    Alex Skrypnyk
    0

    Wow, it wasn't easy to fix ) but it's not an issue at all ))

    HAve a great evening, Guys

Please Sign in or register to post replies

Write your reply to:

Draft