File Manager - Invalid File error message
Permalink
Hi
I'm setting up my first Concrete5 website as an intranet for the company i work for.
I'm having an issue when trying to upload images from the front end and the back end. When i select the image (only using jpg at the moment) and try to upload it, most of the time it keeps coming up with "Invalid File" then rarely it will actually upload the image first time. I have searched the forums but can't find anything related to this issue. It's driving me mad as i can't work out why most the time it doesn't work but then sometimes it does.
Thank you in advance for your help.
I'm setting up my first Concrete5 website as an intranet for the company i work for.
I'm having an issue when trying to upload images from the front end and the back end. When i select the image (only using jpg at the moment) and try to upload it, most of the time it keeps coming up with "Invalid File" then rarely it will actually upload the image first time. I have searched the forums but can't find anything related to this issue. It's driving me mad as i can't work out why most the time it doesn't work but then sometimes it does.
Thank you in advance for your help.
any chance there are spaces in the file names of the ones that aren't going up?
No none of my files have any spaces. if the file name has more than one word they are seperated with a hyphon ("-") even images with one name (no spaces or hyphons) fail as well.
What i can't understand is why they fail then sometimes they work.
I have also noticed that when i do a bulk upload of images using the "more" option. It shows the status of uploaded but they don't appear in the images list.
What i can't understand is why they fail then sometimes they work.
I have also noticed that when i do a bulk upload of images using the "more" option. It shows the status of uploaded but they don't appear in the images list.
is it possible they're all over a certain size and your php install has a low file size upload limit?
I'm not quite sure what the file size limit is for my install but it failed on a 7kb image.
well that's not it then.. are you talking about the single image upload or the multi-file upload under "more"?
if the latter, does your server had mod_security installed?
if the latter, does your server had mod_security installed?
It only comes up with the invalid file message for single image upload.
The multi-file upload shows that the file has uploaded but doesn't show in the file manager list.
As for the mod_security I've never heard of this and so i don't know if it's installed. Is it part of the PHP install (php.ini file) or is it part of the concrete5 intall?
The multi-file upload shows that the file has uploaded but doesn't show in the file manager list.
As for the mod_security I've never heard of this and so i don't know if it's installed. Is it part of the PHP install (php.ini file) or is it part of the concrete5 intall?
I'm having the same issue as well. I running concrete on a windows machine and this is the last error i'm getting. Could it have something to do with the folder permissions? I wouldn't think so because the cache information is writing ok.
Anyone have any advice on this?
Anyone have any advice on this?
I have found that on most installs if the file is over 2mb it will fail. you can tweak the setting locally max_post_size, max_upload_size and i believe one other one which i can never remember.
You also need to make sure the extension of the file is allowable under the dashboard at: filemanager->access->allowed file types.
Anyways, if you are adding files in bulk or of a larger size create the incoming folder: files/incoming/
Place essentially any file there with the correct extension enabled from above and you can pull it into the filesystem by hitting more, add from incoming.
You also need to make sure the extension of the file is allowable under the dashboard at: filemanager->access->allowed file types.
Anyways, if you are adding files in bulk or of a larger size create the incoming folder: files/incoming/
Place essentially any file there with the correct extension enabled from above and you can pull it into the filesystem by hitting more, add from incoming.
I had an upload problem with my C54 install on two sites until I went down into the file via my FTP and enabled read write permissions for the /files folder and all sub folders... sorted my problem. I also had front end issues on the presentation of the file manager which was purely down to my CSS.
good luck
;-P
good luck
;-P
i have decided to use the incoming folder (as you suggested ScottC) if i can't use the browse option.
I have done it a few times now and has worked everytime.
As for file permissions, the website i'm doing is an intranet for the company i work for. The server is local so i have direct access (Remote Desktop) to it. The server i'm using is Windows Server 2003 running IIS (as it was already installed) i have set the file permissions for every folder to modify for the 'Everyone' group. I have full control as i am a member of the administrators group. So as far as i can see the permissions should be ok.
I have done it a few times now and has worked everytime.
As for file permissions, the website i'm doing is an intranet for the company i work for. The server is local so i have direct access (Remote Desktop) to it. The server i'm using is Windows Server 2003 running IIS (as it was already installed) i have set the file permissions for every folder to modify for the 'Everyone' group. I have full control as i am a member of the administrators group. So as far as i can see the permissions should be ok.
I'm also running concrete5 on a windows server and am having issues uploading files. I don't have direct control over adjusting permission as I work for a government agency. So I would like to be able to tell them whether or not this solution worked for you. Thanks
The incoming folder option is the most stable option for me.
The funny thing is when i upgraded my browser to Internet Explorer 8 the browse option started working a lot better (it still plays up a bit now and again). It could be an idea for you to try though.
The funny thing is when i upgraded my browser to Internet Explorer 8 the browse option started working a lot better (it still plays up a bit now and again). It could be an idea for you to try though.
I have the same errors, but with multiple file types.
Adding flash object to a page and uploading the swf file gives me the same error. The file type is allowed in dashboard/filemanager settings, as are the jpg/jpeg/mp3/mp4 files. Have checked the max size and that shouldn't be an issue either.
Running WIMP on Server 2008, have set the wwwroot file perms to allow full control for everyone (while I'm in development)still get the errors everytime.
Adding flash object to a page and uploading the swf file gives me the same error. The file type is allowed in dashboard/filemanager settings, as are the jpg/jpeg/mp3/mp4 files. Have checked the max size and that shouldn't be an issue either.
Running WIMP on Server 2008, have set the wwwroot file perms to allow full control for everyone (while I'm in development)still get the errors everytime.
I just started using Concrete and I am running into same issues. I see that since the last post here (back in 2009) there is no response. has this been resolved somehow in other way or fashion. I appreciate a feedback.
Invalid file extension.
Invalid file extension.