Axel Gebauer wrote:
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:One point might be that the article is in SGx and you're trying to open it under a host belonging to SGy, SG0 stuff is readable under all sitegroups.
$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?
/Rambo
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
