Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
upload plugin error: Error 105 - Invalid file type
Avatar
Erwin Werdenigg
Member
Free Members
sp_UserOfflineSmall Offline
Jul 13, 2012 - 10:02 am

in general the file upload plugin works well.
until i upload a .pptx file (18MB), file upload size is set to unlimited, after the upload proceeds, i get the message: Error 105 - Invalid file type. see attachment.
how can i solve the problem?upload-plogin-error.pngImage Enlarger

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 13, 2012 - 10:18 am

why do you have images listed in other file types???  just slows it down...

are you sure the case of the file is right?  .pptx is not same as .PPTX

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jul 13, 2012 - 10:19 am

This might be as simple as the maximum upload file size that your php setup will allow. It is not always easy to collect an error in php that was generated in Javascript so the error message may be a misinterpretation.

You host will have imposed a limit to the size of any single file upload. Typically this is 2 MB. So I would suggest you start by checking on that and, if you need it increasing, then ask them if this is permissible.

You need to be aware also that if you are putting up an 18MB file that your users can then download they will be eating away at your bandwidth every time they do so as well as consuming server resources during the process.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Erwin Werdenigg
Member
Free Members
sp_UserOfflineSmall Offline
Jul 13, 2012 - 12:33 pm

in general i agree with you, in this case we deal with files in this size for a small group of users.

the servers php memory limit is set to 90MB, the memory limit in wp-config.php is also 90MB.

any ideas?

thx

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jul 13, 2012 - 12:38 pm

I was referring to the upload file size not the php memory size.
Did you see Mr Papa's point about case?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Erwin Werdenigg
Member
Free Members
sp_UserOfflineSmall Offline
Jul 13, 2012 - 12:52 pm

yes, i did read mr. papas post and removed the image file types and also added PPTX as a uploadable filetype.
the upload_max_filesize on the server is 40M
but still the same error message: xxx.pptx: Error 105 - Invalid file type
any idea?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 13, 2012 - 1:14 pm

well, not sure what might be going south...  I dont think its a file size upload...  the error is only thrown when the uploaded file extension does not match an allowed extension...  so unless the whole filename gets dorked on upload, not sure...

next step would be to check the temp php upload directory and see if the file is getting uploaded and if filename is intact...

Avatar
Erwin Werdenigg
Member
Free Members
sp_UserOfflineSmall Offline
Jul 14, 2012 - 2:14 am

sorry, i'm not an expert with this. how can i find and access the temp php upload directory?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jul 14, 2012 - 2:58 am

you would need ssh (ie root access) access to your server... certainly get with dedicated server or vps and the decent shared hosting folks... would have to look into your php.ini to find exact location, but typically, its /tmp

Avatar
Erwin Werdenigg
Member
Free Members
sp_UserOfflineSmall Offline
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17363
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625