<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Fabulously Jinxed &#187; Oopsie</title>
	<atom:link href="http://fabulouslyjinxed.com/category/oopsie/feed/" rel="self" type="application/rss+xml" />
	<link>http://fabulouslyjinxed.com</link>
	<description>I like to break things</description>
	<lastBuildDate>Fri, 30 Mar 2012 14:40:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>It’s Always Something</title>
		<link>http://fabulouslyjinxed.com/2011/03/16/it%e2%80%99s-always-something/</link>
		<comments>http://fabulouslyjinxed.com/2011/03/16/it%e2%80%99s-always-something/#comments</comments>
		<pubDate>Wed, 16 Mar 2011 04:04:28 +0000</pubDate>
		<dc:creator>Jennyjinx</dc:creator>
				<category><![CDATA[Adventures of Jinxi]]></category>
		<category><![CDATA[Meta]]></category>
		<category><![CDATA[Oopsie]]></category>
		<category><![CDATA[jj done messed up]]></category>
		<category><![CDATA[oops]]></category>
		<category><![CDATA[wordpress haxxored]]></category>

		<guid isPermaLink="false">http://fabulouslyjinxed.com/?p=1</guid>
		<description><![CDATA[Helloooooo. Didja miss me? I don&#8217;t know if you noticed yesterday, but my site was down. Like all day. I was having some serious issues. Someone at some time found an old, unused directory of mine and somehow put some code in that bad boy&#8211; which generated over 800 pages of bullshit spam. Here&#8217;s what [...]]]></description>
			<content:encoded><![CDATA[<p>Helloooooo. Didja miss me?</p>
<p>I don&#8217;t know if you noticed yesterday, but my site was down. Like all day. I was having some serious issues. Someone at some time found an old, unused directory of mine and somehow put some code in that bad boy&#8211; which generated over 800 pages of bullshit spam.</p>
<p>Here&#8217;s what happened:</p>
<p>I went into Google Webmasters<sup><a href="http://fabulouslyjinxed.com/2011/03/16/it%e2%80%99s-always-something/#footnote_0_6" id="identifier_0_6" class="footnote-link footnote-identifier-link" title="Remember, I&amp;#8217;m a stat whore.">1</a></sup> and was checking out my links. I&#8217;d seen a site that offered to tell me how much I&#8217;d get if I sold this site and, well, those are always fun. Then that prompted me to check back into my Webmasters panel for the first time in a long time. Anyway, I&#8217;m looking over the stats and see some crazy fucking keywords. Google thinks I talk about banks and loans and mortgages? What the fuck? So then I look around the panel. I found a shitload of internal links going to an old directory<sup><a href="http://fabulouslyjinxed.com/2011/03/16/it%e2%80%99s-always-something/#footnote_1_6" id="identifier_1_6" class="footnote-link footnote-identifier-link" title="I should&amp;#8217;ve deleted that a long time ago, but for some reason I didn&amp;#8217;t do it. I deleted the database connected to it and every other damned directory. Just not that one.">2</a></sup>. I go into the directory and delete the file that I thought was the issue. You know, the only file in the directory. </p>
<p>Don&#8217;t you know that file regenerated? ARGH! So, I go in and change the code in it, then change the name of the parent directory<sup><a href="http://fabulouslyjinxed.com/2011/03/16/it%e2%80%99s-always-something/#footnote_2_6" id="identifier_2_6" class="footnote-link footnote-identifier-link" title="These things are often tied into the file via the directory name.">3</a></sup>. I go back in to see if the piece of shit re-regenerated and <em>fuck me</em>. All those files that were previously hidden from view were right there. Oh my god, there were <em>so many of them</em>. Select all-> delete. Then I waited and all was still gone. But wait! What if there was hidden code in another file? That&#8217;s a lot of flippin&#8217; files.</p>
<p><em>Damn it!</em><br />
<span id="more-1"></span><br />
I go into my phpAdmin and export my data. Except I didn&#8217;t want to export some plugin data so I uncheck it. Apparently, I also unchecked the comments, but not the comment meta data. *ahem* Oops. Anyway, I dump the database. All gone. Buh-bye, Fab Jinxed, and any bad files hidden therein. Zapped it all. As you can see, I did have backup files of the important stuff<sup><a href="http://fabulouslyjinxed.com/2011/03/16/it%e2%80%99s-always-something/#footnote_3_6" id="identifier_3_6" class="footnote-link footnote-identifier-link" title="The theme files">4</a></sup>. I didn&#8217;t save any plugins or any of the old themes, though. I happily deleted all that shit. The entire time I was wishing burning, dripping gonorrhea in that spammer&#8217;s <em>eye</em>. </p>
<p>So, I get a new install of WP and put that bad boy up. Then I go to import all the data. <em>Damn me</em>, I exported it in .sql format. Much hair pulling and wailing did commence. I kept getting freaking errors. Dur. Of course, they did. Because I was trying to create tables that were already there. But I wasn&#8217;t really sure what I should delete or leave or whatever. And then would WP recreate them or would that fuck up <em>the install too</em>? I tried a bunch of different things and then about gave up. By this time I had to get ready to go for a meeting with my new boss<sup><a href="http://fabulouslyjinxed.com/2011/03/16/it%e2%80%99s-always-something/#footnote_4_6" id="identifier_4_6" class="footnote-link footnote-identifier-link" title="Information will be provided in a private post.">5</a></sup> so I had to put it aside for a while. Came home in a fantabulous mood and then it hit me. The solution!</p>
<h4>How to Import WordPress When You Messed Up and Exported a .sql file</h4>
<p>I don&#8217;t know if this was the easiest solution, but it just popped in my head and when solutions do that&#8211; to me &#8212; that means I need to hurry up and solve that damned problem.</p>
<p>I created another database, imported all the tables, then one by one I moved the tables over. I deleted the tables I needed to replace in my WP database, then when into my &#8220;I so messed up&#8221; database and over they went. For those that might want an better solution than that: check a single table (wp-posts, for instance), then go into the &#8220;Operations&#8221; tab. Click &#8220;copy&#8221; data (or whatever it&#8217;s called&#8211; I can&#8217;t remember), make sure you pick &#8220;from [the current database] to [the WP one]&#8220;. Hit the go button and you&#8217;re all set! Do that for each table. Again I&#8217;m sure there&#8217;s a much easier way to do that, but this is what I managed to figure out.</p>
<p>There&#8217;s no help for the comments, though. They&#8217;re all gone now. Into the nether. Awww&#8230; Don&#8217;t worry, you can see how many people have commented on each post because I didn&#8217;t forget the <em>comment meta data</em>. </p>
<p>Oh! You know what else I didn&#8217;t copy over? My post and sidebar image files. Yup, just deleted them willy-nilly. Luckily for me I had a really old backup&#8211; Google cache. Hallelujah! *Doin&#8217; a happy dance&#8230;shakin&#8217; my butt.* Everything&#8217;s ready to go.</p>
<p>So, now I&#8217;m in the process of having Google take all of those files out of their index. And I reported the motherfucker that was getting paid off those links. Piece of shit had all those pages linking to each other and then had each one linking to his site&#8211; which was set up like the ones that Matt Cutts hates so bad. A bunch of crap thrown together&#8211; literally, none of it made any damned sense&#8211; and surrounded it with Google Ads. I reported it for two reasons: 1) Fuck that asshole little pubic louse and 2.) I wasn&#8217;t the only one who had hidden sites pointing to him. I checked. I&#8217;m going to be writing emails tomorrow, I think. Or not. Google will probably email them or something. Why should they believe me?</p>
<p>I don&#8217;t know how these buttholes got in, but I have a really good idea. And I&#8217;ll be keeping a better eye on that. I can&#8217;t believe I missed 800+ pages. What the fuck? I don&#8217;t know how long they were there, but now they&#8217;re far away.</p>
<p>Anyway, then I decided to play some more with MySQL. I have a local install on an external hard drive, thank you so much Xampp. I was inserting tables, editing data and trying to decipher the manual<sup><a href="http://fabulouslyjinxed.com/2011/03/16/it%e2%80%99s-always-something/#footnote_5_6" id="identifier_5_6" class="footnote-link footnote-identifier-link" title="That shit&amp;#8217;s hilarious, you know, because my brain was fighting me the whole way. I&amp;#8217;m pretty sure I didn&amp;#8217;t remember anything.">6</a></sup>. I get all excited when I do something that is pretty basic, but which I was too afraid to do before. So, yeah, technically I was working on a site today&#8211; it just wasn&#8217;t my <em>theme</em>. I did fix the pagination on the index page. That&#8217;s something, right?</p>
<ol class="footnotes"><li id="footnote_0_6" class="footnote">Remember, I&#8217;m a stat whore.</li><li id="footnote_1_6" class="footnote">I should&#8217;ve deleted that a long time ago, but for some reason I didn&#8217;t do it. I deleted the database connected to it and every other damned directory. Just not that one.</li><li id="footnote_2_6" class="footnote">These things are often tied into the file via the directory name.</li><li id="footnote_3_6" class="footnote">The theme files</li><li id="footnote_4_6" class="footnote">Information will be provided in a private post.</li><li id="footnote_5_6" class="footnote">That shit&#8217;s hilarious, you know, because my brain was fighting me the whole way. I&#8217;m pretty sure I didn&#8217;t remember anything.</li></ol>]]></content:encoded>
			<wfw:commentRss>http://fabulouslyjinxed.com/2011/03/16/it%e2%80%99s-always-something/feed/</wfw:commentRss>
		<slash:comments>28</slash:comments>
		</item>
	</channel>
</rss>

