Author Topic: Error to upload .js file IE6 & IE8  (Read 7931 times)

0 Members and 1 Guest are viewing this topic.

Offline dilkebol

  • Newbie
  • *
  • Posts: 34
    • View Profile
Error to upload .js file IE6 & IE8
« 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

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Error to upload .js file IE6 & IE8
« Reply #1 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");
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline dilkebol

  • Newbie
  • *
  • Posts: 34
    • View Profile
Re: Error to upload .js file IE6 & IE8
« Reply #2 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

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Error to upload .js file IE6 & IE8
« Reply #3 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 ...
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Error to upload .js file IE6 & IE8
« Reply #4 on: May 17, 2010, 02:28:30 PM »
And make sure you have only one line that starts with $mime_type_match['js']
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline dilkebol

  • Newbie
  • *
  • Posts: 34
    • View Profile
Re: Error to upload .js file IE6 & IE8
« Reply #5 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..

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Error to upload .js file IE6 & IE8
« Reply #6 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...
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)