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?


Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
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

Status: offline

jlhughes

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