Re: problem with mgd_list_topics

"Uung H.R Bhuwono" <[email protected]> 21 Sep 2005 08:45:03 -0000
Newsgroups gmane.comp.web.midgard.user
Message-ID <[email protected]>
Hi Piotras,

I don't know where the line 992 is because there is a lot of pageelement
included on the page.
the echo "$sahabat_topic"; give empty result and I'm hoping it will give me
Object output like what I do with echo "$ttgkami_topic";
The fatal error thing happen on these following code :

<?
while ($sahabat_topic->fetch()) { 
?>
<!-- html part -->
ttgkami[t] ='<a
href="<?=$site->uri.$topics_array[$sahabat_topic->id];?>/">&(sahabat_topic.extra);</a>'
<!-- end of html part -->
<?
}
?>

On Wed, 21 Sep 2005 10:13:59 +0200, Piotras <pp-VVDi8QVAvoBWk0Htik3J/[email protected]> wrote :

> "Uung H.R Bhuwono" <[email protected]> wrote:
> 
> > But for topic sahabat :
> > 
> > $sahabat_topic = mgd_list_topics(160);
> > echo "$sahabat_topic"; /* strangely give me error "Fatal error: Call to a
> > member function on a non-object in ROOT on line 992" */
> > 
> > 
> > Does anyone can give me a hint why is sahabat topic give me such error?
> > (I'm using midgard 1.5)
> 
> More code please.
> echo "$sahabat_topic"; is this line 992 ?
> 
> Piotras
> 
> 
> 
> 
> --------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe-b5ZhpPVuLA+tlBvVaVFjCkB+6BGkLq7r@public.gmane.org
> For additional commands, e-mail: [email protected]
> 
> 
> 
> 


-- 
Uung H.R Bhuwono
Technical Officer
Visuacommunika Digital Media - PT Pangeran Jaya Putra 
http://www.vc-digital.com
[email protected]
Yahoo Messenger : bhuwono
MSN Messenger : [email protected]
Jabber Messenger : avenpace-/[email protected]
Phone Number : +62 815 8000385

Hail The Revolution...!!!!