<?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: PDO For WordPress 1.0.0</title>
	<atom:link href="https://rathercurious.no3.co.uk/archives/28/feed" rel="self" type="application/rss+xml" />
	<link>https://rathercurious.no3.co.uk/archives/28</link>
	<description>A home for my coding projects</description>
	<lastBuildDate>Fri, 26 Feb 2010 22:24:46 +0000</lastBuildDate>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.9.16</generator>
	<item>
		<title>By: Justin</title>
		<link>https://rathercurious.no3.co.uk/archives/28/comment-page-1#comment-1911</link>
		<dc:creator><![CDATA[Justin]]></dc:creator>
		<pubDate>Sat, 21 Mar 2009 15:15:30 +0000</pubDate>
		<guid isPermaLink="false">http://rathercurious.net/archives/28#comment-1911</guid>
		<description><![CDATA[@Manu: 
Hi, what version of WP are you using?]]></description>
		<content:encoded><![CDATA[<p>@Manu:<br />
Hi, what version of WP are you using?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Manu</title>
		<link>https://rathercurious.no3.co.uk/archives/28/comment-page-1#comment-1910</link>
		<dc:creator><![CDATA[Manu]]></dc:creator>
		<pubDate>Sat, 21 Mar 2009 14:44:36 +0000</pubDate>
		<guid isPermaLink="false">http://rathercurious.net/archives/28#comment-1910</guid>
		<description><![CDATA[Hi,

I&#039;m trying to setup wordpress w/ PDO, with php5 and lighttpd. Trouble is, I get nothing ;-)

It seems the server executes the request, but the browser receives an empty reply. I see no error in the  server log files, no crash, nothing.
The only message I&#039;ve been able to receive for now is the plugin complaining about an unsupported PDO driver - when I alter the &quot;DB_TYPE&quot; parameter on purpose to trigger an error: at least some of the files are parsed and executed. As soon as I revert back to the proper configuration (DB_TYPE = &quot;sqlite&quot;), I only receive blank pages
php_info() reports no issue, PDO driver is properly loaded.

I also tried to run the CLI version of PHP5 to get more info, with no luck. When I use &#039;strace&#039; to see the system call, everything looks normal, but the execution stops without any obvious error:
{{{
lstat64(&quot;/var&quot;, {st_mode=S_IFDIR&#124;0755, st_size=336, ...}) = 0
lstat64(&quot;/var/www&quot;, {st_mode=S_IFDIR&#124;0755, st_size=152, ...}) = 0
lstat64(&quot;/var/www/wordpress&quot;, {st_mode=S_IFDIR&#124;0775, st_size=944, ...}) = 0
lstat64(&quot;/var/www/wordpress/wp-content&quot;, {st_mode=S_IFDIR&#124;0775, st_size=232, ...}) = 0
lstat64(&quot;/var/www/wordpress/wp-content/pdo&quot;, {st_mode=S_IFDIR&#124;0775, st_size=136, ...}) = 0
lstat64(&quot;/var/www/wordpress/wp-content/pdo/PDOEngine.php&quot;, {st_mode=S_IFREG&#124;0664, st_size=16641, ...}) = 0
gettimeofday({1237646717, 948278}, NULL) = 0
open(&quot;/var/www/wordpress/wp-content/pdo/PDOEngine.php&quot;, O_RDONLY&#124;O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG&#124;0664, st_size=16641, ...}) = 0
read(3, &quot;$m){\n\t\t\t$output &quot;..., 8192) = 8192
read(3, &quot;truct($value,$node-&gt;$key); \n     &quot;..., 8192) = 257
read(3, &quot;&quot;..., 8192)                    = 0
read(3, &quot;&quot;..., 8192)                    = 0
close(3)                                = 0
gettimeofday({1237646717, 999405}, NULL) = 0
lstat64(&quot;/var&quot;, {st_mode=S_IFDIR&#124;0755, st_size=336, ...}) = 0
lstat64(&quot;/var/www&quot;, {st_mode=S_IFDIR&#124;0755, st_size=152, ...}) = 0
lstat64(&quot;/var/www/wordpress&quot;, {st_mode=S_IFDIR&#124;0775, st_size=944, ...}) = 0
lstat64(&quot;/var/www/wordpress/wp-includes&quot;, {st_mode=S_IFDIR&#124;0775, st_size=2400, ...}) = 0
lstat64(&quot;/var/www/wordpress/wp-includes/wp-db.php&quot;, {st_mode=S_IFREG&#124;0664, st_size=25032, ...}) = 0
gettimeofday({1237646718, 16978}, NULL) = 0
open(&quot;/var/www/wordpress/wp-includes/wp-db.php&quot;, O_RDONLY&#124;O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG&#124;0664, st_size=25032, ...}) = 0
read(3, &quot;&lt;?php\n/**\n * WordPress DB Class\n &quot;..., 8192) = 8192
read(3, &quot;db) {\n\t\tif (!@mysql_select_db($db&quot;..., 8192) = 8192
read(3, &quot;\t\tforeach ( (array) array_keys($d&quot;..., 8192) = 8192
brk(0x74f000)                           = 0x74f000
read(3, &quot;tring false on failure, version n&quot;..., 8192) = 456
read(3, &quot;&quot;..., 8192)                    = 0
read(3, &quot;&quot;..., 8192)                    = 0
close(3)                                = 0
close(2)                                = 0
close(1)                                = 0
munmap(0x40020000, 4096)                = 0
close(0)                                = 0
munmap(0x4001f000, 4096)                = 0
brk(0x6cb000)                           = 0x6cb000
munmap(0x40abe000, 528384)              = 0
open(&quot;/dev/urandom&quot;, O_RDONLY)          = 0
read(0, &quot;\31\303cq&quot;..., 4)              = 4
close(0)                                = 0
open(&quot;/dev/urandom&quot;, O_RDONLY)          = 0
read(0, &quot;\210\337\22m&quot;..., 4)           = 4
close(0)                                = 0
open(&quot;/dev/urandom&quot;, O_RDONLY)          = 0
read(0, &quot;1\22~v&quot;..., 4)                 = 4
close(0)                                = 0
setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
munmap(0x40a3c000, 93572)               = 0
munmap(0x40a53000, 364456)              = 0
munmap(0x409b0000, 50136)               = 0
munmap(0x409cc000, 457360)              = 0
munmap(0x40993000, 117656)              = 0
brk(0x645000)                           = 0x645000
exit_group(255)                         = ?
}}}

I&#039;m out of idea to solve this issue. Any hints?]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I&#8217;m trying to setup wordpress w/ PDO, with php5 and lighttpd. Trouble is, I get nothing <img src="https://rathercurious.no3.co.uk/wp-includes/images/smilies/icon_wink.gif" alt=";-)" class="wp-smiley" /> </p>
<p>It seems the server executes the request, but the browser receives an empty reply. I see no error in the  server log files, no crash, nothing.<br />
The only message I&#8217;ve been able to receive for now is the plugin complaining about an unsupported PDO driver &#8211; when I alter the &#8220;DB_TYPE&#8221; parameter on purpose to trigger an error: at least some of the files are parsed and executed. As soon as I revert back to the proper configuration (DB_TYPE = &#8220;sqlite&#8221;), I only receive blank pages<br />
php_info() reports no issue, PDO driver is properly loaded.</p>
<p>I also tried to run the CLI version of PHP5 to get more info, with no luck. When I use &#8216;strace&#8217; to see the system call, everything looks normal, but the execution stops without any obvious error:<br />
{{{<br />
lstat64(&#8220;/var&#8221;, {st_mode=S_IFDIR|0755, st_size=336, &#8230;}) = 0<br />
lstat64(&#8220;/var/www&#8221;, {st_mode=S_IFDIR|0755, st_size=152, &#8230;}) = 0<br />
lstat64(&#8220;/var/www/wordpress&#8221;, {st_mode=S_IFDIR|0775, st_size=944, &#8230;}) = 0<br />
lstat64(&#8220;/var/www/wordpress/wp-content&#8221;, {st_mode=S_IFDIR|0775, st_size=232, &#8230;}) = 0<br />
lstat64(&#8220;/var/www/wordpress/wp-content/pdo&#8221;, {st_mode=S_IFDIR|0775, st_size=136, &#8230;}) = 0<br />
lstat64(&#8220;/var/www/wordpress/wp-content/pdo/PDOEngine.php&#8221;, {st_mode=S_IFREG|0664, st_size=16641, &#8230;}) = 0<br />
gettimeofday({1237646717, 948278}, NULL) = 0<br />
open(&#8220;/var/www/wordpress/wp-content/pdo/PDOEngine.php&#8221;, O_RDONLY|O_LARGEFILE) = 3<br />
fstat64(3, {st_mode=S_IFREG|0664, st_size=16641, &#8230;}) = 0<br />
read(3, &#8220;$m){\n\t\t\t$output &#8220;&#8230;, 8192) = 8192<br />
read(3, &#8220;truct($value,$node-&gt;$key); \n     &#8220;&#8230;, 8192) = 257<br />
read(3, &#8220;&#8221;&#8230;, 8192)                    = 0<br />
read(3, &#8220;&#8221;&#8230;, 8192)                    = 0<br />
close(3)                                = 0<br />
gettimeofday({1237646717, 999405}, NULL) = 0<br />
lstat64(&#8220;/var&#8221;, {st_mode=S_IFDIR|0755, st_size=336, &#8230;}) = 0<br />
lstat64(&#8220;/var/www&#8221;, {st_mode=S_IFDIR|0755, st_size=152, &#8230;}) = 0<br />
lstat64(&#8220;/var/www/wordpress&#8221;, {st_mode=S_IFDIR|0775, st_size=944, &#8230;}) = 0<br />
lstat64(&#8220;/var/www/wordpress/wp-includes&#8221;, {st_mode=S_IFDIR|0775, st_size=2400, &#8230;}) = 0<br />
lstat64(&#8220;/var/www/wordpress/wp-includes/wp-db.php&#8221;, {st_mode=S_IFREG|0664, st_size=25032, &#8230;}) = 0<br />
gettimeofday({1237646718, 16978}, NULL) = 0<br />
open(&#8220;/var/www/wordpress/wp-includes/wp-db.php&#8221;, O_RDONLY|O_LARGEFILE) = 3<br />
fstat64(3, {st_mode=S_IFREG|0664, st_size=25032, &#8230;}) = 0<br />
read(3, &#8220;&lt;?php\n/**\n * WordPress DB Class\n &#8220;&#8230;, 8192) = 8192<br />
read(3, &#8220;db) {\n\t\tif (!@mysql_select_db($db&#8221;&#8230;, 8192) = 8192<br />
read(3, &#8220;\t\tforeach ( (array) array_keys($d&#8221;&#8230;, 8192) = 8192<br />
brk(0x74f000)                           = 0x74f000<br />
read(3, &#8220;tring false on failure, version n&#8221;&#8230;, 8192) = 456<br />
read(3, &#8220;&#8221;&#8230;, 8192)                    = 0<br />
read(3, &#8220;&#8221;&#8230;, 8192)                    = 0<br />
close(3)                                = 0<br />
close(2)                                = 0<br />
close(1)                                = 0<br />
munmap(0&#215;40020000, 4096)                = 0<br />
close(0)                                = 0<br />
munmap(0x4001f000, 4096)                = 0<br />
brk(0x6cb000)                           = 0x6cb000<br />
munmap(0x40abe000, 528384)              = 0<br />
open(&#8220;/dev/urandom&#8221;, O_RDONLY)          = 0<br />
read(0, &#8220;\31\303cq&#8221;&#8230;, 4)              = 4<br />
close(0)                                = 0<br />
open(&#8220;/dev/urandom&#8221;, O_RDONLY)          = 0<br />
read(0, &#8220;\210\337\22m&#8221;&#8230;, 4)           = 4<br />
close(0)                                = 0<br />
open(&#8220;/dev/urandom&#8221;, O_RDONLY)          = 0<br />
read(0, &#8220;1\22~v&#8221;&#8230;, 4)                 = 4<br />
close(0)                                = 0<br />
setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0<br />
munmap(0x40a3c000, 93572)               = 0<br />
munmap(0x40a53000, 364456)              = 0<br />
munmap(0x409b0000, 50136)               = 0<br />
munmap(0x409cc000, 457360)              = 0<br />
munmap(0&#215;40993000, 117656)              = 0<br />
brk(0&#215;645000)                           = 0&#215;645000<br />
exit_group(255)                         = ?<br />
}}}</p>
<p>I&#8217;m out of idea to solve this issue. Any hints?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Justin</title>
		<link>https://rathercurious.no3.co.uk/archives/28/comment-page-1#comment-1481</link>
		<dc:creator><![CDATA[Justin]]></dc:creator>
		<pubDate>Mon, 02 Feb 2009 06:34:19 +0000</pubDate>
		<guid isPermaLink="false">http://rathercurious.net/archives/28#comment-1481</guid>
		<description><![CDATA[@Michael: 

Hi Michael 
the error is not so much a plugin error but sqlite/pdo telling you that the query is incorrect. in this case it is telling you that wp_options does not exist, which is indicative that something has gone wrong in the installation.
can you post your wp-config here please? or if you would rather do so offline, mail me at the address provided in http://rathercurious.net/about]]></description>
		<content:encoded><![CDATA[<p>@Michael: </p>
<p>Hi Michael<br />
the error is not so much a plugin error but sqlite/pdo telling you that the query is incorrect. in this case it is telling you that wp_options does not exist, which is indicative that something has gone wrong in the installation.<br />
can you post your wp-config here please? or if you would rather do so offline, mail me at the address provided in <a href="http://rathercurious.net/about" rel="nofollow">http://rathercurious.net/about</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>https://rathercurious.no3.co.uk/archives/28/comment-page-1#comment-1478</link>
		<dc:creator><![CDATA[Michael]]></dc:creator>
		<pubDate>Mon, 02 Feb 2009 05:27:42 +0000</pubDate>
		<guid isPermaLink="false">http://rathercurious.net/archives/28#comment-1478</guid>
		<description><![CDATA[I really like the idea of your plugin, but I&#039;m having a hard time getting it to work. I did a fresh installation of WP 2.7 and got sqlite installed, and added the appropriate extensions to my php.ini file.  When I go to my site it starts to run through the basic setup again (like it did the first time with the MySQL database). However, after putting in my site title and e-mail, the next page (/wp-admin/install.php?step=2) fails with an error:

Error occurred at line 335 in Function prepareQuery.
Error message was: Problem preparing the PDO SQL Statement. Error was Array ( [0] =&gt; HY000 [1] =&gt; 1 [2] =&gt; no such table: wp_options ) 

(There&#039;s more, but I wasn&#039;t sure how much detail you needed.) I&#039;m running PHP v. 5.2.3 with Apache 2.2.4 on Ubuntu 7.10, with pdo_sqlite v. 1.10.2.6 and version 3.2.8 of the SQLite library.  I think it&#039;s awesome that you developed this, and I appreciate any help you can offer.

-Michael]]></description>
		<content:encoded><![CDATA[<p>I really like the idea of your plugin, but I&#8217;m having a hard time getting it to work. I did a fresh installation of WP 2.7 and got sqlite installed, and added the appropriate extensions to my php.ini file.  When I go to my site it starts to run through the basic setup again (like it did the first time with the MySQL database). However, after putting in my site title and e-mail, the next page (/wp-admin/install.php?step=2) fails with an error:</p>
<p>Error occurred at line 335 in Function prepareQuery.<br />
Error message was: Problem preparing the PDO SQL Statement. Error was Array ( [0] =&gt; HY000 [1] =&gt; 1 [2] =&gt; no such table: wp_options ) </p>
<p>(There&#8217;s more, but I wasn&#8217;t sure how much detail you needed.) I&#8217;m running PHP v. 5.2.3 with Apache 2.2.4 on Ubuntu 7.10, with pdo_sqlite v. 1.10.2.6 and version 3.2.8 of the SQLite library.  I think it&#8217;s awesome that you developed this, and I appreciate any help you can offer.</p>
<p>-Michael</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bryce Newall</title>
		<link>https://rathercurious.no3.co.uk/archives/28/comment-page-1#comment-1446</link>
		<dc:creator><![CDATA[Bryce Newall]]></dc:creator>
		<pubDate>Fri, 23 Jan 2009 15:26:30 +0000</pubDate>
		<guid isPermaLink="false">http://rathercurious.net/archives/28#comment-1446</guid>
		<description><![CDATA[Hello Justin,

Thanks!  That did the trick.  Once that was done, though, I had to go in and tweak my Apache settings, since the Apache processes suddenly ballooned up to 13-16 MB each and ate up all of my VPS&#039; memory.  Reducing the number of Apache processes did the trick, though.

-- Bryce]]></description>
		<content:encoded><![CDATA[<p>Hello Justin,</p>
<p>Thanks!  That did the trick.  Once that was done, though, I had to go in and tweak my Apache settings, since the Apache processes suddenly ballooned up to 13-16 MB each and ate up all of my VPS&#8217; memory.  Reducing the number of Apache processes did the trick, though.</p>
<p>&#8211; Bryce</p>
]]></content:encoded>
	</item>
</channel>
</rss>
