4images Forum & Community

4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: dilkebol on May 17, 2010, 09:33:41 AM

Title: Error to upload .js file IE6 & IE8
Post by: dilkebol on May 17, 2010, 09:33:41 AM
Hello,
I am using 4images for 2-3 years. I am uploading .js files to category. I am able to upload .js file using IE6 but when I installed IE8 then I am not able to upload .js file & getting error as below.
--
Error uploading image file:
Tina_Ki_Chaabi.js: Invalid file type (js, application/octet-stream)
--
Same error I gets while I try to upload using mozilla firefox 3.6
Everything at server is same.
What can be the reason ? Any experts here
Title: Re: Error to upload .js file IE6 & IE8
Post by: mawenzi on May 17, 2010, 10:08:58 AM
1. FAQ -> How can I add more allowed file extensions? : http://www.4homepages.de/forum/index.php?topic=7277.0

2. and try this in your includes/upload_definitions.php  ...
Code: [Select]
$mime_type_match['js'] = array("application/octet-stream");
Title: Re: Error to upload .js file IE6 & IE8
Post by: dilkebol on May 17, 2010, 10:41:47 AM
I already done that.
I am able to upload using IE6 but not IE8 ?
Also mozilla 3.6 & opera are not able to upload only IE6 works
Title: Re: Error to upload .js file IE6 & IE8
Post by: mawenzi on May 17, 2010, 11:08:02 AM
I already done that.

... sure ... ?
... then please post the line from your upload_definitions.php for mime_type js ...
Title: Re: Error to upload .js file IE6 & IE8
Post by: V@no on May 17, 2010, 02:28:30 PM
And make sure you have only one line that starts with $mime_type_match['js']
Title: Re: Error to upload .js file IE6 & IE8
Post by: dilkebol on May 20, 2010, 05:54:31 AM
Problem is not with 4images gallery or installtion but it occurs only when I install Windows SP2.
May be some internet settings changed due to this .
after this I installed "IE Tester" it is separate software .
& I am able to upload using this software. IE I am not using now to upload but iE tester works..
Title: Re: Error to upload .js file IE6 & IE8
Post by: V@no on May 20, 2010, 07:25:00 AM
Unless you tested it on different computers, I could only assume it something wrong with your browser/system...