Author Topic: upload error  (Read 4435 times)

0 Members and 1 Guest are viewing this topic.

Offline Lukazs

  • Newbie
  • *
  • Posts: 46
    • View Profile
upload error
« on: September 04, 2006, 08:46:50 PM »
Hi, i have added my new file extensions in the settings Valid file extensions txt and in includes/upload_definitions.php $mime_type_match['txt'] = array("text/plain", "text/richtext", "text/rtf", "text/html");


but i still got this error:

Error uploading image file: ab.txt
ab.txt: Invalid file type (txt, text/plain)

No database entry!


Thank you for your help!
Lucas

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 error
« Reply #1 on: September 04, 2006, 09:32:55 PM »
are you sure you added txt in the settings? :?
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 Lukazs

  • Newbie
  • *
  • Posts: 46
    • View Profile
Re: upload error
« Reply #2 on: September 07, 2006, 02:50:29 PM »
yes 100% sure

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 error
« Reply #3 on: September 07, 2006, 02:56:17 PM »
ok, then are you sure that the line in db_field_definition.php is not inside a comment ( i.e. it must be just above ?>)
and that you actualy uploaded the modifyed file to the server?
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 Lukazs

  • Newbie
  • *
  • Posts: 46
    • View Profile
Re: upload error
« Reply #4 on: September 08, 2006, 01:08:16 PM »
yeah, it was everything just like u said. Everything perfectly in its places. But it now fixed by its self. It is working now.

Thank you for help!
Lucas