Unable to upload mp4. Only mp4 files are allowed.

  • Participant
    Salvatore Pecoraro on #34543

    Hi guys,
    i’ve some issue with MediaPress.
    I’m not able to upload mp4 videos in video gallery.

    This is the error message
    2020-10-17 10-56-41.mp4(509 kb)x This file type is not allowed in current gallery. Only mp4 files are allowed!

    Here are debug informations.

    // Generated by the MediaPress Debug tool //

    Multisite: No

    SITE_URL: https://www.canoamartesana.com
    HOME_URL: https://www.canoamartesana.com

    WordPress Version: 5.5.3
    Permalink Structure: /%postname%/

    Active Theme: Donovan 1.7.1

    Registered Post Stati: publish, future, draft, pending, private, trash, auto-draft, inherit, request-pending, request-confirmed, request-failed, request-completed, closed, spam, orphan, hidden

    // Browser Details //
    Browser Name: Firefox
    Browser Version: 82.0
    Browser User Agent String: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.0
    Platform: Windows
    // End Browser Section //

    PHP Version: 7.4.10
    PHP Extensions: Core,date,libxml,openssl,pcre,sqlite3,bcmath,bz2,calendar,ctype,dom,hash,fileinfo,filter,ftp,gd,gettext,SPL,iconv,session,intl,json,mbstring,standard,mysqlnd,mysqli,PDO,pdo_mysql,pdo_sqlite,zlib,posix,Reflection,imap,SimpleXML,soap,exif,tidy,tokenizer,xml,xmlreader,xmlrpc,xmlwriter,xsl,zip,cgi-fcgi,imagick,raphf,propro,SourceGuardian,mcrypt,curl,Phar,ionCube Loader
    GD enabled: Yes

    //GD Info
    GD Version: bundled (2.1.0 compatible)
    FreeType Support: 1
    FreeType Linkage: with freetype
    GIF Read Support: 1
    GIF Create Support: 1
    JPEG Support: 1
    PNG Support: 1
    WBMP Support: 1
    XPM Support: 1
    XBM Support: 1
    WebP Support: 1
    BMP Support: 1
    TGA Read Support: 1
    JIS-mapped Japanese Font Support: 1
    // End GD Info

    MySQL Version: 5.7.28-31-log
    Web Server Info: Apache

    WordPress Memory Limit: 40M
    PHP Safe Mode: No
    PHP Memory Limit: 256M
    PHP Upload Max Size: 250M
    PHP Post Max Size: 250M
    PHP Upload Max Filesize: 250M
    PHP Time Limit: 300
    PHP Max Input Vars: 1000
    PHP Arg Separator: &
    PHP Allow URL File Open: Yes
    WP_DEBUG: Disabled
    SCRIPT_DEBUG: Disabled

    // Table Prefix //
    Table Prefix: wp_

    Show On Front: page
    Page On Front: (#159)
    Page For Posts: Blog (#82)

    Session: Disabled
    Session Name: PHPSESSID
    Cookie Path: /
    Save Path: /tmp
    Use Cookies: On
    Use Only Cookies: On

    FSOCKOPEN: Your server supports fsockopen.
    cURL: Your server supports cURL.
    SOAP Client: Your server has the SOAP Client enabled.
    SUHOSIN: Your server does not have SUHOSIN installed.


    bbPress: 2.6.6
    Code Snippets: 2.14.0
    Events Manager:
    Events Manager – OpenStreetMaps: 4.2.1
    Forminator: 1.14.0
    GDPR Cookie Consent: 1.9.4
    Jetpack by WordPress.com: 9.1
    MediaPress: 1.5.1
    Shortcodes Ultimate: 5.9.4
    Ultimate Member: 2.1.12
    Ultimate Member – reCAPTCHA: 2.1.6

    // MediaPress Settings //

    active_components: sitewide
    default_status: public
    active_statuses: public
    active_types: photo,video
    extensions: jpeg,jpg,gif,png,mp4,flv,mpeg,mp4,mp3,wmv,midi,zip,gz,doc,pdf,docx,xls,rar
    size_thumbnail: 200,200,1
    size_mid: 350,350,1
    size_large: 600,600
    single_media_size: large
    lightbox_media_size: large
    mpp_upload_space: 200
    mpp_upload_space_groups: 200
    show_upload_quota: 1
    show_max_upload_file_size: 1
    default_storage: local
    enable_file_upload: 1
    enable_remote: 1
    enable_remote_file: 0
    download_remote_file: 1
    enable_oembed: 1
    enable_debug: 1
    enable_gallery_archive: 1
    gallery_archive_slug: foto-e-video
    gallery_permalink_slug: galleria
    sitewide_active_types: photo,video
    sitewide_photo_gallery_default_view: default
    sitewide_video_gallery_default_view: default
    galleries_per_page: 12
    media_per_page: 20
    media_columns: 4
    gallery_columns: 4
    show_gallery_description: 1
    show_media_description: 1
    enable_audio_playlist: 0
    enable_video_playlist: 1
    gdoc_viewer_enabled: 1
    enable_media_comment: 1
    enable_gallery_comment: 1
    load_lightbox: 1
    lightbox_media_only: 1
    enable_activity_lightbox: 1
    enable_gallery_lightbox: 1
    enable_lightbox_in_gallery_media_list: 1
    lightbox_disabled_types: video

    // End of MediaPress Settings //

    Do you have some suggestions?

  • Keymaster
    (BuddyDev Team)
    Posts: 22546
    Brajesh Singh on #34550

    Hi Salvatore,
    I am sorry for the inconvenience.

    is there any chance that you created the gallery from admin Dashboard? If yes, Please try creating a new gallery from front end and then try uploading. We do have some issue with dashboard gallery creation which might lead to this.

    If this is not the case, Please let me know the steps to reproduce it.

    Thank you

You must be logged in to reply to this topic.

This topic is: not resolved