Hi Ryan, I am one of the admin users, and I have the problem that the button is missing on many pages (which has not always been the case, I would have spotted this). I tried your ?hdfdump=1 hint and can_create is indeed false for those pages missing the button. There are not interface customizations except a custom logo .png file.
Best regards Joerg 2017-06-13 6:52 GMT+02:00 RjOllos <[email protected]>: > > On Monday, June 12, 2017 at 1:45:16 AM UTC-7, Joerg Pleumann wrote: >> >> Hi Ryan, >> >> here's the screenshot. I also tool a look at the page source. This is a >> page where the button is missing. Seems there is really no HTML element for >> the button on the problem pages. >> >> <div class="buttons"> <form method="get" >> action="/trac/android/wiki/WikiStart" id="modifypage"> <div> >> <input type="hidden" name="action" value="edit" /> >> <input type="submit" value="Wiki-Seite bearbeiten" /> >> </div> </form> <form method="get" >> action="/trac/android/wiki/WikiStart" id="rename"> <div> >> <input type="hidden" name="action" value="rename" /> >> <input type="submit" value="Seite umbenennen" /> </div> >> </form> <form method="get" >> action="/trac/android/wiki/WikiStart" id="delete"> <div> >> <input type="hidden" name="action" value="delete" /> >> <input type="hidden" name="version" value="207" /> <input >> type="submit" name="delete_version" value="Diese Version löschen" /> >> <input type="submit" value="Wiki-Seite löschen" /> >> </div> </form> </div> >> >> >> This is a page where the button is present. The button element has no >> indentation, so maybe it's being generated in a special way or by a special >> component? >> >> <div class="buttons"> <form method="get" >> action="/trac/android/wiki/Team" id="modifypage"> <div> >> <input type="hidden" name="action" value="edit" /> >> <input type="submit" value="Wiki-Seite bearbeiten" /> >> </div> </form> <form method="get" >> action="/trac/android/attachment/wiki/Team/" id="attachfile"> <div> >> <input type="hidden" name="action" value="new" /> <input type="submit" >> id="attachfilebutton" value="Datei anhängen" /> </div></form> >> <form method="get" action="/trac/android/wiki/Team" id="rename"> >> <div> <input type="hidden" name="action" value="rename" /> >> <input type="submit" value="Seite umbenennen" /> >> </div> </form> <form method="get" >> action="/trac/android/wiki/Team" id="delete"> <div> >> <input type="hidden" name="action" value="delete" /> >> <input type="hidden" name="version" value="7" /> <input >> type="submit" name="delete_version" value="Diese Version löschen" /> >> <input type="submit" value="Wiki-Seite löschen" /> >> </div> </form> </div> >> >> >> Best regards >> Joerg >> > > Side note: You should uninstall TracGit, as the features are included in > Trac since 1.0, and may conflict with tracopt.versioncontrol.git: > https://trac.edgewall.org/wiki/TracUpgrade#ObsoletePlugins1 > https://trac.edgewall.org/wiki/TracRepositoryAdmin#Enablingthecomponents > > The issue is puzzling. Does the Attach file button appear on WikiStart for > a user with TRAC_ADMIN? > > As TRAC_ADMIN, you can append "?hdfdump=1" to the URL and inspect the > template data. If the Attach file button does not appear for a user with > TRAC_ADMIN, is "can_create" in the "attachments" dictionary "False"? > > Below the "Installed Plugins" section on the About page, there should be > an "Interface Customization" section, unless you have no custom CSS, JS or > HTML templates. Does that section appears on your /about page? If you had > some old copies of templates from an earlier version of Trac, those could > conflict. > > Another possibility that would result in out-of-date static resources is > not doing a refresh after upgrading from an earlier version: > https://trac.edgewall.org/wiki/TracUpgrade#a5.Refreshstaticresources > > What is in your [trac] permission_policies option? > > - Ryan > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Trac Users" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/trac-users/ShxT73WG1QQ/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/trac-users. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
