Posted by Sharique on August 8, 2007 at 2:28pm
When I try to upload image by Imce , it gives invalid filename error.
Its working in old server, last night I moved site to new server.
-----
Sharique
When I try to upload image by Imce , it gives invalid filename error.
Its working in old server, last night I moved site to new server.
-----
Sharique
Comments
imce
Did you check the file permissions of the files directory. you have to chmod it to 777, all the folders in the files directory.
Kavita
Kavita
Yes
files directory and its sub-directory all are have 777 permission.
-------
Sharique uddin Ahmed Farooqui
Web Developer
http://it.Managefolio.com
Sharique Ahmed Farooqui
upgrade to latest imce
I encountered this problem today after upgrading a site from 4.7.7 to 5.2. Turns out my IMCE module was not the latest and greatest. (I had installed a devel/test 5.x codebase many months ago....)
This problem is brought up in this bug report, and seems to be fixed in the May 10 5.x-1.0 IMCE release (that's the version I installed that fixed the issue).
HTH.
Greg
Same Problem...
"....and seems to be fixed in the May 10 5.x-1.0 IMCE release (that's the version I installed that fixed the issue)."
I've installed this new version and am still having the same trouble.
Any other ideas?
Fixing this bug
Replace line 240 in imce.module from
$file['name'] = substr($file['name'], -48); //max filename lenght is 48to
$file['name'] = strlen($file['name'])>48 ? substr($file['name'], -48) : $file['name'];(thanks to ufku, see http://drupal.org/node/133117)
Thanks from me also
Hooray, quickest fix ever for me, thanks ufku and kirnik
I'm happy being miserable
I'm happy being miserable
Super! Thanks
Super! Thanks