BuddyDev

Search

Orphaned media when uploading from activity but not profile

  • Participant
    TJ on #52645

    So I’m a little stuck. I’ve been tinkering trying to figure out what’s going on. I use media press through the socialV theme and have found that media uploaded to the activity page is orphaned but when uploading from the media tab in my profile it links to the album properly.

    Including my debug output.

    
    // Generated by the MediaPress Debug tool //
    
    Multisite:                No
    
    SITE_URL:                 https://hoth.family
    HOME_URL:                 https://hoth.family
    
    WordPress Version:        6.5.3
    Permalink Structure:      /%postname%/
    			
    Active Theme:             SocialV 2.0.9
    
    Registered Post Stati:    publish, future, draft, pending, private, trash, auto-draft, inherit, request-pending, request-confirmed, request-failed, request-completed, acf-disabled
    
    // Browser Details //
    Browser Name: Chrome
    Browser Version: 125.0.0.0
    Browser User Agent String: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
    Platform: Windows
    // End Browser Section //
    
    PHP Version:              8.2.19
    PHP Extensions:              Core,date,libxml,openssl,pcre,sqlite3,zlib,bcmath,bz2,calendar,ctype,curl,dom,hash,fileinfo,filter,ftp,gd,gettext,gmp,json,iconv,intl,SPL,ldap,mbstring,session,standard,exif,mysqlnd,PDO,pdo_mysql,pdo_sqlite,Phar,posix,random,Reflection,mysqli,SimpleXML,soap,sockets,sodium,tidy,tokenizer,xml,xmlreader,xmlwriter,xsl,zip,apache2handler,imagick,memcached,Zend OPcache
    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: 
    XBM Support: 1
    WebP Support: 1
    BMP Support: 1
    AVIF Support: 
    TGA Read Support: 1
    JIS-mapped Japanese Font Support: 
    // End GD Info
    
    MySQL Version:            11.3.2-MariaDB
    Web Server Info:          Apache
    
    WordPress Memory Limit:   40M
    PHP Safe Mode:            No
    PHP Memory Limit:         512M
    PHP Upload Max Size:      80M
    PHP Post Max Size:        80M
    PHP Upload Max Filesize:  80M
    PHP Time Limit:           300
    PHP Max Input Vars:       3000
    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:            Activity (#6)
    Page For Posts:           Blog (#1939)
    
    Session:                  Disabled
    Session Name:             PHPSESSID
    Cookie Path:              /
    Save Path:                /opt/bitnami/php/var/run/session
    Use Cookies:              On
    Use Only Cookies:         On
    
    DISPLAY ERRORS:           N/A
    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:
    
    Advanced Custom Fields: 6.3.0
    Better Messages: 2.5.12
    BP Classic: 1.4.0
    BP Search Block: 1.1.0
    BuddyPress: 12.5.0
    BuddyPress Xprofile Custom Field Types: 1.2.7
    Classic Widgets: 0.3
    Contact Form 7: 5.9.5
    Elementor: 3.21.8
    GamiPress: 6.9.9.1
    GamiPress - Multimedia Content: 1.0.3
    Iqonic Extension: 2.0.9
    Iqonic Moderation Tool: 1.2.10
    Iqonic Reactions: 1.1.6
    Kirki Customizer Framework: 5.1.0
    MediaPress: 1.5.9
    Push Notification for Post and BuddyPress: 1.87
    Verified Member for BuddyPress: 1.2.6
    W3 Total Cache: 2.7.2
    WPCode Lite: 2.1.12
    WP Mail SMTP: 4.0.1
    WP Story Premium: 3.5.0
    
    // MediaPress Settings //
    
    active_components:		sitewide,members,groups
    default_status:		public
    active_statuses:		public
    active_types:		photo,video,audio,doc
    extensions:		jpeg,jpg,gif,png,webp,mp4,flv,mpeg,mp3,wmv,midi,gz,doc,pdf,docx,xls,txt,ods
    size_thumbnail:		290,290,1
    size_mid:		350,350,1
    size_large:		600,600,1
    single_media_size:		mid
    lightbox_media_size:		mid
    mpp_upload_space:		1024
    mpp_upload_space_groups:		1024
    show_upload_quota:		1
    show_max_upload_file_size:		1
    default_storage:		local
    enable_file_upload:		1
    enable_remote:		1
    enable_remote_file:		1
    download_remote_file:		1
    enable_oembed:		1
    enable_debug:		1
    enable_gallery_archive:		1
    gallery_archive_slug:		site-galleries
    gallery_permalink_slug:		site-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
    activity_upload:		1
    activity_disable_auto_file_browser:		0
    activity_photo_default_view:		default
    activity_video_default_view:		default
    activity_audio_default_view:		default
    activity_doc_default_view:		default
    show_orphaned_media:		1
    delete_orphaned_media:		0
    activity_media_display_limit:		6
    members_active_types:		photo,video,audio,doc
    members_enable_type_filters:		1
    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_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
    groups_enable_my_galleries:		1
    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:		1
    enable_video_playlist:		1
    gdoc_viewer_enabled:		1
    enable_media_comment:		1
    enable_gallery_comment:		1
    load_lightbox:		1
    lightbox_media_only:		0
    enable_activity_lightbox:		1
    enable_gallery_lightbox:		1
    enable_lightbox_in_gallery_media_list:		1
    enable_lightbox_media_single_link:		1
    lightbox_disabled_types:		photo,video,audio
    
    // End of MediaPress Settings //
    
    					
  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on #52660

    Hello TJ,

    Thank you for posting. In MediaPress we consider media as orphaned if it is attached to an activity but the activity is not published. But if you are attaching media to a published activity it will show on the activity author profile under the gallery with the name “Wall photo Gallery” for images as attached media. Please check it.

    Regards
    Ravi

You must be logged in to reply to this topic.

This topic is: not resolved