Author Topic: Upload rar format problem  (Read 5468 times)

0 Members and 1 Guest are viewing this topic.

Offline Slawo

  • Pre-Newbie
  • Posts: 5
    • View Profile
Upload rar format problem
« on: May 09, 2005, 11:18:34 AM »
I can not upload rar files, I read some topics (made template for rar and rar.gif) and my problem is not solved
When I try upload rar files I have message:

bad file format ((rar, application/octet-stream).

With zip format all is ok.



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: Upload rar format problem
« Reply #1 on: May 09, 2005, 02:39:33 PM »
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 michi-w.

  • Hero Member
  • *****
  • Posts: 505
    • View Profile
Re: Upload rar format problem
« Reply #2 on: January 12, 2009, 10:11:26 PM »
Hello,

a guest with me also has problems with RAR, but I can transfer RAR.

My settings:

upload_definitions.php
Code: [Select]
$mime_type_match['rar'] = array("application/x-rar-compressed", "application/octet-stream");media
Code: [Select]
<!-- Template file for ZIP Files -->
{media_icon}<br />

Error Message
The file has an invalid format
rar, application/rar

Is the error in the script?

michi-w.

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Upload rar format problem
« Reply #3 on: January 12, 2009, 10:55:49 PM »
... and why you don't follow V@no's link ...
... there is exactly the answer for your request ... !

Code: [Select]
$mime_type_match['rar'] = array("application/rar", "application/x-rar-compressed", "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 michi-w.

  • Hero Member
  • *****
  • Posts: 505
    • View Profile
Re: Upload rar format problem
« Reply #4 on: January 13, 2009, 12:57:41 AM »
Hello mawenzi, my lifesaver!

I must still check, but it seems to go.

My English is so bad, I did not understand the FAQ.

I am so sorry, I ask you to understand!
michi-w.

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Upload rar format problem
« Reply #5 on: January 13, 2009, 01:18:39 AM »
... ok, ok ... ;)
... if my hint works for you ... then I'm glad ...
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) ...