<?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: MSSQL Server 2005 and CodeIgniter</title>
	<atom:link href="http://www.kaweb.co.uk/blog/mssql-server-2005-and-codeigniter/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.kaweb.co.uk/blog/mssql-server-2005-and-codeigniter/</link>
	<description>Kaweb</description>
	<lastBuildDate>Tue, 09 Mar 2010 09:06:17 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9-beta-2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jon</title>
		<link>http://www.kaweb.co.uk/blog/mssql-server-2005-and-codeigniter/comment-page-1/#comment-290</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Tue, 12 Jan 2010 14:47:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.kaweb.co.uk/?p=110#comment-290</guid>
		<description>Hi all.

I&#039;ve actually found a few minutes to update the driver for php_sqlsrv.dll version 1.1, and CodeIgniter 1.7.2 - You can get a newer version of it from the following URL: 

http://www.phrenzy.org/code/sqlsrv-1.1.tar.gz

It contains many of the fixes mentioned in the comments here, plus a few from the CodeIgniter forums.  I hope this helps some of you.</description>
		<content:encoded><![CDATA[<p>Hi all.</p>
<p>I&#8217;ve actually found a few minutes to update the driver for php_sqlsrv.dll version 1.1, and CodeIgniter 1.7.2 &#8211; You can get a newer version of it from the following URL: </p>
<p><a href="http://www.phrenzy.org/code/sqlsrv-1.1.tar.gz" rel="nofollow">http://www.phrenzy.org/code/sqlsrv-1.1.tar.gz</a></p>
<p>It contains many of the fixes mentioned in the comments here, plus a few from the CodeIgniter forums.  I hope this helps some of you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Schwebbie</title>
		<link>http://www.kaweb.co.uk/blog/mssql-server-2005-and-codeigniter/comment-page-1/#comment-284</link>
		<dc:creator>Schwebbie</dc:creator>
		<pubDate>Wed, 06 Jan 2010 14:55:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.kaweb.co.uk/?p=110#comment-284</guid>
		<description>Thanks for this CI driver! I was *finally* able to connect to SQL Server 2005. I&#039;m running an AppServ 2.5.8 install on a Windows XP machine.

I followed the instructions on the Microsoft site to install the new PHP driver. I did have to create an empty db_set_charset function in sqlsrv_driver.php to finally get it to work.

Thanks again for your work!</description>
		<content:encoded><![CDATA[<p>Thanks for this CI driver! I was *finally* able to connect to SQL Server 2005. I&#8217;m running an AppServ 2.5.8 install on a Windows XP machine.</p>
<p>I followed the instructions on the Microsoft site to install the new PHP driver. I did have to create an empty db_set_charset function in sqlsrv_driver.php to finally get it to work.</p>
<p>Thanks again for your work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mikko</title>
		<link>http://www.kaweb.co.uk/blog/mssql-server-2005-and-codeigniter/comment-page-1/#comment-220</link>
		<dc:creator>Mikko</dc:creator>
		<pubDate>Mon, 30 Nov 2009 11:40:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.kaweb.co.uk/?p=110#comment-220</guid>
		<description>Thank you for this.

I also got a blank screen and &quot;PHP Fatal error:  Call to undefined method CI_DB_sqlsrv_driver::_db_set_charset(). Adding function db_set_charset to sqlsrv_driver.php solved the issue:

function db_set_charset($charset, $collation) { return TRUE; }

(Using IIS7, SQL Server 2008 and Codeigniter 1.7.2)</description>
		<content:encoded><![CDATA[<p>Thank you for this.</p>
<p>I also got a blank screen and &#8220;PHP Fatal error:  Call to undefined method CI_DB_sqlsrv_driver::_db_set_charset(). Adding function db_set_charset to sqlsrv_driver.php solved the issue:</p>
<p>function db_set_charset($charset, $collation) { return TRUE; }</p>
<p>(Using IIS7, SQL Server 2008 and Codeigniter 1.7.2)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon</title>
		<link>http://www.kaweb.co.uk/blog/mssql-server-2005-and-codeigniter/comment-page-1/#comment-51</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Wed, 04 Feb 2009 08:54:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.kaweb.co.uk/?p=110#comment-51</guid>
		<description>If you&#039;re experiencing a blank screen, it&#039;s indicative of a mistake in your configuration (especially since the same happens with the MSSQL driver).

First port of call would be to check your IIS7 error log, and your connection settings in config/database.php.</description>
		<content:encoded><![CDATA[<p>If you&#8217;re experiencing a blank screen, it&#8217;s indicative of a mistake in your configuration (especially since the same happens with the MSSQL driver).</p>
<p>First port of call would be to check your IIS7 error log, and your connection settings in config/database.php.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kaweb</title>
		<link>http://www.kaweb.co.uk/blog/mssql-server-2005-and-codeigniter/comment-page-1/#comment-50</link>
		<dc:creator>Kaweb</dc:creator>
		<pubDate>Fri, 30 Jan 2009 08:40:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.kaweb.co.uk/?p=110#comment-50</guid>
		<description>Hi Julian,

Unfortunately Jon (the main man for this) is away until Wednesday next week. Will get him to drop you a line then.</description>
		<content:encoded><![CDATA[<p>Hi Julian,</p>
<p>Unfortunately Jon (the main man for this) is away until Wednesday next week. Will get him to drop you a line then.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Julian</title>
		<link>http://www.kaweb.co.uk/blog/mssql-server-2005-and-codeigniter/comment-page-1/#comment-48</link>
		<dc:creator>Julian</dc:creator>
		<pubDate>Wed, 28 Jan 2009 23:29:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.kaweb.co.uk/?p=110#comment-48</guid>
		<description>Hi, thank you for the information.

I&#039;m tring tu run CodeIgniter 1.7 in Windows 2008 with IIS7 and SQLServer 2005.

I also updated the sqlsrv drivers for SQLServer 2005.

Right now only get a blank screen when I try to load the database library having the database.php configured to use sqlsrv driver. The same happened when I tried to use mssql driver.

Any thoughts? :(</description>
		<content:encoded><![CDATA[<p>Hi, thank you for the information.</p>
<p>I&#8217;m tring tu run CodeIgniter 1.7 in Windows 2008 with IIS7 and SQLServer 2005.</p>
<p>I also updated the sqlsrv drivers for SQLServer 2005.</p>
<p>Right now only get a blank screen when I try to load the database library having the database.php configured to use sqlsrv driver. The same happened when I tried to use mssql driver.</p>
<p>Any thoughts? <img src='http://www.kaweb.co.uk/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://www.kaweb.co.uk/blog/mssql-server-2005-and-codeigniter/comment-page-1/#comment-42</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Sat, 08 Nov 2008 21:20:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.kaweb.co.uk/?p=110#comment-42</guid>
		<description>Hey thanks for this. You think 2005 is bad? We&#039;re moving to sql server 2008, and it pretty much kills any remaining support with PHP outside of php_sqlsrv.dll. I was just hoping I could find someone who&#039;s already written an abstraction layer for it so I wouldn&#039;t have to do it myself. :D</description>
		<content:encoded><![CDATA[<p>Hey thanks for this. You think 2005 is bad? We&#8217;re moving to sql server 2008, and it pretty much kills any remaining support with PHP outside of php_sqlsrv.dll. I was just hoping I could find someone who&#8217;s already written an abstraction layer for it so I wouldn&#8217;t have to do it myself. <img src='http://www.kaweb.co.uk/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon</title>
		<link>http://www.kaweb.co.uk/blog/mssql-server-2005-and-codeigniter/comment-page-1/#comment-41</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Fri, 24 Oct 2008 07:45:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.kaweb.co.uk/?p=110#comment-41</guid>
		<description>@NTulip:

Ah yes, thank you for your comment.  As mentioned in another one of the comments here, according to the documentation released by Microsofts Data team, there is no way to set the character set at this moment in time.

Incidentally, Microsoft just released an October update, so I will see if that has any new configuration options which would allow UTF-8 connections.</description>
		<content:encoded><![CDATA[<p>@NTulip:</p>
<p>Ah yes, thank you for your comment.  As mentioned in another one of the comments here, according to the documentation released by Microsofts Data team, there is no way to set the character set at this moment in time.</p>
<p>Incidentally, Microsoft just released an October update, so I will see if that has any new configuration options which would allow UTF-8 connections.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NTulip</title>
		<link>http://www.kaweb.co.uk/blog/mssql-server-2005-and-codeigniter/comment-page-1/#comment-40</link>
		<dc:creator>NTulip</dc:creator>
		<pubDate>Thu, 23 Oct 2008 21:46:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.kaweb.co.uk/?p=110#comment-40</guid>
		<description>Re: My previous comment:

In database.php

change $db[&#039;default&#039;][&#039;db_debug&#039;] to FALSE;

Fixed. This doesn&#039;t mean there won&#039;t be a problem, but the welcome screen comes up.</description>
		<content:encoded><![CDATA[<p>Re: My previous comment:</p>
<p>In database.php</p>
<p>change $db['default']['db_debug'] to FALSE;</p>
<p>Fixed. This doesn&#8217;t mean there won&#8217;t be a problem, but the welcome screen comes up.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NTulip</title>
		<link>http://www.kaweb.co.uk/blog/mssql-server-2005-and-codeigniter/comment-page-1/#comment-39</link>
		<dc:creator>NTulip</dc:creator>
		<pubDate>Thu, 23 Oct 2008 21:34:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.kaweb.co.uk/?p=110#comment-39</guid>
		<description>Connecting to a named instance &quot;server\instance&quot; throws the same error like the above:

Call to undefined method CI_DB_sqlsrv_driver::db_set_charset()

Created dummy function db_set_charset() and that error is no longer shown.

System does throw a different error now:

Unable to set client connection character set: utf8

Any ideas on a fix?</description>
		<content:encoded><![CDATA[<p>Connecting to a named instance &#8220;server\instance&#8221; throws the same error like the above:</p>
<p>Call to undefined method CI_DB_sqlsrv_driver::db_set_charset()</p>
<p>Created dummy function db_set_charset() and that error is no longer shown.</p>
<p>System does throw a different error now:</p>
<p>Unable to set client connection character set: utf8</p>
<p>Any ideas on a fix?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
