Re: Uploading file issue - worning mkdir()

2009-08-12 Thread brian
I doubt that it's a good idea to leave that commented. Try putting this just above those lines: die(debug($pathname)); Set debug to 2 and see what that shows. Maybe the path is wrong somehow. On Wed, Aug 12, 2009 at 12:57 AM, leafchild bookleafchild.b...@gmail.com wrote: I'm trying to upload

Re: Uploading file issue - worning mkdir()

2009-08-11 Thread leafchild
The uploaded img directory permission is set to 777 and just in case I even changed webroot permission to 777 but I'm still seeing same warning message. Where else I need to check? Also how can I stop update with entire file data to database? after trying to upload file debug show:

Re: Uploading file issue - worning mkdir()

2009-08-11 Thread anurag pal
Hi, I have the same issue. I found that its using different path for uploading file. For stopping details to database just first upload the file and then insert or update record in database. If you can provide the source code it would be better to diagnose the problem. Regards, Anurag Pal On

Re: Uploading file issue - worning mkdir()

2009-08-11 Thread leafchild book
Hi Anurag, Thank you for the comment. Where is your upload file directory? Is still in webroot? Thanks, leafchild On Tue, Aug 11, 2009 at 1:43 AM, anurag pal mail.anurag@gmail.comwrote: Hi, I have the same issue. I found that its using different path for uploading file. For stopping

Re: Uploading file issue - worning mkdir()

2009-08-11 Thread brian
Don't set the permissions wide open for webroot dir! That's not a good idea at all. What is the full path of the directory you want to upload to? I'm sorry, I'm not familiar with the plugin and don't understand your other question about the data. On Tue, Aug 11, 2009 at 4:06 AM,

Re: Uploading file issue - worning mkdir()

2009-08-11 Thread leafchild book
I'm trying to upload to /webroot/img/uploads/ both /img and /uploads directory has permission 777 and getting an error: Warning (2): mkdir() [function.mkdir]: Permission denied [CORE/cake/libs/folder.php, line 466] so I commented out line 466 ~ 476 in folder.php file: /* if (mkdir($pathname,

Uploading file issue - worning mkdir()

2009-08-07 Thread leafchild
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

Re: Uploading file issue - worning mkdir()

2009-08-07 Thread brian
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, leafchildleafchild.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