David,
I got the plugin to work. Had to download it from the svn repository.
The available files on the forge to download are missing some files in
the attm-package. Also I don't know if this is something I did but
when I include the security component the plugin won't upload images.

On Aug 19, 10:34 am, Jared <[EMAIL PROTECTED]> wrote:
> David,
> The documents confused me when it asked me to go to the other text
> file and do the install except for a certain part. I also was confused
> on what actually media root refers to and where to put the directories
> that it talks about. Maybe just combine the instructions into one
> document. I've had to move on from trying to get this to work but will
> come back to it in a bit.
>
> On Aug 7, 11:34 am, David Persson <[EMAIL PROTECTED]> wrote:
>
> > Hi Alessandro,
>
> > I'm not going to update the Bakery article before the 0.50er series is
> > at least beta and I'm sure it works in most cases. Did you find the
> > READMEs in the plugins/attachements/docs and plugins/media/docs
> > directories? I'm sorry that I can't provide you with an instant
> > solution. I hope you can wait a 3-5 weeks (this seems very long in
> > webdevelopment isn't it?).
>
> > David
>
> > p.s.: if you can tell me where the docs confuse you i fix that.
>
> > On 7 Aug., 12:04, Alessandro Daducci <[EMAIL PROTECTED]>
> > wrote:
>
> > > Thanks David,
> > > but now I have problem in figuring out how to use this version of your
> > > code. I'm new in using plugins and I'm not even able to build your
> > > example.. :-(
> > > Did you write any sort of tutorial for using it like the wonderful one
> > > article you wrote on the Bakery (http://bakery.cakephp.org/articles/
> > > view/attachments)?
>
> > > Alessandro
>
> > > On 6 Ago, 01:00, David Persson <[EMAIL PROTECTED]> wrote:
>
> > > > Hi Alessandro,
>
> > > > I was aware of the problem that a very few hosters won't have the
> > > > finfo extension nor the mime_content_type function. The Mimetype class
> > > > which is in the package too is responsible for handling all mimetype
> > > > requests. It should fall back to extension based lookup if content
> > > > based is not available or does not yield anything.
>
> > > > There are e.g.  temporary files ("/tmp/3234kjfsdf") where both methods
> > > > would fail in your case.
>
> > > > If you are using the latest unstable == 0.50alphaattmpackage and you
> > > > experience those mimetype detection problems during uploads then
> > > > simply exclude the mimetype rule by commenting or removing it from
> > > > plugins/attachments/models/attachment.php.
>
> > > > On 5 Aug., 21:27, Alessandro Daducci <[EMAIL PROTECTED]>
> > > > wrote:
>
> > > > > I'm trying tu use the 'attmbehaviour' by David Persson, but I can't
> > > > > figure out how to use this behaviour if I only need to work on file-
> > > > > extensions and not on mime-type.
>
> > > > > This is because on my localhost there are no problems at all, but I
> > > > > have to install a cakephp site on a hosting service not supporting
> > > > > 'finfo' nor 'mime_content_type' functions.
>
> > > > > How can I solve this problem?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to