Welcome to Geeklog, Anonymous Thursday, January 16 2025 @ 07:02 am EST

Geeklog Forums

Mime type error uploading images


Status: offline

qgil

Forum User
Junior
Registered: 05/01/03
Posts: 22
We can't upload images when publishing an article on our site. We get messages such as

File Upload Errors
Mime type, image/png, not in list of allowed mime types

(Mozilla 1.3)

File Upload Errors
Mime type, image/x-png, not in list of allowed mime types

(IExplorer 6)

Same thing with gif format etc.

We have checked usersettings.php, and in the line 483 appears:

$upload->setAllowedMimeTypes(array('image/gif', 'image/jpeg', 'image/pjpeg', 'image/x-png', 'image/png'));

So... wha are we doing wrong?

 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Looks like you did an upgrade to 1.3.7sr2, but forgot to copy over the new usersettings.php. When updating, make sure you copy over ALL the files from the upgrade tarball. bye, Dirk
 Quote

Status: offline

jlhughes

Forum User
Full Member
Registered: 04/25/02
Posts: 154
See this article too.
 Quote

All times are EST. The time is now 07:02 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content