On Tue, Oct 14, 2008 at 4:51 PM, Henri Bergius <[EMAIL PROTECTED]> wrote:
> Yes, some elements were still using the legacy metadata fields 
> (article.created) instead of standard Midgard ones
> (article.metadata.published).

Also, there were some places still using the legacy Aegir attachment
server which obviously doesn't work with 8.09.

A simple workaround for that is putting the aegir hosts offline:
update host set online=0 where prefix like '/attachment%';

...and then creating a page element code-init-before-midcom like this:

<?php
// Redirect old Aegir attachment server URLs
if (substr($_MIDGARD['uri'], 0, 45) ==
'/attachment/a193abc6c8ffcd8930d470889cd06714/')
{
    header("Location: /midcom-serveattachmentguid-" .
substr($_MIDGARD['uri'], 45));
    header("HTTP/1.1 301 Moved Permanently");
    exit();
}
?>

/Bergie

-- 
Henri Bergius
Motorcycle Adventures and Free Software
http://bergie.iki.fi/

Skype: henribergius
Jabber: [EMAIL PROTECTED]
Jaiku: http://bergie.jaiku.com/
_______________________________________________
user mailing list
[email protected]
http://lists.midgard-project.org/mailman/listinfo/user

Reply via email to