Hello all, On further investigation, I have confirmed that attachments used to be working on our Trac installation, and now they are not. The attachment button no longer appears on tickets or wiki pages, and existing attachments generate errors (e.g. an image in a ticket now renders as a red error box reading "Error: Macro Image(screenshot.jpg) failed local variable 'desc' referenced before assignment")
(We are running Trac 0.11dev-r6160 with AccountManager, authz-policy, CustomFieldAdmin, loginredirect and WikiInclude plugins on Linux via Apache.) Possible causes that I have attempted to fix: * set trac.ini group:owner to root:apache (overwriting this file had changed these settings) * set authzpolicy.conf group:owner to root:apache (same reason as above) * set attachments directory group:owner to root:apache (dunno how this changed but it did; the subdirectories are all correctly set to apache:apache) * restarting Apache server after making these changes Are there any other conditions that might make Trac automatically ignore attachments? Thanks for any pointers given! [EMAIL PROTECTED] On Nov 21, 8:16 pm, "[EMAIL PROTECTED] seaward" <[EMAIL PROTECTED]> wrote: > Hello all, > > There is probably a really simple answer to this, but I can't see it > after comparing trac.inis, permissions and Googling. > > How do you enable adding attachments to wiki pages? I have the > TRAC_ADMIN permission and the "Attach file" button doesn't appear at > the bottom of the page. > > How embarrassing :) > > [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
