On Sun, Jun 15, 2003 at 11:12:15AM +0300, Henri Kaukola wrote: > Hello! > > > On Thu, 2003-06-12 at 15:24, Henri Kaukola wrote: > > > Now we noticed that after that install > > > mgd_get_object_by_guid() returns a boolean > > > instead of an object! > > > > Have you tried running mgd_errstr(); ? > > Nope. In case I wasn't sober enough for last night's > conversation, here's the scenario: > > After mod_midgard_preparser installation > mgd_get_object_by_guid() -function returns > boolean instead of object when it is used to > fetch attachments.
mod-preparser can't make effect on this. But really - check mgd_errstr() after calling mgd_get_object_by_guid(); and look at its result. It would be useful if you'd show it to us. > I'm not sure if I tried using mgd_get_object_by_guid() > with an article/topic also (to see if the function was broken)... > Anyways, I used mgd_get_object_by_guid() and then > gettype() to see what is the result and gettype() returned > a boolean... Just checked it on 3 different installations - 1.4.4, cvs without database structure changes and cvs with structure changes. It works. So I see only one possible problem now - did you repligard -m on this database? -- Regards, Sergei Dolmatov. --- If God had a beard, he'd be a UNIX programmer. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
