+ Post New Thread
Results 1 to 9 of 9
Virtual Learning Platforms Thread, Moodle - Problem in Technical; I get the following error for students: Unsupported mime type: application/pdf This happens when I have added a pdf to ...
  1. #1
    wesleyw's Avatar
    Join Date
    Dec 2005
    Location
    Kingswinford
    Posts
    2,202
    Thank Post
    223
    Thanked 50 Times in 44 Posts
    Blog Entries
    1
    Rep Power
    29

    Moodle - Problem

    I get the following error for students: Unsupported mime type: application/pdf

    This happens when I have added a pdf to a Lesson Resource.

    Any ideas what I have done wrong or how I fix this?


    Wes

  2. #2

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,800
    Thank Post
    110
    Thanked 582 Times in 503 Posts
    Blog Entries
    1
    Rep Power
    223

    Re: Moodle - Problem

    What setup are you using? LAMP?

  3. #3
    wesleyw's Avatar
    Join Date
    Dec 2005
    Location
    Kingswinford
    Posts
    2,202
    Thank Post
    223
    Thanked 50 Times in 44 Posts
    Blog Entries
    1
    Rep Power
    29

    Re: Moodle - Problem

    Yep FreeBSD server running 1.6.3+ Moodle


    Wes

  4. #4

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,800
    Thank Post
    110
    Thanked 582 Times in 503 Posts
    Blog Entries
    1
    Rep Power
    223

    Re: Moodle - Problem

    And application/pdf is a registered mime type in Apache and PHP?

  5. #5
    wesleyw's Avatar
    Join Date
    Dec 2005
    Location
    Kingswinford
    Posts
    2,202
    Thank Post
    223
    Thanked 50 Times in 44 Posts
    Blog Entries
    1
    Rep Power
    29

    Re: Moodle - Problem

    Good question I'll find out!


    Wes

  6. #6
    wesleyw's Avatar
    Join Date
    Dec 2005
    Location
    Kingswinford
    Posts
    2,202
    Thank Post
    223
    Thanked 50 Times in 44 Posts
    Blog Entries
    1
    Rep Power
    29

    Re: Moodle - Problem

    Yes:
    netmanager 6# echo hello > test.pdf
    netmanager 7# chown www test.pdf
    netmanager 8# telnet localhost 80
    Trying ::1...
    telnet: connect to address ::1: Connection refused
    Trying 127.0.0.1...
    Connected to localhost.
    Escape character is '^]'.
    GET /test.pdf HTTP/1.0

    HTTP/1.1 200 OK
    Date: Wed, 08 Nov 2006 13:14:42 GMT
    Server: Apache
    Last-Modified: Wed, 08 Nov 2006 13:14:26 GMT
    ETag: "6cb61a-6-4551d832"
    Accept-Ranges: bytes
    Content-Length: 6
    Connection: close
    Content-Type: application/pdf

    hello
    Connection closed by foreign host.



    Seems alright?


    Wes

  7. #7

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,800
    Thank Post
    110
    Thanked 582 Times in 503 Posts
    Blog Entries
    1
    Rep Power
    223

    Re: Moodle - Problem

    And with PHP?

  8. #8
    wesleyw's Avatar
    Join Date
    Dec 2005
    Location
    Kingswinford
    Posts
    2,202
    Thank Post
    223
    Thanked 50 Times in 44 Posts
    Blog Entries
    1
    Rep Power
    29

    Re: Moodle - Problem

    I'll check tomorrow!

    Wes

  9. #9
    wesleyw's Avatar
    Join Date
    Dec 2005
    Location
    Kingswinford
    Posts
    2,202
    Thank Post
    223
    Thanked 50 Times in 44 Posts
    Blog Entries
    1
    Rep Power
    29

    Re: Moodle - Problem

    In moodle in a normal resource within a course it opens up the PDF but within the Lesson resource it can't load up the same PDF?

    Strange.


    Wes

SHARE:
+ Post New Thread

Similar Threads

  1. Quite a big moodle problem
    By timbo343 in forum Windows
    Replies: 18
    Last Post: 11th September 2007, 10:45 AM
  2. dunno if this is an exchange or moodle problem
    By timbo343 in forum Windows
    Replies: 1
    Last Post: 23rd January 2007, 02:56 PM
  3. Moodle Problem.
    By Quackers in forum Virtual Learning Platforms
    Replies: 3
    Last Post: 18th September 2006, 03:42 PM
  4. Moodle Problem
    By jamieallonby in forum Virtual Learning Platforms
    Replies: 2
    Last Post: 16th May 2006, 06:54 AM
  5. Moodle or not to Moodle
    By alan-d in forum Web Development
    Replies: 5
    Last Post: 20th January 2006, 11:56 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •