<?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: CodeIgniter: Call to a member function on a non-object</title>
	<atom:link href="http://grasshopperpebbles.com/codeigniter/codeigniter-call-to-a-member-function-on-a-non-object/feed/" rel="self" type="application/rss+xml" />
	<link>http://grasshopperpebbles.com/codeigniter/codeigniter-call-to-a-member-function-on-a-non-object/</link>
	<description>Ajax and Ajax Frameworks</description>
	<lastBuildDate>Thu, 26 Aug 2010 03:45:46 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: liaqat ali</title>
		<link>http://grasshopperpebbles.com/codeigniter/codeigniter-call-to-a-member-function-on-a-non-object/#comment-1567</link>
		<dc:creator>liaqat ali</dc:creator>
		<pubDate>Wed, 11 Aug 2010 13:18:37 +0000</pubDate>
		<guid isPermaLink="false">http://grasshopperpebbles.com/?p=204#comment-1567</guid>
		<description>Hi All, I am Developing a web site. my below code work perfectly. but i have a problem i want &quot;$statsid&quot; above the second foreach, i want to pass this as variable or id to controller to get the data from table where equls to this &quot;$statsid&quot;
              
              	 result() as $rows):?&gt; 
                  
                
                	
                	&lt;img src=&quot;config-&gt;item(&#039;base_url&#039;).$rows-&gt;profile_picture_path;?&gt;&quot; /&gt;
                    
                    user_name;?&gt;  description;?&gt;
                    &lt;a href=&quot;#nogo&quot; id=&quot;status_id;?&gt;&quot; class=&quot;image_title&quot; /&gt;Comments&lt;/a&gt;
                   

 status_id; ?&gt;
                    
					result() as $rs):?&gt; 
                        
                        
                        
                        &lt;img src=&quot;config-&gt;item(&#039;base_url&#039;).$rows-&gt;profile_picture_path;?&gt;&quot; /&gt;
                        
                       	user_name;?&gt; status_comment;?&gt;
                         
                        
                        
                        
                       
                    </description>
		<content:encoded><![CDATA[<div class="KonaBody">
<div id="mediatext">
<!-- google_ad_section_start --><br />
<!--Amazon_CLS_IM_START--><br />
Hi All, I am Developing a web site. my below code work perfectly. but i have a problem i want &#8220;$statsid&#8221; above the second foreach, i want to pass this as variable or id to controller to get the data from table where equls to this &#8220;$statsid&#8221;</p>
<p>              	 result() as $rows):?&gt; </p>
<p>                	&lt;img src=&quot;config-&gt;item(&#8217;base_url&#8217;).$rows-&gt;profile_picture_path;?&gt;&#8221; /&gt;</p>
<p>                    user_name;?&gt;  description;?&gt;<br />
                    &lt;a href=&quot;#nogo&quot; id=&quot;status_id;?&gt;&#8221; class=&#8221;image_title&#8221; /&gt;Comments</p>
<p> status_id; ?&gt;</p>
<p>					result() as $rs):?&gt; </p>
<p>                        &lt;img src=&quot;config-&gt;item(&#8217;base_url&#8217;).$rows-&gt;profile_picture_path;?&gt;&#8221; /&gt;</p>
<p>                       	user_name;?&gt; status_comment;?&gt;<!--Amazon_CLS_IM_END--><br />
<!-- google_ad_section_end -->
</div>
</div>
<link rel="stylesheet" type="text/css" href="http://grasshopperpebbles.com/wp-content/plugins/tippy/dom_tooltip.css" media="screen" /><script type="text/javascript" src="http://grasshopperpebbles.com/wp-content/plugins/tippy/dom_tooltip.js"></script>]]></content:encoded>
	</item>
	<item>
		<title>By: Pravin Sawant</title>
		<link>http://grasshopperpebbles.com/codeigniter/codeigniter-call-to-a-member-function-on-a-non-object/#comment-1091</link>
		<dc:creator>Pravin Sawant</dc:creator>
		<pubDate>Wed, 07 Apr 2010 04:48:24 +0000</pubDate>
		<guid isPermaLink="false">http://grasshopperpebbles.com/?p=204#comment-1091</guid>
		<description>Hi All,
i am also facing the same problem and this solution works for me

Thanks</description>
		<content:encoded><![CDATA[<div class="KonaBody">
<div id="mediatext">
<!-- google_ad_section_start --><br />
<!--Amazon_CLS_IM_START--><br />
Hi All,<br />
i am also facing the same problem and this solution works for me</p>
<p>Thanks<!--Amazon_CLS_IM_END--><br />
<!-- google_ad_section_end -->
</div>
</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Da BomB</title>
		<link>http://grasshopperpebbles.com/codeigniter/codeigniter-call-to-a-member-function-on-a-non-object/#comment-1075</link>
		<dc:creator>Da BomB</dc:creator>
		<pubDate>Thu, 25 Mar 2010 16:30:10 +0000</pubDate>
		<guid isPermaLink="false">http://grasshopperpebbles.com/?p=204#comment-1075</guid>
		<description>This also works on view&#039;s.

When loading a view in a helper function the same error rises. with this solution it should work.

I think it&#039;s not a best practice, but it will do the job.</description>
		<content:encoded><![CDATA[<div class="KonaBody">
<div id="mediatext">
<!-- google_ad_section_start --><br />
<!--Amazon_CLS_IM_START--><br />
This also works on view&#8217;s.</p>
<p>When loading a view in a helper function the same error rises. with this solution it should work.</p>
<p>I think it&#8217;s not a best practice, but it will do the job.<!--Amazon_CLS_IM_END--><br />
<!-- google_ad_section_end -->
</div>
</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dhrubo</title>
		<link>http://grasshopperpebbles.com/codeigniter/codeigniter-call-to-a-member-function-on-a-non-object/#comment-877</link>
		<dc:creator>Dhrubo</dc:creator>
		<pubDate>Thu, 04 Feb 2010 04:45:16 +0000</pubDate>
		<guid isPermaLink="false">http://grasshopperpebbles.com/?p=204#comment-877</guid>
		<description>I&#039;ve meet this problem this morning and through your solution I&#039;ve helped much. Thanks.</description>
		<content:encoded><![CDATA[<div class="KonaBody">
<div id="mediatext">
<!-- google_ad_section_start --><br />
<!--Amazon_CLS_IM_START--><br />
I&#8217;ve meet this problem this morning and through your solution I&#8217;ve helped much. Thanks.<!--Amazon_CLS_IM_END--><br />
<!-- google_ad_section_end -->
</div>
</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: yaro</title>
		<link>http://grasshopperpebbles.com/codeigniter/codeigniter-call-to-a-member-function-on-a-non-object/#comment-748</link>
		<dc:creator>yaro</dc:creator>
		<pubDate>Wed, 06 Jan 2010 09:54:17 +0000</pubDate>
		<guid isPermaLink="false">http://grasshopperpebbles.com/?p=204#comment-748</guid>
		<description>Hi,

I searched a solution for this problem all evening yeaterday and nothing :(. Today i again search and.... it&#039;s work!!! Big big thank&#039;s!:)</description>
		<content:encoded><![CDATA[<div class="KonaBody">
<div id="mediatext">
<!-- google_ad_section_start --><br />
<!--Amazon_CLS_IM_START--><br />
Hi,</p>
<p>I searched a solution for this problem all evening yeaterday and nothing <img src='http://grasshopperpebbles.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> . Today i again search and&#8230;. it&#8217;s work!!! Big big thank&#8217;s!:)<!--Amazon_CLS_IM_END--><br />
<!-- google_ad_section_end -->
</div>
</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://grasshopperpebbles.com/codeigniter/codeigniter-call-to-a-member-function-on-a-non-object/#comment-669</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Tue, 15 Dec 2009 10:14:46 +0000</pubDate>
		<guid isPermaLink="false">http://grasshopperpebbles.com/?p=204#comment-669</guid>
		<description>Hi,

I had exactly the same problem and this fixed it for me. Many thanks,

Andy</description>
		<content:encoded><![CDATA[<div class="KonaBody">
<div id="mediatext">
<!-- google_ad_section_start --><br />
<!--Amazon_CLS_IM_START--><br />
Hi,</p>
<p>I had exactly the same problem and this fixed it for me. Many thanks,</p>
<p>Andy<!--Amazon_CLS_IM_END--><br />
<!-- google_ad_section_end -->
</div>
</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://grasshopperpebbles.com/codeigniter/codeigniter-call-to-a-member-function-on-a-non-object/#comment-406</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sun, 15 Nov 2009 06:06:47 +0000</pubDate>
		<guid isPermaLink="false">http://grasshopperpebbles.com/?p=204#comment-406</guid>
		<description>I copied the code directly from a project that I worked on.</description>
		<content:encoded><![CDATA[<div class="KonaBody">
<div id="mediatext">
<!-- google_ad_section_start --><br />
<!--Amazon_CLS_IM_START--><br />
I copied the code directly from a project that I worked on.<!--Amazon_CLS_IM_END--><br />
<!-- google_ad_section_end -->
</div>
</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: John P.</title>
		<link>http://grasshopperpebbles.com/codeigniter/codeigniter-call-to-a-member-function-on-a-non-object/#comment-402</link>
		<dc:creator>John P.</dc:creator>
		<pubDate>Sat, 14 Nov 2009 14:31:50 +0000</pubDate>
		<guid isPermaLink="false">http://grasshopperpebbles.com/?p=204#comment-402</guid>
		<description>I think there is a problem with your code...

function addGalleryImages(){
     ...
     $CI =&amp; get_instance();
     $this-&gt;load-&gt;model(&#039;mUtilImages&#039;);
     ...
     $CI-&gt;mUtilImages-&gt;setImageFile($_FILES[&#039;uploadFile&#039;]);
}


Shouldn&#039;t it be:

     $CI-&gt;load-&gt;model(&#039;mUtilImages&#039;);

?
.-= John P.&#180;s last blog ..&lt;a href=&quot;http://www.ururk.com/?p=81&quot; rel=&quot;nofollow&quot;&gt;Mouseterpiece Theatre&lt;/a&gt; =-.</description>
		<content:encoded><![CDATA[<div class="KonaBody">
<div id="mediatext">
<!-- google_ad_section_start --><br />
<!--Amazon_CLS_IM_START--><br />
I think there is a problem with your code&#8230;</p>
<p>function addGalleryImages(){<br />
     &#8230;<br />
     $CI =&amp; get_instance();<br />
     $this-&gt;load-&gt;model(&#8217;mUtilImages&#8217;);<br />
     &#8230;<br />
     $CI-&gt;mUtilImages-&gt;setImageFile($_FILES['uploadFile']);<br />
}</p>
<p>Shouldn&#8217;t it be:</p>
<p>     $CI-&gt;load-&gt;model(&#8217;mUtilImages&#8217;);</p>
<p>?<br />
<span class="cluv"> John P.&#180;s last blog ..<a href="http://www.ururk.com/?p=81" rel="nofollow">Mouseterpiece Theatre</a> =-.<!--Amazon_CLS_IM_END--><br />
<!-- google_ad_section_end --><br />
</span></div>
<p><img class="heart_tip" alt="My ComLuv Profile" border="0" width="16" height="14" src="http://grasshopperpebbles.com/wp-content/plugins/commentluv/images/littleheart.gif"/></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://grasshopperpebbles.com/codeigniter/codeigniter-call-to-a-member-function-on-a-non-object/#comment-301</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sun, 25 Oct 2009 02:43:40 +0000</pubDate>
		<guid isPermaLink="false">http://grasshopperpebbles.com/?p=204#comment-301</guid>
		<description>I need more information. Can u send me code snippets and let me know exactly where you receive the error?</description>
		<content:encoded><![CDATA[<div class="KonaBody">
<div id="mediatext">
<!-- google_ad_section_start --><br />
<!--Amazon_CLS_IM_START--><br />
I need more information. Can u send me code snippets and let me know exactly where you receive the error?<!--Amazon_CLS_IM_END--><br />
<!-- google_ad_section_end -->
</div>
</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: anata_arie</title>
		<link>http://grasshopperpebbles.com/codeigniter/codeigniter-call-to-a-member-function-on-a-non-object/#comment-296</link>
		<dc:creator>anata_arie</dc:creator>
		<pubDate>Sat, 24 Oct 2009 16:34:17 +0000</pubDate>
		<guid isPermaLink="false">http://grasshopperpebbles.com/?p=204#comment-296</guid>
		<description>Hi, I&#039;ve try your solution to use $CI = &amp; get_instance();
but it didn&#039;t work too. Have you another solution?
Thanks</description>
		<content:encoded><![CDATA[<div class="KonaBody">
<div id="mediatext">
<!-- google_ad_section_start --><br />
<!--Amazon_CLS_IM_START--><br />
Hi, I&#8217;ve try your solution to use $CI = &amp; get_instance();<br />
but it didn&#8217;t work too. Have you another solution?<br />
Thanks<!--Amazon_CLS_IM_END--><br />
<!-- google_ad_section_end -->
</div>
</div>
]]></content:encoded>
	</item>
</channel>
</rss>
