<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">

    <title type="text">Bug Tracker</title>
    <subtitle type="text">Bug Tracker:</subtitle>
    <link rel="alternate" type="text/html" href="http://codeigniter.com/bug_tracker/" />
    <link rel="self" type="application/atom+xml" href="http://codeigniter.com/xml/atom/bug_tracker/" />
    <updated>2008-05-13T11:26:43Z</updated>
    <rights>Copyright (c) 2008, a.somervell</rights>
    <generator uri="http://expressionengine.com/" version="1.6.3">ExpressionEngine</generator>
    <id>tag:codeigniter.com,2008:05:13</id>


    <entry>
      <title>welcome.php still calling fake.php</title>
      <link rel="alternate" type="text/html" href="http://codeigniter.com/bug_tracker/bug/4518/" />
      <id>tag:codeigniter.com,2008:bug_tracker/21.4518</id>
      <published>2008-05-13T05:42:00Z</published>
      <updated>2008-05-13T11:26:43Z</updated>
      <author>
            <name>a.somervell</name>
                  </author>

      <content type="html"><![CDATA[
        <p>controllers/welcome.php
</p>
<p>
Line: 13
</p>      ]]></content>
    </entry>

    <entry>
      <title>Session Wont Set in IE7</title>
      <link rel="alternate" type="text/html" href="http://codeigniter.com/bug_tracker/bug/4517/" />
      <id>tag:codeigniter.com,2008:bug_tracker/21.4517</id>
      <published>2008-05-12T23:45:01Z</published>
      <updated>2008-05-13T02:07:33Z</updated>
      <author>
            <name>Popcorn</name>
            <uri>http://www.leveldesign.info/index.php</uri>      </author>

      <category term="Libraries"
        scheme="http://codeigniter.com/bug_tracker/list/category/libraries/"
        label="Libraries" />
      <category term="Session Class"
        scheme="http://codeigniter.com/bug_tracker/list/category/session_class/"
        label="Session Class" />
      <content type="html"><![CDATA[
        <p>A session variable wont be set with IE7 if the session cookie name has an underscore in it.
</p>
<p>
This is a strange bug, at first I was thought to of believed it was a server side issue (clock out of sync). The tech support however did a test and it worked fine for them.
</p>
<p>
There are different results from different people. Hmmm
</p>      ]]></content>
    </entry>

    <entry>
      <title>Mis&#45;spelling which leads to invalid check</title>
      <link rel="alternate" type="text/html" href="http://codeigniter.com/bug_tracker/bug/4515/" />
      <id>tag:codeigniter.com,2008:bug_tracker/21.4515</id>
      <published>2008-05-12T20:22:00Z</published>
      <updated>2008-05-12T21:25:48Z</updated>
      <author>
            <name>lemwn</name>
            <uri>http://www.lemwn.com</uri>      </author>

      <category term="Libraries"
        scheme="http://codeigniter.com/bug_tracker/list/category/libraries/"
        label="Libraries" />
      <category term="Input and Security Class"
        scheme="http://codeigniter.com/bug_tracker/list/category/input_and_security_class/"
        label="Input and Security Class" />
      <content type="html"><![CDATA[
        <p>On line 638 an array of Illegal words are defined, one of which is &#8216;&lt;!CDATA[&#8217;, which should be &#8216;&lt;![CDATA[&#8217; (with the extra bracket after the exclamation mark).
</p>
<p>
Missing this could be a vunerability
</p>      ]]></content>
    </entry>

    <entry>
      <title>$this&#45;&gt;output in display_override Hook</title>
      <link rel="alternate" type="text/html" href="http://codeigniter.com/bug_tracker/bug/4512/" />
      <id>tag:codeigniter.com,2008:bug_tracker/21.4512</id>
      <published>2008-05-11T18:44:00Z</published>
      <updated>2008-05-11T20:13:42Z</updated>
      <author>
            <name>Stuart Marsh</name>
                  </author>

      <category term="User Guide"
        scheme="http://codeigniter.com/bug_tracker/list/category/user_guide/"
        label="User Guide" />
      <content type="html"><![CDATA[
        <p>The user guide states you can use $this-&gt;output-&gt;get_output() in a display_override hook but this doesn&#8217;t work.
<br />
The error given is 
<br />
Message: Undefined property: Display_Hook::$output
<br />
Call to a member function _display() on a non-object
</p>      ]]></content>
    </entry>

    <entry>
      <title>select bug</title>
      <link rel="alternate" type="text/html" href="http://codeigniter.com/bug_tracker/bug/4511/" />
      <id>tag:codeigniter.com,2008:bug_tracker/21.4511</id>
      <published>2008-05-11T11:27:00Z</published>
      <updated>2008-05-11T13:16:14Z</updated>
      <author>
            <name>redips</name>
                  </author>

      <category term="Libraries"
        scheme="http://codeigniter.com/bug_tracker/list/category/libraries/"
        label="Libraries" />
      <category term="Database Class"
        scheme="http://codeigniter.com/bug_tracker/list/category/database_class/"
        label="Database Class" />
      <content type="html"><![CDATA[
        <p>Undesirable ` quotes
</p>
<p>
I suggest not to quote digital column names <img src="http://ellislab.com/images/smileys/wink.gif" width="19" height="19" alt="wink" style="border:0;" />
</p>      ]]></content>
    </entry>

    <entry>
      <title>Update_string and Insert_string do not escape the key correctly</title>
      <link rel="alternate" type="text/html" href="http://codeigniter.com/bug_tracker/bug/4509/" />
      <id>tag:codeigniter.com,2008:bug_tracker/21.4509</id>
      <published>2008-05-10T12:05:00Z</published>
      <updated>2008-05-10T13:05:10Z</updated>
      <author>
            <name>Cheater</name>
                  </author>

      <category term="Libraries"
        scheme="http://codeigniter.com/bug_tracker/list/category/libraries/"
        label="Libraries" />
      <category term="Database Class"
        scheme="http://codeigniter.com/bug_tracker/list/category/database_class/"
        label="Database Class" />
      <content type="html"><![CDATA[
        <p>At least for MySQL, if you use the update_string or insert_string with certain keys (e.g. &#8216;desc&#8217; for description) then MySQL will barf and it usually takes a couple of days to figure out why if you havent encountered it before. <img src="http://ellislab.com/images/smileys/smile.gif" width="19" height="19" alt="smile" style="border:0;" />
</p>
<p>
The problem is MySQL thinks its DESC from a ORDER BY.
<br />
Fields in queries should *always* have backticks around them which tell MySQL that its a field.
</p>
<p>
The fix is simple. For the update code, change it to this:
<br />
        foreach($values as $key =&gt; $val)
<br />
        {
<br />
            $valstr[] = &#8220;`$key` = `$val`&#8221;;
<br />
        }
<br />
Insert Code:
<br />
return &#8220;INSERT INTO &#8220;.$this-&gt;_escape_table($table).&#8221; (`&#8221;.implode(&#8217;`, `&#8217;, $keys)."`) VALUES (&#8221;.implode(&#8217;, &#8216;, $values).")";
</p>
<p>
This bug is probably elsewhere in the code but I&#8217;ve only stumbled across it here.
</p>      ]]></content>
    </entry>

    <entry>
      <title>function is_image() Uses its own mime types, rather than mimes.php</title>
      <link rel="alternate" type="text/html" href="http://codeigniter.com/bug_tracker/bug/4508/" />
      <id>tag:codeigniter.com,2008:bug_tracker/21.4508</id>
      <published>2008-05-09T23:19:00Z</published>
      <updated>2008-05-10T00:25:40Z</updated>
      <author>
            <name>mahuti</name>
            <uri>http://barrettnewton.com</uri>      </author>

      <category term="Libraries"
        scheme="http://codeigniter.com/bug_tracker/list/category/libraries/"
        label="Libraries" />
      <category term="File Uploading Class"
        scheme="http://codeigniter.com/bug_tracker/list/category/file_uploading_class/"
        label="File Uploading Class" />
      <content type="html"><![CDATA[
        <p>I would expect to set mime types in the mimes.php file, and have them recognized throughout the system. Currently, I have 
</p>
<p>
&#8216;jpg&#8217;    =&gt;    array(&#8217;image/jpeg&#8217;, &#8216;image/pjpeg&#8217;,&#8217;application/octet-stream&#8217;),
</p>
<p>
set in the mimes.php file&#8230; the addition here being application/octet-stream
</p>
<p>
Upload.php&#8217;s is_image does not recognize application-octet/stream that I set in the mimes.php file however, because it identifies it&#8217;s own mime types. This seems to be inconsistent behaviour.
</p>      ]]></content>
    </entry>

    <entry>
      <title>Default controller bug when installed in subfolder</title>
      <link rel="alternate" type="text/html" href="http://codeigniter.com/bug_tracker/bug/4507/" />
      <id>tag:codeigniter.com,2008:bug_tracker/21.4507</id>
      <published>2008-05-09T14:59:00Z</published>
      <updated>2008-05-09T16:03:15Z</updated>
      <author>
            <name>FinalFrag</name>
                  </author>

      <content type="html"><![CDATA[
        <p>When CodeIgniter is installed in a subfolder (e.g. http://www.my-website.com/ci) the default controller doesn&#8217;t work anymore. When you visit www.my-website.com/ci/index.php it shows a 404 error, but when you visit www.my-website.com/ci/index.php/welcome it shows the right page.
</p>      ]]></content>
    </entry>

    <entry>
      <title>Image lib PNG transparency doesn’t work</title>
      <link rel="alternate" type="text/html" href="http://codeigniter.com/bug_tracker/bug/4506/" />
      <id>tag:codeigniter.com,2008:bug_tracker/21.4506</id>
      <published>2008-05-09T08:44:00Z</published>
      <updated>2008-05-12T14:50:32Z</updated>
      <author>
            <name>elitemedia</name>
            <uri>http://www.elitemediacompany.com</uri>      </author>

      <category term="Libraries"
        scheme="http://codeigniter.com/bug_tracker/list/category/libraries/"
        label="Libraries" />
      <category term="Image Manipulation Class"
        scheme="http://codeigniter.com/bug_tracker/list/category/image_manipulation_class/"
        label="Image Manipulation Class" />
      <content type="html"><![CDATA[
        <p>Watermarking with an overlay transparent 24 bits PNG does not work as expected (After applying the watermark, the transparency of the overlay image is lost on the result image, it’s filled with black or a pseudo-transparency where it should be transparent)
</p>      ]]></content>
    </entry>

    <entry>
      <title>Oracle Error Message not working</title>
      <link rel="alternate" type="text/html" href="http://codeigniter.com/bug_tracker/bug/4504/" />
      <id>tag:codeigniter.com,2008:bug_tracker/21.4504</id>
      <published>2008-05-08T14:29:00Z</published>
      <updated>2008-05-08T15:29:04Z</updated>
      <author>
            <name>inari</name>
            <uri>http://php.com.hr</uri>      </author>

      <category term="Libraries"
        scheme="http://codeigniter.com/bug_tracker/list/category/libraries/"
        label="Libraries" />
      <category term="Database Class"
        scheme="http://codeigniter.com/bug_tracker/list/category/database_class/"
        label="Database Class" />
      <content type="html"><![CDATA[
        <p>When i’m using MySQL with CI I’m getting all errors if something gets wrong, but with Oracle, only message that I get is blank.
</p>
<p>
Using CI 1.6.1 &amp; ORA 10g XE
</p>      ]]></content>
    </entry>

    <entry>
      <title>Active Record is eating one of my quotes</title>
      <link rel="alternate" type="text/html" href="http://codeigniter.com/bug_tracker/bug/4501/" />
      <id>tag:codeigniter.com,2008:bug_tracker/21.4501</id>
      <published>2008-05-07T21:03:00Z</published>
      <updated>2008-05-09T17:46:23Z</updated>
      <author>
            <name>a_z_</name>
                  </author>

      <category term="Libraries"
        scheme="http://codeigniter.com/bug_tracker/list/category/libraries/"
        label="Libraries" />
      <category term="Database Class"
        scheme="http://codeigniter.com/bug_tracker/list/category/database_class/"
        label="Database Class" />
      <content type="html"><![CDATA[
        <p>I just upgraded to 1.6.1 and an active record query that was previously working is now failing in a strange way.&nbsp; 
</p>
<p>
My select statement has two DATE_FORMATs.&nbsp; The first DATE_FORMAT turns out fine, but the second one is missing the quote before the format string.&nbsp; This causes mysql to choke.
</p>
<p>
Turning off backticks by adding FALSE as the second parameter to the select function doesn’t help.
</p>
<p>
If I remove the comma from the format string the problem goes away.&nbsp; It also seems to go away if the two format strings are different.&nbsp; Even
<br />
if I just add a leading space to one of them!
</p>      ]]></content>
    </entry>

    <entry>
      <title>table named &#8216;table&#8217; doesn&#8217;t work</title>
      <link rel="alternate" type="text/html" href="http://codeigniter.com/bug_tracker/bug/4499/" />
      <id>tag:codeigniter.com,2008:bug_tracker/21.4499</id>
      <published>2008-05-06T10:20:00Z</published>
      <updated>2008-05-12T15:16:50Z</updated>
      <author>
            <name>yoda.pt</name>
                  </author>

      <category term="Scaffolding"
        scheme="http://codeigniter.com/bug_tracker/list/category/scaffolding/"
        label="Scaffolding" />
      <content type="html"><![CDATA[
        <p>When using an mysql table called &#8216;table&#8217;, it outputs  several mysql warnings, perhaps due to confusion with &#8216;TABLE&#8217; syntax. This issue can be fixed by querying with the right characters, like &#8216;`&#8217;.
</p>      ]]></content>
    </entry>

    <entry>
      <title>Cannot find the parsed data within a custom PHP function in views layout page</title>
      <link rel="alternate" type="text/html" href="http://codeigniter.com/bug_tracker/bug/4494/" />
      <id>tag:codeigniter.com,2008:bug_tracker/21.4494</id>
      <published>2008-05-05T00:49:00Z</published>
      <updated>2008-05-05T02:00:18Z</updated>
      <author>
            <name>joneslee</name>
                  </author>

      <category term="Libraries"
        scheme="http://codeigniter.com/bug_tracker/list/category/libraries/"
        label="Libraries" />
      <category term="Input and Security Class"
        scheme="http://codeigniter.com/bug_tracker/list/category/input_and_security_class/"
        label="Input and Security Class" />
      <content type="html"><![CDATA[
        <p>The variable that is parsed from the controller to the layout page cannot be seen from a custom PHP function written within the layout page.
</p>
<p>
Here is the bug reproduction step:
</p>
<p>
In my controller:
</p>
<p>
$in = 1; //just an example
<br />
$data[&#8217;in&#8217;] = $in;
</p>
<p>
In my view page, I wrote an custom PHP function:
</p>
<p>
&lt;?php
<br />
  function view() { echo ($in); }
<br />
?&gt;
</p>
<p>
&lt;html&gt;
<br />
&lt;body&gt;
<br />
&lt;?php view() ?&gt;
<br />
&lt;/body&gt;
<br />
&lt;/html&gt;
</p>      ]]></content>
    </entry>

    <entry>
      <title>Controller documentation small mistake</title>
      <link rel="alternate" type="text/html" href="http://codeigniter.com/bug_tracker/bug/4488/" />
      <id>tag:codeigniter.com,2008:bug_tracker/21.4488</id>
      <published>2008-05-01T22:17:00Z</published>
      <updated>2008-05-03T14:00:20Z</updated>
      <author>
            <name>cronfy</name>
            <uri>http://cronfy.spb.ru</uri>      </author>

      <category term="User Guide"
        scheme="http://codeigniter.com/bug_tracker/list/category/user_guide/"
        label="User Guide" />
      <category term="Typos"
        scheme="http://codeigniter.com/bug_tracker/list/category/typos/"
        label="Typos" />
      <content type="html"><![CDATA[
        <p>On the Controller documentation page (http://codeigniter.com/user_guide/general/controllers.html) there is a mistake in &#8220;Organizing Your Controllers into Sub-folders&#8221; section. Example url
</p>
<p>
www.your-site.com/index.php/products/shoes/123
</p>
<p>
is incorrect. In described situation it will result in a 404 page, because &#8220;123&#8221; represents name of the function in shoes.php Controller here. 
</p>
<p>
One of the correct examples would probably be:
</p>
<p>
www.your-site.com/index.php/products/shoes/show/123
</p>      ]]></content>
    </entry>

    <entry>
      <title>Firefox 3.0b5 Image Upload Error</title>
      <link rel="alternate" type="text/html" href="http://codeigniter.com/bug_tracker/bug/4469/" />
      <id>tag:codeigniter.com,2008:bug_tracker/21.4469</id>
      <published>2008-04-27T03:45:00Z</published>
      <updated>2008-05-10T14:15:15Z</updated>
      <author>
            <name>XtraFile</name>
            <uri>http://xtrafile.com</uri>      </author>

      <content type="html"><![CDATA[
        <p>When uploading an image in FF3b5 the mimetype sent is application/octet-stream, so there is no way for the current upload class to tell if the uploaded file is an image. I have fixed this by switching the is_image function to decide based on file extention.
</p>      ]]></content>
    </entry>


</feed>