Author Topic: FIXED: after update: cant upload *.JPG ..while *.jpg is ok  (Read 3106 times)

0 Members and 1 Guest are viewing this topic.

Offline garooh1

  • Pre-Newbie
  • Posts: 2
    • View Profile
FIXED: after update: cant upload *.JPG ..while *.jpg is ok
« on: November 10, 2010, 02:03:05 PM »
Hello
i was using 1.7.6 and updated to 1.7.8, i switched to templete default_full, everything worx fine, but i cant upload JPG extension files..
while it is ok to upload jpg files..!
error msg is:
Error uploading image file:
a.JPG: Invalid file type (JPG, image/pjpeg)

i tried to add it in $mime_type_match like this:

$mime_type_match['jpg'] = array("image/jpg", "image/jpeg", "image/pjpeg", "image/JPG");
$mime_type_match['jpeg'] = array("image/jpg", "image/jpeg", "image/pjpeg", "image/JPG");

 and added the new allowed extensions JPG in admin control panel list..

but it didnt work..
i tried to add it alone and make JPG.html in media files and also didnt work..

What else i need to try?


Best regards
K
----------------
update:
i found the solution here:
http://www.4homepages.de/forum/index.php?topic=27829.msg150642#msg150642


thanks
« Last Edit: November 10, 2010, 02:34:00 PM by garooh1 »

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
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)