On Mon, 29 May 2000, [ IGP Internet ] wrote:
> but it's a neverending story, isn't it...
> midgard complaints that $object->deleteattachment(string name) and
> $object->delete_attachment(string name) are unimplemented or undefined.
> mgd_delete_attachment(int id) works fine with me though...
Just tried this and I see no problem. Where does the complaint turn up? In
the browser, in the logs?
> And another strange thing I don't understand, really. Uploading files.
> Copied David's code 'as is', and it worked fine. Then it stopped working.
> Basta. Now, whenever I try to upload something, it bangs a warning:
> 'Warning: Only 8192 bytes were written, expected to write <here goes the
> real file size> in /etc/httpd/conf/midgard-root.php3 on line 18 (sometimes
> it's line 0)'
> Could it be it's a browser's bug (IE5) or what? I'm using a little
> redirection on site, but that's way before file upload, and it was there
> before, while upload worked. Confusion is nice word for this :)
Is there enough space in the temporary upload directory? If it wasn't
specified in php3.ini, man tempnam will tell you where.
> Could you explain mgd_auth_midgard() again? Emiliano said in one of his msgs
> that mgd_auth_midgard($usrname,$passwd,0) authorizes user w/o sending the
> cookie. What's the difference between 1 and 0 as last parameter, both of
> them send me the cookie.
That shouldn't happen. Does it make any difference if you use FALSE
instead of 0?
> I tried authorizing with
> mgd_auth_midgard($username,$password,0); and $midgar->user was 0. Then I
> used header("Location: $midgard->uri"); and $midgard->user became expected
> user id. Same thing when logging user out.
This I don't quite follow.
Emile
--
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]