BuddyDev

Search

Cannot upload a JPEG file larger than 2 MB AGAIN

  • Participant
    Level: Enlightened
    Posts: 79
    Leo on #2217

    Hi Brajesh,

    I am having the same problem again, not able to upload media larger than 2mb. Once it was fixed after removing the rtMedia plugin.
    https://buddydev.com/support/forums/topic/cannot-upload-a-jpeg-file-larger-than-2-mb/

    Now when i try to upload and check the server response like you asked me to do previous time, it is completely empty.
    Also I am coping here the debug message. Please let me know what’s wrong here.

    Thank you!

    // Generated by the MediaPress Debug tool //

    Multisite: No

    WordPress Version: 4.4
    Permalink Structure: /%year%/%monthnum%/%day%/%postname%/

    Active Theme: Kleo Child
    Parent Theme: Kleo Child

    Registered Post Stati: publish, future, draft, pending, private, trash, auto-draft, inherit

    // Browser Details //
    Browser Name: Chrome
    Browser Version: 47.0.2526.106
    Browser User Agent String: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36
    Platform: Apple
    // End Browser Section //

    PHP Version: 5.5.30
    MySQL Version: 5.5.46-0+deb7u1-log
    Web Server Info: Apache

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

    Show On Front: page
    Page On Front: Activity (#5)
    Page For Posts: Blog (#24)

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

    DISPLAY ERRORS: On (1)
    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.

    ACTIVE PLUGINS:

    AS BP Favs WP Widget:
    BP Profile Search: 4.4.1
    BP Reshare: 1.0
    BP Simple Front End Post: 1.2.7
    BuddyBlog: 1.1.4
    BuddyPress: 2.4.3
    BuddyPress Cover Photo: 1.3.1
    BuddyPress Follow: 1.2.1
    BuddyPress Like: 0.3.0
    BuddyPress Xprofile Custom Fields Type: 2.3.0
    Contact Form 7: 4.3.1
    K Elements: 3.1.1
    MediaPress: 1.0 Beta 1
    Password Protected: 2.0.2
    WPBakery Visual Composer: 4.8.1

    // MediaPress Settings //

    active_components: sitewide,members,groups
    default_status: public
    active_statuses: public,private,followersonly
    active_types: photo,video,audio,doc
    extensions: jpeg,jpg,gif,png,mp4,flv,mpeg,mp3,wmv,midi,doc,pdf,docx,xls
    mpp_upload_space: 1200
    mpp_upload_space_groups: 1200
    show_upload_quota: 0
    default_storage: local
    enable_gallery_archive: 1
    gallery_archive_slug: past-galleries
    gallery_permalink_slug: gallery
    sitewide_active_types: photo,video,audio
    sitewide_photo_gallery_default_view: default
    sitewide_video_gallery_default_view: default
    sitewide_audio_gallery_default_view: default
    has_gallery_directory: 1
    has_media_directory: 0
    activity_upload: 1
    autopublish_activities: create_gallery,add_media
    activity_photo_default_view: default
    activity_video_default_view: default
    activity_audio_default_view: default
    activity_doc_default_view: default
    show_orphaned_media: 0
    delete_orphaned_media: 0
    members_active_types: photo,video,audio,doc
    members_photo_gallery_default_view: default
    members_video_gallery_default_view: default
    members_audio_gallery_default_view: default
    members_doc_gallery_default_view: default
    groups_active_types: photo,video,audio,doc
    groups_photo_gallery_default_view: default
    groups_video_gallery_default_view: default
    groups_audio_gallery_default_view: default
    groups_doc_gallery_default_view: default
    enable_group_galleries_default: yes
    contributors_can_edit: 1
    contributors_can_delete: 1
    galleries_per_page: 10
    media_per_page: 10
    media_columns: 3
    gallery_columns: 3
    show_gallery_description: 1
    show_media_description: 1
    enable_audio_playlist: 1
    enable_video_playlist: 1
    enable_media_comment: 1
    enable_gallery_comment: 1
    load_lightbox: 1
    enable_activity_lightbox: 1

    // End of MediaPress Settings //

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #2220

    Hi Leo,
    I am sorry for the trouble.

    Is it happening for all user types or just for subscribers. Your settings are fine, so Those can not cause the issue. Also, I don’t see any suspect plugin here. Just need some more clue. Are you able to upload the same file with WordPress media uploader?

  • Participant
    Level: Enlightened
    Posts: 79
    Leo on #2221

    Hi Brajesh,

    Thanks for your reply.
    Yes, I am able to upload the same file with WP media uploader, also I notices that I am not able to upload even smaller files (like 1.7mb, 1.1mb).
    I guess it is for all user types, as I am the admin of the website.

    What other info can I provide?

    Thanks,
    Leo

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #2222

    Do you see any error or message generated by MediaPress while uploading?

  • Participant
    Level: Enlightened
    Posts: 79
    Leo on #2223

    The error message is this: (in red)
    first.jpg(2.6 mb)x An error occurred in the upload. Please try again later.

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #2225

    Hi Leo,
    Please PM me the site details. The only reason that error is shown because the server generated invalid json response. I can quickly check and let you know what caused it.

    Or you can check it in the browser console if you are using firebug.

  • Participant
    Level: Enlightened
    Posts: 79
    Leo on #2226

    Thanks, I have sent the details.

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #2228

    Strange but I am able to upload files without any issue. I tried one png and jpg and both worked. Can you please check my profile. I was uploading from activity screen. Is the issue happening on single gallery screen?

  • Participant
    Level: Enlightened
    Posts: 79
    Leo on #2229

    Yes, I saw your uploads. I thought it was solved, but I am still unable.
    Yes I cannot upload neither from activity stream, nor from single gallery screen.

    btw, I could upload an audio file, 4.3 mb, if that helps.

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #2230

    Oops, It could be the extension. What is the file extension. Can you please post the complete filename/extension?

The topic ‘Cannot upload a JPEG file larger than 2 MB AGAIN’ is closed to new replies.

This topic is: not resolved