<?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"
	>
<channel>
	<title>Comments on: Search and Replace for WordPress Databases</title>
	<atom:link href="http://spectacu.la/search-and-replace-for-wordpress-databases/feed/" rel="self" type="application/rss+xml" />
	<link>http://spectacu.la/search-and-replace-for-wordpress-databases/</link>
	<description>WordPress GPL Themes and Support Forum</description>
	<pubDate>Fri, 30 Jul 2010 14:26:14 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: David McDonald</title>
		<link>http://spectacu.la/search-and-replace-for-wordpress-databases/#comment-1239</link>
		<dc:creator>David McDonald</dc:creator>
		<pubDate>Mon, 12 Jul 2010 05:51:38 +0000</pubDate>
		<guid isPermaLink="false">http://spectacu.la/?p=124#comment-1239</guid>
		<description>OK, after looking into it further, the script is working properly - it was my error.</description>
		<content:encoded><![CDATA[<p>OK, after looking into it further, the script is working properly - it was my error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David McDonald</title>
		<link>http://spectacu.la/search-and-replace-for-wordpress-databases/#comment-1238</link>
		<dc:creator>David McDonald</dc:creator>
		<pubDate>Mon, 12 Jul 2010 05:33:35 +0000</pubDate>
		<guid isPermaLink="false">http://spectacu.la/?p=124#comment-1238</guid>
		<description>This script, in it's previous versions, has been a life save for me. However, with this version, I notice that it is not actually replacing all the instances of the  string within the WP database.

For example, the following tables:

- wp_options
- wp_rg_form_meta
- wp_rg_lead_detail_long

still have the old values after running the script. I'm using WordPress 3.0 with mySQL 5.1.41</description>
		<content:encoded><![CDATA[<p>This script, in it&#8217;s previous versions, has been a life save for me. However, with this version, I notice that it is not actually replacing all the instances of the  string within the WP database.</p>
<p>For example, the following tables:</p>
<p>- wp_options<br />
- wp_rg_form_meta<br />
- wp_rg_lead_detail_long</p>
<p>still have the old values after running the script. I&#8217;m using WordPress 3.0 with mySQL 5.1.41</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wjm</title>
		<link>http://spectacu.la/search-and-replace-for-wordpress-databases/#comment-1214</link>
		<dc:creator>wjm</dc:creator>
		<pubDate>Fri, 11 Jun 2010 07:18:43 +0000</pubDate>
		<guid isPermaLink="false">http://spectacu.la/?p=124#comment-1214</guid>
		<description>This was a night saver!
unfortunatly i had to spend a couple of hours figuring out what was wrong..
ironically, a script that was supposed to avoid data corruption was corrupting data,

if you are running this script as a stand alone (as i was running version 1.0 http://www.davesgonemental.com/mysql-database-search-replace-with-serialized-php/ )
you will need to add 
mysql_set_charset('utf8');
bellow mysql_connect()
otherwise you will get wrong lenghts in the serialized data.

another issue has to do with Error Notices.
there will be so many that you script will die beofre it finishes if your time limit is 30 secs.
those notices some from using unserialize() with no serialized data.
to avoid that use this conditional


$unserialized = @unserialize( $data_to_fix );
if ( 'b:0;' === $data_to_fix &#124;&#124; false  !== $unserialized ) {


one last thing,
this script wont run if its not installed in the root wordpress folder,
because get_bloginfo() wont be a registered function.
to solve that,,

use this

			&#60;input id="search_text" type="text" name="search" value="" class="text"/&#62;


Thanks a lot for your work.
just a little back in return
- wjm</description>
		<content:encoded><![CDATA[<p>This was a night saver!<br />
unfortunatly i had to spend a couple of hours figuring out what was wrong..<br />
ironically, a script that was supposed to avoid data corruption was corrupting data,</p>
<p>if you are running this script as a stand alone (as i was running version 1.0 <a href="http://www.davesgonemental.com/mysql-database-search-replace-with-serialized-php/" rel="nofollow">http://www.davesgonemental.com/mysql-database-search-replace-with-serialized-php/</a> )<br />
you will need to add<br />
mysql_set_charset(&#8217;utf8&#8242;);<br />
bellow mysql_connect()<br />
otherwise you will get wrong lenghts in the serialized data.</p>
<p>another issue has to do with Error Notices.<br />
there will be so many that you script will die beofre it finishes if your time limit is 30 secs.<br />
those notices some from using unserialize() with no serialized data.<br />
to avoid that use this conditional</p>
<p>$unserialized = @unserialize( $data_to_fix );<br />
if ( &#8216;b:0;&#8217; === $data_to_fix || false  !== $unserialized ) {</p>
<p>one last thing,<br />
this script wont run if its not installed in the root wordpress folder,<br />
because get_bloginfo() wont be a registered function.<br />
to solve that,,</p>
<p>use this</p>
<p>			&lt;input id=&#8221;search_text&#8221; type=&#8221;text&#8221; name=&#8221;search&#8221; value=&#8221;" class=&#8221;text&#8221;/&gt;</p>
<p>Thanks a lot for your work.<br />
just a little back in return<br />
- wjm</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://spectacu.la/search-and-replace-for-wordpress-databases/#comment-1187</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Mon, 10 May 2010 09:55:15 +0000</pubDate>
		<guid isPermaLink="false">http://spectacu.la/?p=124#comment-1187</guid>
		<description>Hi Dave

Really keen to use this script. I have copied it to the root folder (httpdocs) but when I run it I still only get the Wordpress Fatal Error screen - no sign of your script.

Am I missing something?

Cheers

Sam</description>
		<content:encoded><![CDATA[<p>Hi Dave</p>
<p>Really keen to use this script. I have copied it to the root folder (httpdocs) but when I run it I still only get the Wordpress Fatal Error screen - no sign of your script.</p>
<p>Am I missing something?</p>
<p>Cheers</p>
<p>Sam</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Database Search &#38; Replace - WordPress Tavern Forum</title>
		<link>http://spectacu.la/search-and-replace-for-wordpress-databases/#comment-1094</link>
		<dc:creator>Database Search &#38; Replace - WordPress Tavern Forum</dc:creator>
		<pubDate>Sat, 05 Dec 2009 13:37:35 +0000</pubDate>
		<guid isPermaLink="false">http://spectacu.la/?p=124#comment-1094</guid>
		<description>[...] a good chance that careless use could lead to a lot of damage. Treat it with respect and care!  Read more and download the WordPress Database Search and Replace Tool.    Interconnect IT WordPress Developers &#124; Spectacula GPL Themes Club &#124; [...]</description>
		<content:encoded><![CDATA[<p>[...] a good chance that careless use could lead to a lot of damage. Treat it with respect and care!  Read more and download the WordPress Database Search and Replace Tool.    Interconnect IT WordPress Developers | Spectacula GPL Themes Club | [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
