thx for the pointers. I got it to work ... well kind of. it spits up
all sorts of errors and doesn't properly save the .jpg in the
directory (though does right the file location to the db) and it does
create a file but it's a garbage image. any ideas?

thx.

allen

Notice (8): Undefined variable: filtered_filename
[CORE/app/models/behaviors/upload.php, line 97]

Notice (8): Undefined index:  random_filename
[CORE/app/models/behaviors/upload.php, line 127]

Notice (8): Undefined variable: thumbsize
[CORE/app/models/behaviors/upload.php, line 151]

Warning (2): imagecreatetruecolor() [function.imagecreatetruecolor]:
Invalid image dimensions [CORE/app/models/behaviors/upload.php, line
200]

Warning (2): imagecopyresampled(): supplied argument is not a valid
Image resource [CORE/app/models/behaviors/upload.php, line 201]

Warning (2): imagejpeg(): supplied argument is not a valid Image
resource [CORE/app/models/behaviors/upload.php, line 207]


Warning (2): imagedestroy(): supplied argument is not a valid Image
resource [CORE/app/models/behaviors/upload.php, line 210]


On 6/13/07, Geoff Ford <[EMAIL PROTECTED]> wrote:
>
> Yeah forgot to mention that - I just assumed that you were using 1.2
> because you were asking about behaviours.  I got caught out on that
> when I was trying to use the Tree Behaviour on a 1.1 project :)
>
> On Jun 14, 5:22 am, Joshua McFarren <[EMAIL PROTECTED]> wrote:
> > You're using cake 1.2 right? FYI there are no behaviors in 1.1
>
>
> >
>


-- 
blog: http://romeroax.blogspot.com
non-profit: http://www.onematch.org
events: http://www.galaxy13.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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