{"id":260,"date":"2011-06-05T16:02:15","date_gmt":"2011-06-05T23:02:15","guid":{"rendered":"http:\/\/www.wellys.org\/wellysblog\/?p=260"},"modified":"2011-06-10T16:26:08","modified_gmt":"2011-06-10T23:26:08","slug":"well-thats-unfortunate","status":"publish","type":"post","link":"http:\/\/www.wellys.org\/wellysblog\/?p=260","title":{"rendered":"Well, that&#8217;s unfortunate (Updated)"},"content":{"rendered":"<p>As I&#8217;ve <a title=\"Link to &quot;Riding the local&quot;\" href=\"http:\/\/www.wellys.org\/wellysblog\/?p=169\" target=\"_self\">said before<\/a>, I&#8217;ve tried to keep a local version of my site mirrored to my online version. This isn&#8217;t unusual for a lot of developers; it helps to stage your site, it allows you to make mistakes with little impact on the outside world and it allows you to be productive away from an Internet connection.<\/p>\n<p>I&#8217;ve been fairly successful at doing this with WordPress 2.x. The new version seems to be a somewhat different story. My typical method of duplication is to:<\/p>\n<ol>\n<li>Copy the site folder from on location to another<\/li>\n<li>Copy the MySQL database with the following changes:\n<ol>\n<li>Change references from www to my local MAMP server (www.wellys.org to wellys.org:8888)<\/li>\n<li>Change file location references as well (\/Home\/Username to \/Users\/Shared)<\/li>\n<li>Change the wp-config file for the proper local information<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p>Not this time with 3.0:<\/p>\n<ol>\n<li>The Header didn&#8217;t change to my custom header<\/li>\n<li>The menus didn&#8217;t change to my custom menus<\/li>\n<\/ol>\n<p>So far (cross fingers) those two items seem to be the only issues. Mmmm. I hate it when this happens.<\/p>\n<p>UPDATE:<\/p>\n<ol>\n<li>The image for my header was in my media uploads folder but it wasn&#8217;t available to use for the twentyten theme (the twentyten theme only pulls images from your system and not from the media library). So I had to delete the image from my media library then reload it in the theme loader&#8230; sigh.<\/li>\n<li>The menus were setup but not enabled. I simply had to choose the menu in the theme menu settings then save menus and I was up to speed. That was nice.<\/li>\n<\/ol>\n<p>UPDATE (again):<\/p>\n<ol>\n<li>In the past, I typically just reloaded the MySQL tables to ensure the two blogs were identical, this isn&#8217;t as easy. Instead, I have the same two issues happening again AND I&#8217;m starting to get pingbacks from my own site. This is getting to be a nasty mess.<\/li>\n<\/ol>\n<p>UPDATE (June 5, 2011)<\/p>\n<p>I attempted this again and it really is pretty easy. The specific directions are:<\/p>\n<ol>\n<li>Export the online wellysblog db into a SQL file.<\/li>\n<li>Use Textmate to\u00c2\u00a0replace all&#8221; www.domain.com&#8221; to &#8220;domain.com:8888&#8221; and\u00c2\u00a0\u00c2\u00a0&#8220;\/home\/username\/&#8221; to &#8220;\/Users\/Shared\/&#8221; [<em>I use my Shared directory on my Mac for my local websites. Your location may vary.<\/em>]<\/li>\n<li>To reset the header image, go to Appearance &#8211; Header &#8211; Upload Image and use the Choose File area to reselect the desired header image then click Upload. [<em>The db has the right link but it doesn&#8217;t load, I do this to ensure it loads my image.<\/em>]<\/li>\n<li>To reset the menus, make sure the Theme Locations Primary Navigation is set properly. Appearance &#8211; Menus &#8211; Theme Locations &#8211; Primary Navigation should be set to Categories. [<em>Mine is Categories, set it to what you use.<\/em>]<\/li>\n<li>Test!<\/li>\n<\/ol>\n<p>As for the pingbacks, that is a necessary evil, I&#8217;ll deal with later.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As I&#8217;ve said before, I&#8217;ve tried to keep a local version of my site mirrored to my online version. This isn&#8217;t unusual for a lot of developers; it helps to stage your site, it allows you to make mistakes with little impact on the outside world and it allows you to be productive away from &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/www.wellys.org\/wellysblog\/?p=260\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Well, that&#8217;s unfortunate (Updated)&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false},"categories":[28],"tags":[32,35],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/pvRD1-4c","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":169,"url":"http:\/\/www.wellys.org\/wellysblog\/?p=169","url_meta":{"origin":260,"position":0},"title":"Riding the local... [UPDATED]","date":"July 9, 2010","format":false,"excerpt":"With the upgrade to Snow Leopard, I took the opportunity to make my MacBook Pro, a better development machine. This meant creating a Web server environment which matches my production shared hosting environment. Far easier said then done. I started with MAMP. I wanted to have a complete server environment\u2026","rel":"","context":"In &quot;Wordpress&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":273,"url":"http:\/\/www.wellys.org\/wellysblog\/?p=273","url_meta":{"origin":260,"position":1},"title":"Step 1: Keep Design and Gray box it","date":"July 25, 2010","format":false,"excerpt":"Following a technique advocated in \"transcending CSS by Andy Clarke\", I've taken the current design and 'gray boxed it\". \u00c2\u00a0(I want to point out that my goal is to learn HTML5\/CSS3, not to create a wholly new design). \u00c2\u00a0I simplified the site to its simplest elements: From the graphic, you\u2026","rel":"","context":"In &quot;HTML5\/CSS3&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":118,"url":"http:\/\/www.wellys.org\/wellysblog\/?p=118","url_meta":{"origin":260,"position":2},"title":"iMovie 09 and Flip Ultra HD","date":"June 21, 2009","format":false,"excerpt":"There seem to be a few questions as to the compatibility of the Flip Ultra HD and iMovie 09. \u00c2\u00a0The Flip Ultra HD and iMovie work great together! The latest version of iMovie 8.0.3 added the ability to optimize video. I started with 8.0.3, so I'm unsure on what I\u2026","rel":"","context":"In &quot;Video&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":318,"url":"http:\/\/www.wellys.org\/wellysblog\/?p=318","url_meta":{"origin":260,"position":3},"title":"Hype - a new approach","date":"May 22, 2011","format":false,"excerpt":"Thanks to Jon Gruber, I learned about Hype. Hype is a OS X application that makes it easy to create dynamic websites using HTML5 or more accurately, HTML5, Javascript and CSS3. Hype works. It is also version 1.0 so it is basic but it works, doesn't crash and holds great\u2026","rel":"","context":"In &quot;HTML5\/CSS3&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":137,"url":"http:\/\/www.wellys.org\/wellysblog\/?p=137","url_meta":{"origin":260,"position":4},"title":"Changes (again)","date":"July 26, 2009","format":false,"excerpt":"In my continuing efforts to learn web programming, simplify things and make a better site, I changed the site (again). This time I switched from a manual, hand-coded implementation to a SQL-based version. The new version uses a database to display the movies, making adding a new movie much easier\u2026","rel":"","context":"In &quot;Web&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":129,"url":"http:\/\/www.wellys.org\/wellysblog\/?p=129","url_meta":{"origin":260,"position":5},"title":"Cameras, FlipShare and iMovie","date":"July 11, 2009","format":false,"excerpt":"I've been using the Flip Ultra HD for a few weeks and I really like the camera. What I don't like or more accurately need is the FlipShare software. If you don't have iMovie 09, FlipShare is probably worthwhile. \u00c2\u00a0I do have iMovie and FlipShare is worse than superfluous, it\u2026","rel":"","context":"In &quot;Video&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"http:\/\/www.wellys.org\/wellysblog\/index.php?rest_route=\/wp\/v2\/posts\/260"}],"collection":[{"href":"http:\/\/www.wellys.org\/wellysblog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.wellys.org\/wellysblog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.wellys.org\/wellysblog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.wellys.org\/wellysblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=260"}],"version-history":[{"count":13,"href":"http:\/\/www.wellys.org\/wellysblog\/index.php?rest_route=\/wp\/v2\/posts\/260\/revisions"}],"predecessor-version":[{"id":263,"href":"http:\/\/www.wellys.org\/wellysblog\/index.php?rest_route=\/wp\/v2\/posts\/260\/revisions\/263"}],"wp:attachment":[{"href":"http:\/\/www.wellys.org\/wellysblog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=260"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.wellys.org\/wellysblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=260"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.wellys.org\/wellysblog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=260"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}