BuddyDev

Search

MediaPress set Profile Photo

  • Participant
    Level: Enlightened
    Posts: 78
    Jay Anderson on #7389

    Hello Brajesh,

    Thanks again for all the help. I’m getting an error when trying to use the MediaPress set Profile Photo.

    When I click on the Set Profile Image link I get this error:

    Fatal error: Call to undefined function mime_content_type() in /home/basket/public_html/wp-content/plugins/mpp-set-profile-photo/core/mpp-spp-hooks.php on line 55

    I’m not sure if there are some settings I missing.

    Thanks for the help,

    Jay

  • Keymaster
    (BuddyDev Team)
    Posts: 24599
    Brajesh Singh on #7395

    Hi Jay,
    I am sorry for the trouble.

    is there any chance that you are on PHP version less that 5.3?

    The function is part of PHP and should be available by default on PHP 5.3+

    http://php.net/manual/en/function.mime-content-type.php

    For lower that PHP 5.3, you may need to enable the Fileinfo extension

    http://php.net/manual/en/book.fileinfo.php

    Please do note that behaviour of MediaPress and its extension is not tested on PHp version lower than 5.3

    Thank you
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 78
    Jay Anderson on #7400

    Hey Brajesh,

    I’m running PHP version: 5.5.31

    Jay

  • Keymaster
    (BuddyDev Team)
    Posts: 24599
    Brajesh Singh on #7415

    Hi Jay,
    Thank you. Can you please ask your hosting provider if they have somehow disabled the Fileinfo extension?

    With version 5.3 and above, this function should always be available.

    Please let me know their response.

    Thank you
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved