new blog templates update error on upgrade to version 2.6

On upgrade this morning to version 2.6, the theme previews are broken. I am using the setting "As a showcase inside a page [Our Themes]," but the previews are also broken with the other settings (I checked). The broken aspect is the screenshots on the previewer page. The template screenshots are missing.

I tried the "repair database" setting on the Blog Templates settings page with no luck.

I will upload a screenshot of the previewer page.

Thanks.

  • eblogger

    update:

    i created a new blog template. the screenshot also does not appear in the previewer for the new one.

    however, the screenshots DO appear in the admin settings section. i have confirmed the image files are in the defined location. so its an issue with how the previewer is calling the image files. looking at the code, it looks like they images are called by data id keys. could it be that in the update, these are off? below is the relevant code from the previewer page (with redacted URLs). the last template. "bloggy4," is the one i created today, after the update. the prior ones were created pre-update. thanks.

    <div id="blog_template-selection">
    <h3>Select a template</h3>
    <p>Just a username, please.</p>
    <style>
    #nbt-toolbar {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 25px;
    border-top: 1px solid #333333;
    text-align: center;
    padding-top:25px;
    }

    #nbt-toolbar a {
    text-transform: uppercase;
    display: inline-block;
    background: #8B8B8B;
    color: #FFFFFF;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    margin: 0 5px 5px 0;
    padding: 0 0.5em;
    text-decoration: none;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    font-size:1.1em;
    line-height:1.5;
    }

    #nbt-toolbar a:hover {
    opacity:1 !important;
    }

    #toolbar-loader {
    text-align:center;
    padding: 50px 0;
    max-width:100%;
    width:50px;
    margin:0 auto;
    }
    </style>
    <div id="nbt-toolbar" data-toolbar-type="page_showcase">
    ALL
    awesome category
    Test 1 category
    <div style="clear:both"></div>
    </div>

    <div class="blog_template-option">

    <div class="template-signup-item theme-page-showcase-wrap blog_template-default_item" data-tkey="1" id="theme-page-showcase-wrap-1">


    <img src="http://***testurl***/wp-content/themes/Adament/screenshot.png">

    <div class="theme-page-showcase-overlay">
    <div class="template-name">Standard eBlog.com</div>
    <button class="view-demo-button" data-blog-url="http://***testurl***/b111">View demo</button>

    <button class="select-theme-button" data-signup-url="http://***testurl***/wp-signup.php?blog_template=1">Select this theme</button>
    </div>

    </div>
    <div class="template-signup-item theme-page-showcase-wrap " data-tkey="2" id="theme-page-showcase-wrap-2">


    <img src="http://***testurl***/wp-content/themes/Adament/screenshot.png">

    <div class="theme-page-showcase-overlay">
    <div class="template-name">Awesome eblog.com</div>
    <button class="view-demo-button" data-blog-url="http://***testurl***/b222">View demo</button>

    <button class="select-theme-button" data-signup-url="http://***testurl***/wp-signup.php?blog_template=2">Select this theme</button>
    </div>

    </div>
    <div class="template-signup-item theme-page-showcase-wrap " data-tkey="3" id="theme-page-showcase-wrap-3">


    <img src="http://***testurl***/wp-content/themes/Adament/screenshot.png">

    <div class="theme-page-showcase-overlay">
    <div class="template-name">2014</div>
    <button class="view-demo-button" data-blog-url="http://***testurl***/2014test1">View demo</button>

    <button class="select-theme-button" data-signup-url="http://***testurl***/wp-signup.php?blog_template=3">Select this theme</button>
    </div>

    </div>
    <div class="template-signup-item theme-page-showcase-wrap " data-tkey="4" id="theme-page-showcase-wrap-4">


    <img src="http://***testurl***/wp-content/themes/Adament/screenshot.png">

    <div class="theme-page-showcase-overlay">
    <div class="template-name">Nice</div>
    <button class="view-demo-button" data-blog-url="http://***testurl***/bloggy3">View demo</button>

    <button class="select-theme-button" data-signup-url="http://***testurl***/wp-signup.php?blog_template=4">Select this theme</button>
    </div>

    </div>
    <div class="template-signup-item theme-page-showcase-wrap " data-tkey="5" id="theme-page-showcase-wrap-5">


    <img src="http://***testurl***/wp-content/themes/Adament/screenshot.png">

    <div class="theme-page-showcase-overlay">
    <div class="template-name">updatetest</div>
    <button class="view-demo-button" data-blog-url="http://***testurl***/bloggy4">View demo</button>

    <button class="select-theme-button" data-signup-url="http://***testurl***/wp-signup.php?blog_template=5">Select this theme</button>
    </div>

    </div>
    <div style="clear:both;"></div>
    </div>
    </div>

  • eblogger

    and now i see the problem. this page is pointing to <img src="http://***testurl***/wp-content/themes/Adament/screenshot.png"> for all 5 blog templates. however, this is incorrect. none of the templates are based on the adamant theme. the adamant theme is the current theme for the main site. the images are auto created when the blog templates are created. since i never created a template using adamant, there is no .png for it, so they are coming up blank. the question is: why did the NBT update change all the image URLs to adamant/screenshot.png. even on the new one i created today, which was not based on the adamant theme, it assigns adamant/screenshot.png. (the current main site theme).

    however, in the admin settings section, the correct screenshots are showing. see screenshot below. thanks.

  • Alexander

    Hey @eblogger,

    Would you mind allowing me to login to take a look? You can contact me privately with login information. Please send FTP access, so I can see the files as needed.

    https://premium.wpmudev.org/contact/
    - Choose "I have a different question"
    - Include my name in the subject "Alexander Rohmann"
    - Include a link back to this thread
    - Include any relevant login information (FTP + WordPress admin)

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.