I am sorry. I see, I misunderstood the way to check wether I got an
article or not. My origin problem I have not solved yet was
different. When trying to get an article by using:
$article = mgd_get_article($art_id);
if(! $article ) {
echo "failed to get article.<br>\n";
echo "reason: ".mgd_errstr()."<br>";
} else {
echo '<div class="h3">'.$article->title.'</div>';
echo '<div class="p">'.$article->content.'</div>';
}
I always get:
failed to get article.
reason: Object does not exist
Nevertheless the article exists; I can read and edit it in asgard. Is
it a problem of of wrong set permissions/user rights?
Thank You for Your answers.
Regards, Axel
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
- Re: [midgard-user] cannot get article Axel Gebauer
- Re: [midgard-user] cannot get article Eero af Heurlin
