<?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>jonnycarroll &#187; Bugs</title>
	<atom:link href="http://www.jonnycarroll.co.uk/index.php/tag/bugs/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jonnycarroll.co.uk</link>
	<description>thoughts, opinions and tips from and for the web community (plus non work stuff)</description>
	<lastBuildDate>Tue, 07 Feb 2012 20:14:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>IE7 fieldset input position bug</title>
		<link>http://www.jonnycarroll.co.uk/index.php/2006/12/01/ie7-fieldset-input-position-bug/</link>
		<comments>http://www.jonnycarroll.co.uk/index.php/2006/12/01/ie7-fieldset-input-position-bug/#comments</comments>
		<pubDate>Fri, 01 Dec 2006 17:15:35 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[HTML/CSS]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Bugs]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[IE7]]></category>

		<guid isPermaLink="false">http://blog.jcarroll.org.uk/index.php/2006/12/01/ie7-fieldset-input-position-bug/</guid>
		<description><![CDATA[Whilst developing some view related material for a new project I&#8217;ve been working on I came across this rather puzzling that affects various types of input fields in Internet Explorer 7 (I haven&#8217;t checked to see if it occurs in lower versions of IE): Basically, when an input tag is surrounded by a fieldset tag which [...]]]></description>
			<content:encoded><![CDATA[<p>Whilst developing some view related material for a new project I&#8217;ve been working on I came across this rather puzzling that affects various types of input fields in Internet Explorer 7 (I haven&#8217;t checked to see if it occurs in lower versions of IE):</p>
<p>Basically, when an input tag is surrounded by a fieldset tag which is surrounded by a containing tag such as a div with a left margin, the input tag inherits the margin defined in the containing div. Here&#8217;s an example of what I mean:</p>
<div style="font-family: Courier New, Courier">(div style=&#8221;border: #ccc 1px solid&#8221;)<br />
(div style=&#8221;margin: 50px; border: blue 1px solid&#8221;)       Container with 50px margin<br />
(fieldset)<br />
(legend)Fieldset(/legend)<br />
(input type=&#8221;file&#8221; /)<br />
(input type=&#8221;checkbox&#8221; value=&#8221;on&#8221; /) Checkbox is not affected<br />
(/fieldset)<br />
(/div)<br />
(div)</div>
<p>If you try this in IE you&#8217;ll see that the file input box inherits the 50px margin. Very odd indeed!</p>
<p>Anyway, after a quick browse on the web I found the solution (and the cause of the problem):</p>
<p>Simply surround your input fields with a containing div (don&#8217;t use a p tag if it&#8217;s within a form tag as it will break page validation) and set the margin of that div to 0.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jonnycarroll.co.uk/index.php/2006/12/01/ie7-fieldset-input-position-bug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Issue with PHP 5.0.4 and MySQL 4.1+</title>
		<link>http://www.jonnycarroll.co.uk/index.php/2006/07/31/issue-between-php-504-and-mysql-41/</link>
		<comments>http://www.jonnycarroll.co.uk/index.php/2006/07/31/issue-between-php-504-and-mysql-41/#comments</comments>
		<pubDate>Mon, 31 Jul 2006 18:55:44 +0000</pubDate>
		<dc:creator>Jonathan</dc:creator>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Bugs]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://blog.jcarroll.org.uk/index.php/2006/07/31/issue-between-php-504-and-mysql-41/</guid>
		<description><![CDATA[Now, this is quite an interesting little issue, and one which I discovered whilst trying to set up this very blog &#8211; the famous 5 minute install turned into a much less famous, though equally prolific I&#8217;m sure, 3 hour install &#8211; I&#8217;m used to it though, I&#8217;m a software developer afterall! Anyway, the issue [...]]]></description>
			<content:encoded><![CDATA[<p>Now, this is quite an interesting little issue, and one which I discovered whilst trying to set up this very blog &#8211; the famous 5 minute install turned into a much less famous, though equally prolific I&#8217;m sure, 3 hour install &#8211; I&#8217;m used to it though, I&#8217;m a software developer afterall!</p>
<p>Anyway, the issue revolves around the MySQL client version that&#8217;s bundled with versions of PHP prior to 5.1 (I&#8217;m not sure if this version suffers from the same problem). The client version is 3.23.58 and it turns out that it doesn&#8217;t support the new password encryption format being used in MySQL versions 4.1 and above. What a pain.</p>
<p><strong>&#8220;So what options does one have?&#8221; I hear you cry.</strong></p>
<ol>
<li>You can install MySQL v4.0.xx (I&#8217;ve invested enough time with v5.0 so not likely!)</li>
<li>Try upgrading to the very latest version of PHP hoping that their MySQL client is an updated (I&#8217;m not 100% if this will solve the problem &#8211; certainly I tried this and had no success. MySQL is also disabled by default in PHP 5 so there is an extra level of configurmuration)</li>
<li>Enable a flag telling MySQL to use the old password method (I chose this option in the end)</li>
</ol>
<p>If you have MySQL Administrator GUI installed, you can use it to connect as &#8216;root&#8217; and check the flag to use old password under the server configuration tab. Alternatively, you can run mysql with the &#8211;old-passwords flag, which does exactly the same thing.</p>
<p>Deep joy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jonnycarroll.co.uk/index.php/2006/07/31/issue-between-php-504-and-mysql-41/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

