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!

- 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 - not checking to see if they
are the SG0 admin!

so if you try and update an article as SG0 it fails.. 

the next line needs an if(up), before testing if (*up)->.....

I'm testing our update images script,that goes through almost every object
trying to do a search and replace...  

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!

regards

alan



> Must be the database connection fix... how old was the previous
> install?
> 
> Emile
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 



-- 
Technical Director
Linux Center (HK) Ltd.
www.hklc.com



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to