<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Having an issue with dbDelta to add table to wp db (resolved)</title>
	<atom:link href="http://fiddyp.co.uk/having-an-issue-with-dbdelta-to-add-table-to-wp-db/feed/" rel="self" type="application/rss+xml" />
	<link>http://fiddyp.co.uk/having-an-issue-with-dbdelta-to-add-table-to-wp-db/</link>
	<description>The personal blog of Andy Bailey</description>
	<lastBuildDate>Fri, 18 May 2012 20:37:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Petra Weiss</title>
		<link>http://fiddyp.co.uk/having-an-issue-with-dbdelta-to-add-table-to-wp-db/comment-page-1/#comment-4853</link>
		<dc:creator>Petra Weiss</dc:creator>
		<pubDate>Sat, 21 Feb 2009 13:54:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.fiddyp.co.uk/?p=1244#comment-4853</guid>
		<description>This seems like the right blog to post my question, with all the WordPress experts here!
I know this probably doesn&#039;t belong in this thread, but I will try to get some help anyway.
On my blog http://www.healthydietweightloss.com something very strange has happened. I tried to upload the sociable plugin through WP 2.7&#039;s new direct plugin uploader, and got an error message. It didn&#039;t work. But ever since on my home page the writing has gone to italic. Everything but my posts which I did since trying to upload the plugin. If you click through on any of the posts, it&#039;s fine, it seems to be just the index page. Can anybody offer help? - I looked at the theme files, nothing seems to have changed there. I know also that when you view source there seem to be a lot of em tags there, but they are not visible in the theme files. I am out of my depth here.  :(

&lt;abbr&gt;&lt;em&gt;Petra Weiss´s last blog post..&lt;a href=&quot;http://www.petra-weiss.com/free-affiliate-insider-update.html&quot; rel=&quot;nofollow&quot;&gt;Free Affiliate Insider - Update&lt;/a&gt;&lt;/abbr&gt;&lt;/em&gt;</description>
		<content:encoded><![CDATA[<p>This seems like the right blog to post my question, with all the WordPress experts here!<br />
I know this probably doesn&#8217;t belong in this thread, but I will try to get some help anyway.<br />
On my blog <a href="http://www.healthydietweightloss.com" rel="nofollow">http://www.healthydietweightloss.com</a> something very strange has happened. I tried to upload the sociable plugin through WP 2.7&#8242;s new direct plugin uploader, and got an error message. It didn&#8217;t work. But ever since on my home page the writing has gone to italic. Everything but my posts which I did since trying to upload the plugin. If you click through on any of the posts, it&#8217;s fine, it seems to be just the index page. Can anybody offer help? &#8211; I looked at the theme files, nothing seems to have changed there. I know also that when you view source there seem to be a lot of em tags there, but they are not visible in the theme files. I am out of my depth here.  <img src='http://fiddyp.co.uk/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p><abbr><em>Petra Weiss´s last blog post..<a href="http://www.petra-weiss.com/free-affiliate-insider-update.html" rel="nofollow">Free Affiliate Insider &#8211; Update</a></em></abbr></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Bailey</title>
		<link>http://fiddyp.co.uk/having-an-issue-with-dbdelta-to-add-table-to-wp-db/comment-page-1/#comment-4852</link>
		<dc:creator>Andy Bailey</dc:creator>
		<pubDate>Fri, 13 Feb 2009 11:43:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.fiddyp.co.uk/?p=1244#comment-4852</guid>
		<description>anttiJN: I found that article after much searching! thanks for pointing it out. I ended up putting the version in another function.

&lt;abbr&gt;&lt;em&gt;Andy Bailey´s last blog post..&lt;a href=&quot;http://www.commentluv.com/blogger-commentluv-gets-updated-with-new-features/&quot; rel=&quot;nofollow&quot;&gt;Blogger CommentLuv gets updated with new features&lt;/a&gt;&lt;/abbr&gt;&lt;/em&gt;</description>
		<content:encoded><![CDATA[<p>anttiJN: I found that article after much searching! thanks for pointing it out. I ended up putting the version in another function.</p>
<p><abbr><em>Andy Bailey´s last blog post..<a href="http://www.commentluv.com/blogger-commentluv-gets-updated-with-new-features/" rel="nofollow">Blogger CommentLuv gets updated with new features</a></em></abbr></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AnttiJN</title>
		<link>http://fiddyp.co.uk/having-an-issue-with-dbdelta-to-add-table-to-wp-db/comment-page-1/#comment-4851</link>
		<dc:creator>AnttiJN</dc:creator>
		<pubDate>Fri, 13 Feb 2009 10:30:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.fiddyp.co.uk/?p=1244#comment-4851</guid>
		<description>The reason why you dont get the value to wp_options can be found here:
http://codex.wordpress.org/Function_Reference/register_activation_hook

It says &quot;If you&#039;re using global variables, you may find that the function you pass to register_activation_hook() does not have access to global variables at the point when it is called, even though you state their global scope within the function&quot;.

So if you define $atf_db_version inside the function it should work.</description>
		<content:encoded><![CDATA[<p>The reason why you dont get the value to wp_options can be found here:<br />
<a href="http://codex.wordpress.org/Function_Reference/register_activation_hook" rel="nofollow">http://codex.wordpress.org/Function_Reference/register_activation_hook</a></p>
<p>It says &#8220;If you&#8217;re using global variables, you may find that the function you pass to register_activation_hook() does not have access to global variables at the point when it is called, even though you state their global scope within the function&#8221;.</p>
<p>So if you define $atf_db_version inside the function it should work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Bailey</title>
		<link>http://fiddyp.co.uk/having-an-issue-with-dbdelta-to-add-table-to-wp-db/comment-page-1/#comment-4850</link>
		<dc:creator>Andy Bailey</dc:creator>
		<pubDate>Wed, 11 Feb 2009 18:06:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.fiddyp.co.uk/?p=1244#comment-4850</guid>
		<description>be sure to get plenty of followers and auto post your new blog posts to twitter.
can&#039;t believe I got an answer so quickly. luv twitter!

&lt;abbr&gt;&lt;em&gt;Andy Bailey´s last blog post..&lt;a href=&quot;http://www.commentluv.com/sarcastic-mom-featured-site-2/&quot; rel=&quot;nofollow&quot;&gt;Sarcastic Mom - Featured Site&lt;/a&gt;&lt;/abbr&gt;&lt;/em&gt;</description>
		<content:encoded><![CDATA[<p>be sure to get plenty of followers and auto post your new blog posts to twitter.<br />
can&#8217;t believe I got an answer so quickly. luv twitter!</p>
<p><abbr><em>Andy Bailey´s last blog post..<a href="http://www.commentluv.com/sarcastic-mom-featured-site-2/" rel="nofollow">Sarcastic Mom &#8211; Featured Site</a></em></abbr></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicole Price</title>
		<link>http://fiddyp.co.uk/having-an-issue-with-dbdelta-to-add-table-to-wp-db/comment-page-1/#comment-4849</link>
		<dc:creator>Nicole Price</dc:creator>
		<pubDate>Wed, 11 Feb 2009 15:48:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.fiddyp.co.uk/?p=1244#comment-4849</guid>
		<description>What a fantastic world that we live in!  The next time that I need some geek help, I shall post a request here!

&lt;abbr&gt;&lt;em&gt;Nicole Price´s last blog post..&lt;a href=&quot;http://www.greatpriceshere.com/2009/02/10/presidents-challenge-money/&quot; rel=&quot;nofollow&quot;&gt;The President’s Biggest Challenge: It’s All about the Money!&lt;/a&gt;&lt;/abbr&gt;&lt;/em&gt;</description>
		<content:encoded><![CDATA[<p>What a fantastic world that we live in!  The next time that I need some geek help, I shall post a request here!</p>
<p><abbr><em>Nicole Price´s last blog post..<a href="http://www.greatpriceshere.com/2009/02/10/presidents-challenge-money/" rel="nofollow">The President’s Biggest Challenge: It’s All about the Money!</a></em></abbr></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Bailey</title>
		<link>http://fiddyp.co.uk/having-an-issue-with-dbdelta-to-add-table-to-wp-db/comment-page-1/#comment-4848</link>
		<dc:creator>Andy Bailey</dc:creator>
		<pubDate>Wed, 11 Feb 2009 14:30:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.fiddyp.co.uk/?p=1244#comment-4848</guid>
		<description>bless you and all your geekles. that did it.

thanks awesomely!

:-)</description>
		<content:encoded><![CDATA[<p>bless you and all your geekles. that did it.</p>
<p>thanks awesomely!<br />
 <img src='http://fiddyp.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Barry</title>
		<link>http://fiddyp.co.uk/having-an-issue-with-dbdelta-to-add-table-to-wp-db/comment-page-1/#comment-4847</link>
		<dc:creator>Barry</dc:creator>
		<pubDate>Wed, 11 Feb 2009 14:24:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.fiddyp.co.uk/?p=1244#comment-4847</guid>
		<description>but with $table_name instead of what I put above :)

&lt;abbr&gt;&lt;em&gt;Barry´s last blog post..&lt;a href=&quot;http://feeds.clearskys.net/~r/clearskysblog/~3/X3wDNepa0i0/&quot; rel=&quot;nofollow&quot;&gt;Ahoy matey - changes ahead&lt;/a&gt;&lt;/abbr&gt;&lt;/em&gt;</description>
		<content:encoded><![CDATA[<p>but with $table_name instead of what I put above <img src='http://fiddyp.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><abbr><em>Barry´s last blog post..<a href="http://feeds.clearskys.net/~r/clearskysblog/~3/X3wDNepa0i0/" rel="nofollow">Ahoy matey &#8211; changes ahead</a></em></abbr></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Barry</title>
		<link>http://fiddyp.co.uk/having-an-issue-with-dbdelta-to-add-table-to-wp-db/comment-page-1/#comment-4846</link>
		<dc:creator>Barry</dc:creator>
		<pubDate>Wed, 11 Feb 2009 14:22:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.fiddyp.co.uk/?p=1244#comment-4846</guid>
		<description>Your SQL should be:
$sql = &quot;CREATE TABLE $tablename (
      id mediumint(9) NOT NULL AUTO_INCREMENT,
      email varchar(120) NOT NULL,
      twitid varchar(120) NOT NULL,
      PRIMARY KEY  (id),
      KEY email (email)
      );&quot;;

&lt;abbr&gt;&lt;em&gt;Barry´s last blog post..&lt;a href=&quot;http://feeds.clearskys.net/~r/clearskysblog/~3/X3wDNepa0i0/&quot; rel=&quot;nofollow&quot;&gt;Ahoy matey - changes ahead&lt;/a&gt;&lt;/abbr&gt;&lt;/em&gt;</description>
		<content:encoded><![CDATA[<p>Your SQL should be:<br />
$sql = &#8220;CREATE TABLE $tablename (<br />
      id mediumint(9) NOT NULL AUTO_INCREMENT,<br />
      email varchar(120) NOT NULL,<br />
      twitid varchar(120) NOT NULL,<br />
      PRIMARY KEY  (id),<br />
      KEY email (email)<br />
      );&#8221;;</p>
<p><abbr><em>Barry´s last blog post..<a href="http://feeds.clearskys.net/~r/clearskysblog/~3/X3wDNepa0i0/" rel="nofollow">Ahoy matey &#8211; changes ahead</a></em></abbr></p>
]]></content:encoded>
	</item>
</channel>
</rss>

