Andy C wrote: > On Nov 4, 2:58�pm, Richard Catto <[EMAIL PROTECTED]> wrote: > > Matt Read wrote: > > > On Mon, Nov 3, 2008 at 7:13 AM, Richard Catto <[EMAIL PROTECTED]> wrote: > > > > All I get is Root and Browse > > > > I have no .deriv directory. > > > > I've followed all the instructions regarding permissions and .htaccess > > > > and this plugin does not work for me. > > > > None of the fixes posted so far work a darn. > > > try r2751 > > Try English. > Hi Richard > > While I share your frustration about not being able to get the Habari > media silo working, it might be prudent to show a little more respect > to a developer who is trying to help you.
I was indicating to him that his answer is unintelligible to me. > Matt was referring to the fact that he recently submitted a change to > the Habari code that may have fixed the issue. > Unfortunately, for me, using Google Chrome it didn't. Neither does the > media silo work in Firefox (when it used to). > r2751 refers to the version number in Subversion which is the version > control system used by Habari. > There is a Web based interface to subversion where you see changes > browse the source code. > For example, the change Matt referred to above > http://trac.habariproject.org/habari/changeset/2751 That I can understand. > It is possible to install Subversion client software so you can pull > the latest changes. I used subversion to install habari and I'm at version 2756 of habari. I ran 'svn up' 5 seconds ago at the command line using ssh. > You can also register for an account and log bugs in trac. Done and done. I'm a PHP developer myself but new to habari. Currently I blog on WordPress and have done so since 2005. I am enthusiastic about the habari project because I believe a class based system is a huge step forward and enables developers to much more easily understand code and locate bugs. I've isolated the code segment that is causing the failure to display the 'Upload' and 'Create Directory' links in the HabariSilo class in the file habarisilo.plugin.php: public function filter_media_controls( $controls, $silo, $path, $panelname ) { $class = __CLASS__; if( $silo instanceof $class ) { $controls[]= $this->link_path( self::SILO_NAME . '/' . $path, 'Browse' ); if( User::identify()->can( 'upload_media' ) ) { $controls[]= $this->link_panel(self::SILO_NAME . '/' . $path, 'upload', 'Upload'); } if( User::identify()->can( 'create_directories' ) ) { $controls[]= $this->link_panel(self::SILO_NAME . '/' . $path, 'mkdir', 'Create Directory'); } } return $controls; } The 'User::identify()->can' is returning false in both instances, which indicates to me, by following the code through user.php and acl.php that Habari thinks that the logged in user does not have sufficient rights to manage MediaSilos. However, I have exactly one user defined in my Habari installation which is the admin user created by the Habari installation. Something is going wrong where that user is not being given the permissions needed to manage MediaSilos. --~--~---------~--~----~------------~-------~--~----~ 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/habari-users -~----------~----~----~----~------~----~------~--~---
