The Habari silo tries to create the 'files' directory and the '.deriv' directory with 766 permission. Often, for reasons I don't know, it is not able to do so.
I'm glad you found the problem. Thanks for sticking with it. Rick On Aug 28, 4:22 am, "Lars Oeschey" <[EMAIL PROTECTED]> wrote: > doh... I found it (not giving up helps ;)) > > The folder "files" itself had permission of 700. Set it to 755 and > everythings fine. Does this happen at installation? All other folders the > same level had 755... > > 2008/8/27 Lars Oeschey <[EMAIL PROTECTED]> > > > Another test: I tried to insert a picture into an article, and previewed > > it. The picture wouldn't show, and I have the same error message about > > htaccess in the error_log. To me it seems, as if the Silo would try to > > access images with non-relative paths? > > > 2008/8/27 Lars Oeschey <[EMAIL PROTECTED]> > > > hm, I tried putting a empty .htaccess file in > >> /var/www/web13/web/user/files/.htaccess, still no go... what I find a bit > >> suspicious, is the path that is used here... it's the direct file system > >> path, while everything else is opened by relative paths, i.e. GET > >> /system/themes/charcoal/images/main_bg.png > > >> how can that absolute path get there? (and this *could* be the problem, > >> since the php process running with suexec can't access the / dir) > > >> 2008/8/26 Lars Oeschey <[EMAIL PROTECTED]> > > >> Strange... I tried that, and set the directory containing the image and > >>> the .deriv directory to 755, and still can't see them. I found this in the > >>> error_log: > > >>> [Tue Aug 26 14:09:04 2008] [crit] [client 143.164.102.14] (13)Permission > >>> denied: /var/www/web13/web/user/files/.htaccess pcfg_openfile: unable to > >>> check htaccess file, ensure it is readable, referer: > >>>http://blog.oeschey.de/admin/publish?slug=automower-sp-sse-teil-1 > > >>> why does it expect a .htaccess file *there*? > > >>> Lars > >>> (btw, please excuse my bad quoting, I subscribed with my gmail account > >>> and have to use webmail) > > >>> 2008/8/26 rick c <[EMAIL PROTECTED]> > > >>>> The image and thumbnail files should be okay with 644. However, I've > >>>> found I've had to change the directory permissions to 755 to be able > >>>> to display the thumbnails. > > >>>> Rick > > >>>> On Aug 26, 4:21 am, "Lars Oeschey" <[EMAIL PROTECTED]> wrote: > >>>> > So, I checked now via ftp. There is a .deriv directory, and it > >>>> contains > >>>> > thumbnails, though I can't see them in the backend. Initially all > >>>> files were > >>>> > created with 600 rights, which normally should be ok, since I run a > >>>> > suexec/phpcgi system (i.e. apache runs as the same user as the ftp > >>>> user, > >>>> > which is the owner of the files). To check that, I changed all rights > >>>> > (image, .deriv directory and thumbnail file) up until I had 644. Still > >>>> no > >>>> > go, no thumbs visible. I can't check ownership right now (no ssh from > >>>> here), > >>>> > but I'd bet that it's ok (I run all my joomla and other sites with > >>>> that > >>>> > suexec system). Any other ideas? > > >>>> > Lars > > >>>> > 2008/8/26 Lars Oeschey <[EMAIL PROTECTED]> > > >>>> > > ok, then I can guess now why there aren't any thumbnails, because I > >>>> found > >>>> > > the directory creation function *after* uploading (hence the files > >>>> are in > >>>> > > root dir)... I'll check that with ftp later > > >>>> > > thanks, Lars > > >>>> > > 2008/8/26 rick c <[EMAIL PROTECTED]> > > >>>> > >> No, there isn't anything more advanced right now, Lars. > > >>>> > >> You should be getting thumbnail views of your images, When you > >>>> upload > >>>> > >> an image, if it doesn't already exist, the Habari silo attempts to > >>>> > >> create a .deriv directory as a subdirectory of the directory where > >>>> you > >>>> > >> uploaded the image and create a thumbnail there that is shown in > >>>> the > >>>> > >> silo. In some cases, the .deriv directory either can't be created > >>>> or > >>>> > >> is created with insufficient permissions for Habari to use it. If > >>>> > >> the .deriv directory isn't created, create it by hand. Set the > >>>> > >> permissions on it to 755 or 775, whichever works to allow the > >>>> > >> thumbnails to be created and displayed. You should then be able to > >>>> get > >>>> > >> thumbnail images that can be used to insert the image into your > >>>> post > >>>> > >> at the current cursor position by doubleclicking the thumbnail. > > >>>> > >> Regarding the delete functionality, the silo has the hooks for it, > >>>> but > >>>> > >> the functionality hasn't yet been enabled. I hope this helps. > > >>>> > >> Rick > > >>>> > >> On Aug 25, 7:45 pm, Lars_Oeschey <[EMAIL PROTECTED]> wrote: > >>>> > >> > Hi, > > >>>> > >> > I found out how to upload images to habari. There's also a > >>>> possibility > >>>> > >> > to create directories. What I'm missing though, is a thumbnails > >>>> view > >>>> > >> > of the images (am I missing something here?) and a possibility to > >>>> > >> > delete. Is there maybe a plugin that has a more advanced media > >>>> > >> > management? > > >>>> > >> > Lars --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
