Alan Knowles wrote:
> It appears that if you server images from files, in host with midgardengine
> on, it occasionally fails to serve the image.. - the filetemplate stuff kicks
> in, then most of the time it works -
>
> Most of our images are 'Alias /images/ /var/www/images/'
>
> I cant find any likely location of the problem, and will need alot more
> testing - probably on another box!
For the time being I've made the filetemplates optional. I'll
investigate
but they must not be the problem.
> - there are still a few problems with article updates:
>
> the changes from 1.10 -> 1.11 seem to be some of it,
>
> the line
> if (!mgd_exists_id(mgd_handle(), "person", "id=$id", (*author)->value.lval))
> does a sitegroup check on the authenticated user -
No, this line makes sure that the author ID exists. There's no reference
to the
authenticated user.
> not checking to see if they are the SG0 admin!
You're right, fixed.
> This turned out to be my 0000-00-00 00:00:00 values in article.created, which
> when turned into date_format(.......,) result in NULL in mysql and cause
> midgard to segfault!
At what point? Does MySQL actually return NULL for these dates?
Emile
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]