Apologies if I'm missing an obvious issue; searching the group shows
what appear to be related, but not identical, problems.

Running Trac 0.11.1 under Linux (2.6.18), Apache 2.2.9 with
mod_fastcgi 2.4.6.  When a user attempts to add an attachment to a
ticket or wiki page, clicking "Add Attachment"  yields a blank
attachments page; file is not attached.  User is authenticated,
"authenticated" group has TICKET_APPEND and TICKET_MODIFY; no joy if
user has TRAC_ADMIN as well.  Permissions config from trac.ini:
permission_policies = DefaultPermissionPolicy, LegacyAttachmentPolicy
permission_store = DefaultPermissionStore

No notations in Apache error log; access log appears to note
successful request:

192.168.0.131 - - [20/Nov/2008:11:16:40 -0500] "GET /test/trac/
attachment/ticket/19/?action=new&attachfilebutton=Attach+file HTTP/
1.1" 200 4863
192.168.0.131 - - [20/Nov/2008:11:16:53 -0500] "POST /test/trac/
attachment/ticket/19/?action=new&attachfilebutton=Attach+file HTTP/
1.1" 200 3872

though that size seems  bit odd (attempting to upload ~4 kb file).

Trac log doesn't note any problems, either:

2008-11-20 11:16:40,750 Trac[main] DEBUG: Dispatching <Request "GET u'/
attachment/ticket/19/'">
2008-11-20 11:16:40,754 Trac[chrome] DEBUG: Prepare chrome data for
request
2008-11-20 11:16:40,760 Trac[session] DEBUG: Retrieving session for ID
u'Charles Bailey'
2008-11-20 11:16:40,807 Trac[main] DEBUG: 207 unreachable objects
found.
2008-11-20 11:16:53,063 Trac[main] DEBUG: Dispatching <Request "POST
u'/attachment/ticket/19/'">
2008-11-20 11:16:53,068 Trac[chrome] DEBUG: Prepare chrome data for
request
2008-11-20 11:16:53,077 Trac[session] DEBUG: Retrieving session for ID
u'Charles Bailey'
2008-11-20 11:16:53,122 Trac[main] DEBUG: 484 unreachable objects
found.

Attachments directory permissions look OK to me:
drwxrwxr-x 2 baileyc apache 4096 Oct  9 12:02 attachments

I did see a thread noting problems with mod_fcgid but no solutions.
Are there FastCGI problems I'm missing?

Any guidance on things to check, pointers to TFM, or other hints
welcome.

Thanks.

Regards,
Charles Bailey


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to