Forums | Mahara Community

Support /
Problems with file uploads


anonymous profile picture
Account deleted
Posts: 1643

05 December 2008, 3:25

I think some people have made a spanish translation, but it's not on git.mahara.org. Maybe some day soon.. Cool
anonymous profile picture
Account deleted
Posts: 10

08 January 2009, 11:32

Hi, i get the Error-Message File-Type not supported, when i try to upload a wmv-file.

But in the Admin-Plug-in-interface the wm is checked as enabled and in the fil.xml it is enabled to?

Why do i receive this error message?

Chris

Heinz Krettek's profile picture
Posts: 480

08 January 2009, 11:59

Hi Chris,

a detailed description of your settings will help the developers to track down your problerms ;-)

cheers 

Heinz

anonymous profile picture
Account deleted
Posts: 1643

08 January 2009, 19:56

Hi Chris - if you're on linux and you can, could you please open a terminal and run 'file -bi [filename.wmv]' and tell me what it outputs?

Even better, if the file isn't sensitive, could you please send it to [email protected], and I can test and see why it might not be uploadable.

Some other questions - what version of Mahara are you using, and what browser and version did you try to upload the file with?

anonymous profile picture
Account deleted
Posts: 10

09 January 2009, 4:49

Hi Nigel,

we are working with ubuntu 8.10 apache 2 Server / PHP 5.2 / MySQL 5 and Mahara 1.08.

 We tried the upload with Firefox 3 and even with IE-7 and Opera. Always the same Problem.

I will lsend you the file in a few minutes.

After readig it out with file-bi we have found out it is the minetype  video/x-ms-asf.


This was not declared in the filetypes.xml and we have added it there and restartet the server.

But we receive the same error like before.

Thanks for the Help so far.

Christoph     

anonymous profile picture
Account deleted
Posts: 1643

09 January 2009, 7:22

The contents of the filetypes.xml file are loaded into the database and then the database is used for lookups regarding supported file types. To update the database, you need to change the filetypes.xml file, then trigger an upgrade of the file artefact plugin. You can do that by editing artefact/file/version.php, and incrementing the version field (it's the 10 digit number that looks like a date) by one, then visiting the admin screen. The upgrade will re-read in that file and sync its contents with the database.
anonymous profile picture
Account deleted
Posts: 10

09 January 2009, 9:41

Thank you for the Answer an the Help Nigel!

Will try that later this afternoon, and as soon i know, it works/do not work, i will post a respond.

Thanks so far!

Best Regards

Christoph

anonymous profile picture
Account deleted
Posts: 1643

11 January 2009, 18:51

Hi Christoph - I have tested this on my system with the movie you sent me. It appears that indeed, some versions of file detect it as video/x-ms-asf. I have now added this mimetype (and another similar one) to the filetypes.xml file on both 1.0_STABLE and master, so upgrading to the next version of Mahara when it's available should fix the issue for you.

Thanks for the report!

anonymous profile picture
Account deleted
Posts: 10

11 January 2009, 19:07

Hi Nigel! Thanks for the Support and nice to hear, that our Problems help to improve the Software. Embarassed

Maybe i will find some more Problems for you in the future.

 At the Moment i wanted to tell you, that your instruction for fixing the Upload-Problem, that you have postet a few Days ago, worked also fine, and now the upload works fine!

Thank you for the Support! Some kind of great Software, you have invented with Mahara!

I guess i will have a lot of fun with it in the Future for our School-Social Net and also for my private Homepage! Wink

anonymous profile picture
Account deleted
Posts: 1643

11 January 2009, 21:09

That would be cool to see... I hope you enjoy Mahara with no more problems Cool