Custom Wordpress Widgets Disappearing

We recently launched a newly created Wordpress site http://www.zestra.com hosted on Amazon Web Services. Twice we lost the custom widgets when we transferred the files from the WP development firms server to AWS hosted environment and a 2nd time when we migrated the site into Production. Has anyone had any issues llike this.

We have a couple of web servers hosted at AWS managed through a load balancer. We also installed a Cache plugin to propagate the changes as they are published from the primary WP server. We think there might be a bug with the Cache.

Anyone have any thoughts or comments

Thanks,
Jeff

  • Philip John
    • DEV MAN’s Apprentice

    Hiya Jeff,

    When you say the sites were moved, how exacltly? Was everything (files and database) copied over exactly?

    Also, please clarify in what way the widgets no longer worked. Were the settings removed, or were the widgets themselves removed from the sidebars or entirely unavailable?

    Let me know as I'm not sure exactly where the issue might be occuring without that info...

    Thanks,
    Phil

  • semprae1
    • Flash Drive

    Hi Phil,

    We completed our testing of test.zestra.com (a single primary Amazon EC2 server instance) we then moved everything to Production settings for http://www.zestra.com. These were some of the formal steps for the Wordpress Production move;

    - Replaced the website URL references from test.zestra.com to http://www.zestra.com
    - Replaced in Wordpress DB instance all references to external URLs from dev.zestra.com to shop.zestra.com
    - Next we cloned our Primary WP (EC2) instance to create two production instances (EC2) that are managed through an Amazon elastic load balancer.
    -- We then enabled the 'W3 Total Cache' so anytime we publish WP changes they will propagate the web content to an Amazon S3 [CDN]. The 2 EC2 web instances will serve the web content from S3.

    At some point during these transitions the result was all custom WP widgets could no longer be seen in WP (Appearence>> Widgets>> 'Primary widget area').

    Does this help?
    Jeff

  • Philip John
    • DEV MAN’s Apprentice

    Hi,

    Yep, that helps - thanks!

    Okay, so it's custom widgets that have disappeared?

    Are the define in the theme's functions.php? If so, is the that functions.php present and does it have the correct permissions?

    Or are the widgets defined in custom plugins? If so, are the plugin files present and with the right permissions?

    Phil

  • Philip John
    • DEV MAN’s Apprentice

    Hmm okay, how about if you disable all plugins and revert to the default theme? It's either a conflict or...

    The core files relating to widgets aren't uploaded or don't have appropriate permissions or...

    The widget settings are missing from the database.

    Phil

  • Philip John
    • DEV MAN’s Apprentice

    Hiya,

    As we haven't heard back from you we're going to assume the problem was sorted out and mark this thread as resolved.

    If it wasn't resolved, or you have any more questions related to this thread please feel free to post them below and tick the 'Mark as Not Resolved (re-open)' box below the post area (or else we'll miss it!)

    Otherwise, thanks for using the forums, and, as always, for being a member of WPMU DEV, it's a pleasure to help you out and we look forward to being of assistance in the future.

    Cheers,
    Phil

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.