> 
> >    mgd_errno();
> >    $id = $article->create();
> 
> It is no longer necessary to call mgd_errno before a midgard call to clear
> the error status.
>
Good!
 
> >    if(!$id) {
> >     echo "Failed to create article<br>\n";
> >     echo "Reason: " . mgd_errstr(mgd_errno()) . "\n";
> 
> and there is now a fix in CVS that makes mgd_errstr() the same as
> mgd_errstr(mgd_errno())

Great!

> > Which results in the following output:
> > 
> > Article created. ID of article is 17.
> > Failed to create attachment.
> > Reason: Object does not exist
> > 
> > So I do succeed in creating an article, and I would assume that that would
> > only be possible if the $article object would exist. 
> > LogLevel is set to debug, no relevant messages though.
> > 
> > What's wrong in this picture?
> 
> What's wrong is that the oop create functions didn't set the object ID
> after creation. I think, because I would expect "Not an object" instead of
> "Object does not exist". Can you try again?
> 
Got the CVS update, did a clean compile, installed it, no joy. Exactly the
same output. This install went smoothly btw. thanks to your fix to both
mgd_apache.h 's

-- 
'The joy of my life is in Zion - Lauryn Hill'
Armand A. Verstappen * <[EMAIL PROTECTED]> *


--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to