• Emilie

    (@emiliervgmailcom)


    Hello, I’m at a loss here. I am working on the Reaction theme for a client. I used a temporary URL for my links until we launched the site. This morning, when the company providing the domain name redirected to the URL I had some broken links. I fixed them using what I usually do in the database but I still had a few broken ones. I read about Velvet Blues Update URLs and Search and Replace plugins so I used these to replace more links and all my site is fine but for one thing. Everything that was located in OptionTree is gone (and it even reverted to the previous Reaction theme logo). I’ve looked in all the places that seemed to make sense and couldn’t find any of my info. The home page is pretty much blank right now and I don’t know what to do. Any ideas on what I could check or what might have gone wrong? Where can I normally find my OptionTree options? Do I have to redo everything?

    http://wordpress.org/extend/plugins/option-tree/

Viewing 7 replies - 1 through 7 (of 7 total)
  • I had the exact same issue. It’s plagued me the last 3 websites I’ve done. I don’t know how to resolve it either.

    Thread Starter Emilie

    (@emiliervgmailcom)

    Scott, I ended up resolving it but neglected to post it because I felt kind of stupid. All the time I was looking in the database and such. I don’t remember what I did exactly. I installed the OptionTree plugin and I remember going in my themes options and then all I had to do was change the links in there. Hope that solves it for you!

    I discovered what’s happening.

    Since the data is serialized a simple find/replace within the database is obviously out of the question. Therefore it’s better to use tools like: Search and Replace or Peach.

    However, these tools for whatever do not adequately update the serialized values for OptionTree. The data itself is updated but the serialized values stay the same.

    A lame workaround is to copy the OptionsTree data to your clipboard (or by some other means) prior to running the find/replace. And then pasting it into the “new” database manually (after updating the values of course.)

    Having the same issue. Damage is done, how do I fix it. this either needs addressed or I will have to quit using the plugin. I have to update the site links on every install of WP so it needs to have a fix.

    To be fair, this isn’t really the fault of OT. It has to do with the tools we use to update serialized data.

    The ugly fix I posted (above) has gotten me through a couple migrations. When I remember to do it.

    Perhaps in the future OT will consider not storing the data in a serialized format.

    I understand, but I disagree. It is pretty common to move a WP install from a test area to a live area. In that process the URL needs changed in the system and I think it is important for all plugin developers to make sure their plugin makes the switch without completely breaking a site. I don’t fault them for using serialized data storage makes sense, but there needs to be something in place to update it if core settings change.

    After the URL change, I can’t even get it to select an image from the media library. It lets me click the send to OptionTree button, but then the overlay goes white and stays put, never actually inserting the image. Didn’t so that before the switch. I even tried uninstalling ( I didn’t delete the database records for the plugin manually – another thing I would like to see developers cover more often), but no change.

    I detect a Options Tree fork in the near future 😉

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘OptionTree empty after fixing links’ is closed to new replies.