Copied to clipboard

Flag this post as spam?

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


  • Josh Reid 182 posts 258 karma points
    Jul 10, 2009 @ 00:41
    Josh Reid
    0

    upgrade 3.0.5 - 4.0.2.1 - plcIcons display

    I have upgraded a site to 4.0.2.1 without much issue and now found that within the /umbraco/umbraco.aspx page the tray icon image files etc have been changed, but unfortunately the markup is still the old list (with ea icon in ea link, rather than nada.gif and css styled via the images/tray/traySprites.png) resulting in broken images and no idea which button is which (except for previous knowledge and status bar on rollover). I have recopied all bin items and refreshed the cache to no avail.

    /umbraco/umbraco.aspx...
    <asp:Literal ID="plcIcons" runat="server"></asp:Literal>

    Anyone experienced this or know where i can refresh this piece of markup/literal functionality etc?

    <img src="file:///Users/JoshReid/Desktop/Picture%201.png" alt="" />

  • Peter Gregory 408 posts 1614 karma points MVP 3x admin c-trib
    Jul 10, 2009 @ 15:11
    Peter Gregory
    0

    When you upgraded did you make sure that you overwrote the files in the Umbraco and Umbraco_Client Directory?  You should not have this issue if these files were replaced properly. 

    Just to make sure you have covered all the bases you might want to check out this upgrade guide.

    http://farmcode.org/post/2009/02/05/Upgrading-to-Umbraco-4.aspx

    Peter

  • Josh Reid 182 posts 258 karma points
    Jul 29, 2009 @ 05:05
    Josh Reid
    0

    Thanks Pete, Yeah I replaced them via ftp and checked after the fact several times to makes sure files/folders etc are consistent with the 4.0.2.1 folders - i have read the guide and followed it pretty carefully...

    I find this is the output of the above mentioned literal (with linebreaks to help legibility), with bizzare class names on the links and images within them:

    <ul id="tray">

    <li><a class="ndhold.gif" title="Content" href="umbraco.aspx#content" onclick="javascript:shiftApp('content', 'Content'); return false;"><img src="images/tray/indhold.gif" class="trayIcon" alt="Content"></a></li>

    <li><a class="edia.gif" title="Media" href="umbraco.aspx#media" onclick="javascript:shiftApp('media', 'Media'); return false;"><img src="images/tray/media.gif" class="trayIcon" alt="Media"></a></li>

    <li><a class="rugere.gif" title="Users" href="umbraco.aspx#users" onclick="javascript:shiftApp('users', 'Users'); return false;"><img src="images/tray/brugere.gif" class="trayIcon" alt="Users"></a></li>

    <li><a class="ndstillinger.gif" title="Settings" href="umbraco.aspx#settings" onclick="javascript:shiftApp('settings', 'Settings'); return false;"><img src="images/tray/indstillinger.gif" class="trayIcon" alt="Settings"></a></li>

    <li><a class="eveloper.gif" title="Developer" href="umbraco.aspx#developer" onclick="javascript:shiftApp('developer', 'Developer'); return false;"><img src="images/tray/developer.gif" class="trayIcon" alt="Developer"></a></li>

    <li><a class="edlemmer.gif" title="Members" href="umbraco.aspx#member" onclick="javascript:shiftApp('member', 'Members'); return false;"><img src="images/tray/medlemmer.gif" class="trayIcon" alt="Members"></a></li>

    </ul>

    Something has to be up with this, i mean possibly beyond the umbraco and umbraco_client folders...???

    Any thoughts?

  • Josh Reid 182 posts 258 karma points
    Jul 29, 2009 @ 07:17
    Josh Reid
    0

    WOOHOO!!!

    I have solved it... In case anyone ever finds this happening to them...

    In the UmbracoApp table the cell 'appIcon' has not been revised in the upgrade (possible error in db upgrade script?).
    I have compared to a fresh 4.0.2.1 install and corrected the data in these cells.

    Stoked ;)

  • Thomas Höhler 1237 posts 1709 karma points MVP
    Jul 29, 2009 @ 09:37
    Thomas Höhler
    100

    A wile ago I blogged about a similiar problem...

    Thomas

  • Josh Reid 182 posts 258 karma points
    Jul 29, 2009 @ 12:16
    Josh Reid
    0

    Wow and here i thought i was going nuts...

    Its a bugger Google didn't turn it up your post, would have been such a quick fix - Thanks for the link Thomas!

    Anyone with this issue see the thoehler blog post!

  • Douglas Robar 3570 posts 4711 karma points MVP ∞ admin c-trib
    Jul 29, 2009 @ 12:42
    Douglas Robar
    1

    I've found that if I set the umbracoConfigurationStatus setting in the web.config file to an empty string before I do the upgrade that the appropriate database changes are made automatically when the installer runs... then I don't need to update the database manually.

    <add key="umbracoConfigurationStatus" value="" />

    If that doesn't work for some reason, though, Thomas' post is just what you need to resolve it manually.

    cheers,
    doug.

Please Sign in or register to post replies

Write your reply to:

Draft