-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hello Erik,
Erik Natvig wrote: |>Try to see if you get anything with mgd_errstr(). |>Use it immediately after calling mgd_update_article_created(). | | I get the message "Access denied". | Which is funny, as I don't think I have any kind of access restrictions. | Is there anything I can do about it?
That's the problem. Your current user (if any) is not allowed to write to the object.
First you should check if $midgard->user exists (should if you're under authenticated host).
IF you don't have authenticated user you need to do it before you update the articles:
mgd_auth_midgard($username,$password,0); $midgard = mgd_get_midgard(); //This must be called after auth
That should do it.
| |>If the function really is broken, you could just update the |>records by hand. Either directly from the DB or by PHP script |>with MySQL queries. | | Yes, I might have to resort to that.
Try the instructions above first.
| Thanks for your help!
Not a problem. :)
| Erik |
~ //Henri
- -- Henri Kaukola [EMAIL PROTECTED] Consultant Tel: +358-20-198 6037 Nemein Oy http://www.nemein.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/8YZl3xWc2AolrKgRAstLAKCQgRON/cy8/SUj1lWXXo7gEt+KewCfeDYi S+g43UEhOagVRJq1O/YM0vI= =hU0o -----END PGP SIGNATURE-----
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
