Hi,
Just a thought: usually every Sitegroup in Aegir gets ist own page
/attachments.
I think in your host-table this is missing for the host with id:8 (last
entry).
Usually Aegir creates this page when you create a new company.
Did you maybe use sitewizard for creation? (Not sure if sitewizard does
create an entry in host-table for attachments host as Aegir does)
Easiest way to check this would probably be creating a new company using
Aegir and see if it works in there.
BTW: if you want to try and create the attachment-host "by hand" in
mysql, the prefix is always named
/attachments/{guid_of_sitegroup_this_host_belongs_to}, everything else
should be same as existing host-entry.
Hope that helps,
Cheers, Alex
> config: a completely clean install of Midgard 1.8.4 with all
> stable pear packages and a clean php install.
>
> issue: When an image (or file) is uploaded in Aegir or
> Spider, it appears broken in Aegir and does not even display
> in spider. The file is being uploaded correctly (the file
> appears in the blobs directory), it just cannot display which
> leads me to think there is a path problem somewhere.
>
> Apache error log on trying to display the image:
> [Tue Aug 21 12:09:56 2007] [debug] midgard-apache2.c(1338):
> [client 82.69.12.189] midgard_translate_handler(utf-8,
> http://www.cio.leeds.nhs.uk:8080/attachment/c19734a64fd511dca7
> 5c2f76f2deed68ed68/c9249d8e4fd611dcabdddbe2207bda67da67/clip_i
> mage001.gif)
> [Tue Aug 21 12:09:56 2007] [debug] midgard-apache2.c(216):
> [client 82.69.12.189] Midgard: lang set to 0 [Tue Aug 21
> 12:09:56 2007] [debug] midgard-apache2.c(603): [client
> 82.69.12.189] Midgard: extension = .php, default: .php,
> parser = utf-8 [Tue Aug 21 12:09:56 2007] [debug]
> midgard-apache2.c(634): [client 82.69.12.189] Midgard:
> regenerating /var/local/cache/midgard/midgard/8-83-17-0.php:
> no cache entries [Tue Aug 21 12:09:56 2007] [debug]
> midgard-apache2.c(1553): [client 82.69.12.189] Midgard:
> serving page /var/local/cache/midgard/midgard/8-83-17-0.php
> [Tue Aug 21 12:09:56 2007] [debug] midgard-apache2.c(1558):
> [client 82.69.12.189] Midgard: setting blobdir
> /var/local/lib/midgard/blobs/midgard
>
> browser error:
> Not Found
> This page is not available on this server
> Error 404
>
> i have tried several completely clean reinstalls but cannot
> get this to work. On the other hand, the midcom editor
> works, uploads and accesses content without any issues.
>
> This affects all sitegroups
>
> Content from midgard.hosts:
> | 1 | www.cio.leeds.nhs.uk | 4 | 5 | | 1 |
> 8080 | 1 | /aegir | 0 | 0
> | | 0000-00-00 00:00:00
> | | 0000-00-00 00:00:00
> | 0 | | 0000-00-00 00:00:00
> | | 0000-00-00 00:00:00 |
> d6c0f8004fd311dc9459c946700ff0d5f0d5 | |
> 0000-00-00 00:00:00 | 0000-00-00 00:00:00 |
> 0 | 0 |
> de7e7b9e4fd311dcb525e7d9e81e43084308 | 0 |
> 0000-00-00 00:00:00 | 0000-00-00 00:00:00 | 0000-00-00
> 00:00:00 | 0 | 0 |
> | 2 | www.cio.leeds.nhs.uk | 18 | 6 | | 1 |
> 8080 | 1 | /attachment/0 | 0 | 0
> | | 0000-00-00 00:00:00
> | | 0000-00-00 00:00:00
> | 0 | | 0000-00-00 00:00:00
> | | 0000-00-00 00:00:00 |
> d6c0f8004fd311dc9459c946700ff0d5f0d5 | |
> 0000-00-00 00:00:00 | 0000-00-00 00:00:00 |
> 0 | 0 |
> e04d5cc44fd311dcb525e7d9e81e43084308 | 0 |
> 0000-00-00 00:00:00 | 0000-00-00 00:00:00 | 0000-00-00
> 00:00:00 | 0 | 0 |
> | 3 | devel.aegir-cms.org | 45 | 7 | | 2 |
> 8080 | 1 | /sample | 0 | 0
> | | 0000-00-00 00:00:00
> | | 0000-00-00 00:00:00
> | 0 | | 0000-00-00 00:00:00
> | | 0000-00-00 00:00:00 |
> d6c5a8a04fd311dc9459c946700ff0d5f0d5 | |
> 0000-00-00 00:00:00 | 0000-00-00 00:00:00 |
> 0 | 0 |
> e0c231d44fd311dcb5802742536e30463046 | 0 |
> 0000-00-00 00:00:00 | 0000-00-00 00:00:00 | 0000-00-00
> 00:00:00 | 0 | 0 |
> | 4 | devel.aegir-cms.org | 49 | 6 | | 0 |
> 8080 | 1 | /mole | 0 | 0
> | | 0000-00-00 00:00:00
> | | 0000-00-00 00:00:00
> | 0 | | 0000-00-00 00:00:00
> | | 0000-00-00 00:00:00 |
> | | 0000-00-00 00:00:00
> | 0000-00-00 00:00:00 | 0 |
> 0 | e193106a4fd311dc83367bfacbc24afd4afd | 0 |
> 0000-00-00 00:00:00 | 0000-00-00 00:00:00 | 0000-00-00
> 00:00:00 | 0 | 0 |
> | 5 | www.cio.leeds.nhs.uk | 51 | 8 | auth | 0 |
> 8080 | 1 | /spider-admin | 0 | 0
> | | 0000-00-00 00:00:00
> | | 0000-00-00 00:00:00
> | 0 | | 0000-00-00 00:00:00
> | | 0000-00-00 00:00:00 |
> | | 0000-00-00 00:00:00
> | 0000-00-00 00:00:00 | 0 |
> 0 | e1de28844fd311dc81a743a8c12f02700270 | 0 |
> 0000-00-00 00:00:00 | 0000-00-00 00:00:00 | 0000-00-00
> 00:00:00 | 0 | 0 |
> | 6 | www.cio.leeds.nhs.uk | 64 | 10 | auth | 0 |
> 8080 | 1 | /spider-admin/attachment/0 | 0 | 0
> | | 0000-00-00 00:00:00
> | | 0000-00-00 00:00:00
> | 0 | | 0000-00-00 00:00:00
> | | 0000-00-00 00:00:00 |
> | | 0000-00-00 00:00:00
> | 0000-00-00 00:00:00 | 0 |
> 0 | e1e5e06a4fd311dc81a743a8c12f02700270 | 0 |
> 0000-00-00 00:00:00 | 0000-00-00 00:00:00 | 0000-00-00
> 00:00:00 | 0 | 0 |
> | 7 | www.cio.leeds.nhs.uk | 82 | 0 | | 0 |
> 8080 | 1 | /midgard-sitewizard | 0 | 0
> | d6bba4904fd311dc8957a1d9d90c14441444 | 2007-08-21 10:52:06
> | d6bba4904fd311dc8957a1d9d90c14441444 | 2007-08-21 10:52:06
> | 0 | | 0000-00-00 00:00:00
> | | 0000-00-00 00:00:00 |
> | | 0000-00-00 00:00:00
> | 0000-00-00 00:00:00 | 0 |
> 0 | 8f3ec59c4fd411dc948745ed821089998999 | 108 |
> 2007-08-21 10:52:06 | 0000-00-00 00:00:00 | 0000-00-00
> 00:00:00 | 0 | 0 |
> | 8 | www.cio.leeds.nhs.uk | 83 | 0 | | 0 |
> 8080 | 1 | | 1 | 0
> | d6bba4904fd311dc8957a1d9d90c14441444 | 2007-08-21 11:01:17
> | d6bba4904fd311dc8957a1d9d90c14441444 | 2007-08-21 11:01:17
> | 0 | | 0000-00-00 00:00:00
> | | 0000-00-00 00:00:00 |
> | | 0000-00-00 00:00:00
> | 0000-00-00 00:00:00 | 0 |
> 0 | d726e3844fd511dca75c2f76f2deed68ed68 | 100 |
> 2007-08-21 11:01:17 | 0000-00-00 00:00:00 | 0000-00-00
> 00:00:00 | 0 | 0 |
>
>
> any help appreciated :)
>
> Mike.
> _______________________________________________
> user mailing list
> [email protected]
> http://lists.midgard-> project.org/mailman/listinfo/user
>
_______________________________________________
user mailing list
[email protected]
http://lists.midgard-project.org/mailman/listinfo/user