Forums

3.2 upgrade and 2010 child - menus and widgets (37 posts)

  1. dragonsjaw
    Member
    Posted 10 months ago #

    I upgraded my dev site to 3.2
    I am using a child of twentyten with customization, menus, sidebars and widgets.
    At first it seemed to display correctly.
    I switched to 2011 to see what that theme was like, played around a bit. And went back to my custom child of 2010.

    At that point I lost the display of the sidebar and footer widgets.
    So....
    Some issues I found that others may find helpful to know in advance:

    After the upgrade, the sidebar & footer widgets holding custom menus weren't displaying. The menus were still there and I had to add the correct custom menu back to the proper sidebar widget. As I had several for many different page templates, this was a bit disconcerting.
    I also had notes on what went with what, so no big deal.
    But just a heads up to others who may run into the same thing.

    On my other sites I haven't upgraded yet, but will take even more detailed notes on this.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 10 months ago #

    A core upgrade would not touch your child theme. Are you sure you were actually using the child theme? Had you previously modified Twenty Ten?

  3. dragonsjaw
    Member
    Posted 10 months ago #

    Yes I was using the child theme. I didn't change anything in the parent TwentyTen. I thought it weird as well.

    I will pay even more attention to the upgrade on the live version of the dev site.. all the same files and layout. But I am gonna wait on that for a few days at least.

    I know it shouldn't change anything that was why I mentioned it.
    And it was after switching to 2011 and back to the child theme 2010 that it occurred.

  4. dragonsjaw
    Member
    Posted 10 months ago #

    OK, I just did a test.
    Logged back into the dev site running with the custom child 2010 theme.. all is good with sidebars/menus/widgets.
    I switched to the 2011 theme .. know that it wasn't going to show the custom page templates ect that the child theme had.
    Looked around in menus and the menus were there, the main one applied.

    Went back to the custom child of 2010, and all the sidebar and footer widgets need to have the custom menus reset again!
    Too weird.

    This is too odd. I guess I will have to wait to play with 2011. As I can't keep switching back and forth and redoing the menus for the dev site.

  5. esmi
    Theme Diva & Forum Moderator
    Posted 10 months ago #

    Can you replicate this on any other site? Preferably on another server?

  6. dragonsjaw
    Member
    Posted 10 months ago #

    Curious about why another server? My hosts are very up to date, and I double checked the server this morning.
    I might be able to do this.

  7. dragonsjaw
    Member
    Posted 10 months ago #

    PHP version 5.2.10
    MySQL version 5.0.92-community

  8. esmi
    Theme Diva & Forum Moderator
    Posted 10 months ago #

    I'm trying to establish if this is an issue with a specific server config. It's nothing to do with how up-to-date the server is but more about how it's been put together in terms of software etc. If it's an issue that is only happening on one server/one host, it's more likely to be a screwy server config. If this happens on more than 1 host but with similar server configs, we've got more chance of pushing through a bug fix.

    So, at this point, it's all about collating details to try and find a commonality as, and when, these problems are reported.

  9. esmi
    Theme Diva & Forum Moderator
    Posted 10 months ago #

    Do you happen to know if it's a Linux or Windows server? What web server software is it using (Apache? etc)? FTP software? Any and all details can be useful.

  10. dragonsjaw
    Member
    Posted 10 months ago #

    I'll run a question by my wonderful hosts.. who also use WordPress.

    I will try and use another server, but will need to upload a fresh install of WP and from here that takes 4 hours of compute time that I don't have to spare right now. I was thinking of using the Softaculous one click install on another server to get it up, but have never done those so it's like adding another unknown into the mix.

  11. esmi
    Theme Diva & Forum Moderator
    Posted 10 months ago #

    I'll run a question by my wonderful hosts.. who also use WordPress.

    Please do. I'm sure they're just as keen to track down the root cause of this problem. I have to day that, thus far, yours is the only report of this particular issue that I've seen. But if it can be replicated on another server - even one owned by the same hosts - we might be able to start narrowing down the causes with a view to putting a bug report through on Trac.

    I was thinking of using the Softaculous one click install on another server

    Oh - if you possibly avoid this, please do. Even the best 1-click installs are prone to causing errors and it introduces another variable that we could do without right now.

  12. dragonsjaw
    Member
    Posted 10 months ago #

    Ok, will ask, and will have to wait to see when I can upload WP that doesn't cut into my compute time.
    Of course I would be the only one with this issue ! LoL

  13. dragonsjaw
    Member
    Posted 10 months ago #

    Oh I missed that one question: Here are my server info:

    cPanel Version 11.28.87
    Theme x3
    Apache version 2.0.63
    PHP version 5.2.10
    MySQL version 5.0.92-community
    Architecture i686
    Operating system linux
    Shared IP Address 63.247.140.109
    Path to sendmail /usr/sbin/sendmail
    Path to Perl /usr/bin/perl
    Perl version 5.8.8
    Kernel version 2.6.18-194.32.1.el5PAE
    cPanel Pro 1.0 (RC1)

  14. esmi
    Theme Diva & Forum Moderator
    Posted 10 months ago #

    Thanks - made a note of it and added this topic to my list of favorites. Now to find a similar report.

    That server config looks very similar to a site that I only set up the other day. Not done much with it yet, so I'll try and see if I can replicate your problem. Any chance you could email a zipped copy of your child theme to esmi at quirm dot net? I'd like to test using your child theme and a bog-standard (only a style.css file) child theme.

  15. dragonsjaw
    Member
    Posted 10 months ago #

    I just decided to try activating the TwentyTen theme and seeing if the same thing happend. Nope. Went back to child theme and all was good.

  16. dragonsjaw
    Member
    Posted 10 months ago #

    sent you an email.

  17. dragonsjaw
    Member
    Posted 10 months ago #

    My hosts are going to run it on a test domain to see if they can replicate it. Should know something in the morning. I sent them this tread link.

  18. Deborah
    Member
    Posted 10 months ago #

    Hi, I'm having the same problem as dragonsjaw described. I also use a child theme of Twenty Ten, things look normal after upgrading to 3.2. Then I switched to Twenty Eleven, and switched back to my child theme of Twenty Ten, then all the widgets were gone.

    My host is a Linux server. Running Apache 2.2 + PHP 5.3.6 + MySQL 5.5.11.

  19. esmi
    Theme Diva & Forum Moderator
    Posted 10 months ago #

    Just run a quick test. Activated your child theme, added a custom menu & a footer widget. Checked that the new theme displayed correctly. Switched to Twenty Eleven and then switched back to the custom child. The child them still displayed correctly. The custom menu & footer widget were retained.

    OS: Linux
    cPanel Version 11.30.0
    Theme x3
    Apache version 2.2.17
    PHP version 5.2.17
    MySQL version 5.0.92-community

  20. Deborah
    Member
    Posted 10 months ago #

    Hi esmi,

    "Activated your child theme, added a custom menu & a footer widget."
    Did you try this on WP 3.2 or WP 3.1? Maybe this problem only happens when we arranged widgets on WP 3.1 first, then upgrade to WP 3.2 --> activate theme Twenty Eleven --> switch back to child theme of Twenty Ten.

    This is my guess, since I don't have WP 3.1 to test this theory anymore.

  21. esmi
    Theme Diva & Forum Moderator
    Posted 10 months ago #

    3.2. It's not a 3.1x issue otherwise we'd have seen reports of this before. This is the first I've ever seen.

  22. dragonsjaw
    Member
    Posted 10 months ago #

    Well fo rmy theme the custom menus/widgets are all in custom sidebar templates on custom template pages.. perhaps that is where the problem is?

    I will go test it out again later today. Makes me wonder what's up though if you had it working ok on your end. Perhaps there is something slightly wrong with this upgrade?
    thanks Esmi

  23. esmi
    Theme Diva & Forum Moderator
    Posted 10 months ago #

    You could try repairing your database. If the menu & widget settings are being lost, it does suggest that the problem is more database-related than code specific.

  24. dragonsjaw
    Member
    Posted 10 months ago #

    Well today I went and switched my child theme with several other themes that I had installed. They were older themes used for past projects, I tried all of them, and the child theme always came back with the sidebars and menus intact.
    So I tried twentyeleven again .. then went back to the child and this time all the sidebars and menus and widgets were there.
    Go figure.

    Good to know that this may have been a database problem, not a child coding problem. Thanks for you help with this Esmi.

  25. esmi
    Theme Diva & Forum Moderator
    Posted 10 months ago #

    No problem :-)

  26. webmystery
    Member
    Posted 10 months ago #

    I have found that my widgets always need to be reset after switching themes when the widget areas in the new theme have different names. I see that instead of "Primary" and "Secondary", etc.. Twentyeleven is using "Main" and "Showcase" widget areas. More confusing, I set up a child theme for 2011 that only has a style.css that imports the twentyeleven style.css. It has different widget areas (Primary and Secondary) than the parent theme (Main and Showcase). I thought these had to be overwritten in a functions.php file. I only just started using twenty eleven and will obviously have to spend some more time getting to know it before I use it as a base for a child theme.

  27. webmystery
    Member
    Posted 10 months ago #

    Nevermind - user error - wish I could delete or edit my posts on this forum!

  28. dragonsjaw
    Member
    Posted 10 months ago #

    Update:
    Checked original child twentyten was displaying properly.
    Activated twentyeleven.. looked around some more.. didn't change anything, just looked.
    Went back to child theme and NO custom side bars with custom menu widgets displayed.
    Back to square one on this issue.

    I was going to make sure all was good here still and do the 3.2.1 upgrade ..but will hold off on that as well.

    I haven't upgraded any of my live sites to 3.2 yet.. but I believe this issue is rooted in twentyeleven theme not the 3.2 core.

    I guess in order to work at all with twentyeleven I will need to set up a separate install just for it, if just activating fouls my other child theme.

    :(

  29. esmi
    Theme Diva & Forum Moderator
    Posted 10 months ago #

    Does this only occur with 2010 child theme? I've been playing around with Twenty Eleven and a few other themes today (re-doing eShop's CSS) and didn't notice any issues when I swapped back & forth

  30. dragonsjaw
    Member
    Posted 10 months ago #

    Well it's the only child theme I have on this install.
    I just upgraded to 3.2.1 and upgraded twentyeleven as well.
    Did another check and the same thing.

    The only other child theme I have on another install is also a child of twentyten. So I have nothing to try.

Reply »

You must log in to post.

About this Topic