Check the permissions for the directory. The webserver has to have
write access to the dir.

On Fri, Aug 7, 2009 at 4:02 PM, leafchild<leafchild.b...@gmail.com> wrote:
>
> I'm trying to make this plugin(http://www.milesj.me/resources/script/
> uploader-plugin) works.
>
> However, after I install I'm getting an error - Warning (2): mkdir()
> [function.mkdir]: Permission denied [CORE/cake/libs/folder.php, line
> 466]
> Actually I tried another behavior to upload file and got same error.
> Do  I need to do some kind of server setting? I'm using MT(dv)
>
> Also after submit to upload file I'm getting an SQL error because data
> need to be one but it try to update entire file data:
>
> ==========================================
> [id] =>1
> [uploadfile] => Array
>               (
>                   [name] => IMG_0801.JPG
>                   [type] => image/jpeg
>                   [tmp_name] => /tmp/phpbo9DjW
>                   [error] => 0
>                   [size] => 404887
>               )
> [desc] =>
> ...
> ===========================================
> "uplodefile" 's data is not array just [NAME] of file.
>
> How can I stop doing it? I can't use "$this->Landing->save($this-
>>data)" if I have file uploading?
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to