BuddyDev

Search

There are no galleries available

  • Participant
    Level: Enlightened
    Posts: 21
    Abe on #9426

    I’m having a similar issue to the one posted here:
    https://wordpress.org/support/topic/galleries-not-visible-2/

    I have MediaPress 1.0.6 installed on a LIVE site
    -groups galleries work fine – [viewing/creating/uploading]
    -members galleries don’t work – [creating/uploading] is ok, [viewing galleries in member sub-page] is not working
    ——[http://sitename.com/username/galleries] – not working
    ——it says – “There are no galleries available!”
    ——but shortcode works fine
    ——[mpp-list-media column=”3″ view=”grid” type=”photo” user_id=”‘.bp_displayed_user_id().'” per_page=”12″ status=”public”]

    I installed MediaPress 1.1.2 on a DEV site
    -group galleries work fine – [viewing/creating/uploading]
    -members galleries still show same messages and doesn’t work – [creating/uploading] is ok, [but not listing the galleries in their sub-pages]

    —— also, the galleries are visible in [wp-admin] area on both LIVE / DEV

  • Participant
    Level: Enlightened
    Posts: 21
    Abe on #9427

    I was trying to see if it was a visibility/privacy issue and here’s what I found.

    In Members the Status is set to “Public”
    I can change and save it to “Private”

    But if I select “Friends Only” or “Logged In Users Only” and then click SAVE
    The Status “Public” shows up as the selection AFTER SAVE

  • Participant
    Level: Enlightened
    Posts: 21
    Abe on #9428

    Also, we recently upgraded to MySQL 5.5, and I believe that it could be related.

  • Keymaster
    (BuddyDev Team)
    Posts: 24593
    Brajesh Singh on #9429

    Hi Abe,
    Welcome to BuddyDev.

    I am sorry for the inconvenience.

    Something is modifying the query on ‘pre_get_posts’ action.

    Most probably a plugin, theme or code snippet is misbehaving. Can you please search for that action and check if there is some code attaching to it?

    Also, please post me the MediaPress debug settings(from the Dashboard->MediaPress->Tools screen)

    Thank you
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 21
    Abe on #9432

    Ok I will check around.
    I also deactivated my custom theme, bp-custom.php, and deactivated as many plugins to narrow down the choices.

    **side note: the database that holds this is holding two websites, with different ‘wordpress prefixes’
    ** Can you delete/remove this message?

    ————

    // Generated by the MediaPress Debug tool //

    Multisite: No

    SITE_URL: https://*****.com/beta/0001
    HOME_URL: https://*****.com/beta/0001

    WordPress Version: 4.7.5
    Permalink Structure: /%category%/%postname%/

    Active Theme: Twenty Fifteen 1.7

    Registered Post Stati: publish, future, draft, pending, private, trash, auto-draft, inherit, wc-pending, wc-processing, wc-on-hold, wc-completed, wc-cancelled, wc-refunded, wc-failed

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

    PHP Version: 5.6.30
    PHP Extensions: Core,date,ereg,libxml,openssl,pcre,sqlite3,zlib,ctype,curl,dom,hash,fileinfo,filter,ftp,gd,SPL,iconv,json,mbstring,mcrypt,session,mysql,standard,mysqlnd,PDO,pdo_mysql,pdo_sqlite,Phar,posix,Reflection,mysqli,SimpleXML,soap,exif,tokenizer,xml,xmlreader,xmlwriter,xsl,apache2handler,memcache,ionCube Loader
    GD enabled: Yes

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

    MySQL Version: 5.5.55-38.8-log
    Web Server Info: Apache

    WordPress Memory Limit: 40M
    PHP Safe Mode: No
    PHP Memory Limit: 256M
    PHP Upload Max Size: 64M
    PHP Post Max Size: 64M
    PHP Upload Max Filesize: 64M
    PHP Time Limit: 100
    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: Welcome to Bonoboville (#7)
    Page For Posts: (#0)

    Session: Disabled
    Session Name: PHPSESSID
    Cookie Path: /
    Save Path: /tmp
    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:

    AdRotate: 4.3
    BP Custom Background for User Profile: 1.0.6
    BuddyPress: 2.8.2
    MediaPress: 1.1.2
    Widget Logic: 5.7.2
    WooCommerce: 3.0.7

    // MediaPress Settings //

    active_components: members,groups
    default_status: public
    active_statuses: public,private,loggedin,friendsonly,groupsonly
    active_types: photo,video,audio
    extensions: jpeg,jpg,gif,png,mp4,flv,mpeg,mp3,wmv,midi,zip,gz,doc,pdf,docx,xls
    mpp_upload_space: 5000
    mpp_upload_space_groups: 5000
    show_upload_quota: 1
    default_storage: local
    enable_debug: 0
    has_gallery_directory: 1
    has_media_directory: 1
    activity_upload: 1
    autopublish_activities: create_gallery,add_media
    activity_photo_default_view: default
    activity_video_default_view: default
    activity_audio_default_view: default
    show_orphaned_media: 0
    delete_orphaned_media: 1
    activity_media_display_limit: 6
    members_active_types: photo,video,audio
    members_enable_type_filters: 1
    members_photo_gallery_default_view: default
    members_video_gallery_default_view: default
    members_audio_gallery_default_view: default
    groups_active_types: photo,video,audio
    groups_photo_gallery_default_view: default
    groups_video_gallery_default_view: default
    groups_audio_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: 20
    media_per_page: 20
    media_columns: 4
    gallery_columns: 4
    show_gallery_description: 0
    show_media_description: 0
    enable_audio_playlist: 1
    enable_video_playlist: 1
    enable_media_comment: 1
    enable_gallery_comment: 1
    load_lightbox: 0
    enable_activity_lightbox: 1
    enable_gallery_lightbox: 1
    enable_lightbox_in_gallery_media_list: 1

    // End of MediaPress Settings //

    • This reply was modified 7 years, 5 months ago by Abe.
    • This reply was modified 7 years, 5 months ago by Abe.
  • Participant
    Level: Enlightened
    Posts: 21
    Abe on #9434

    And on the second website, I haven’t updated any code in a few weeks,
    then, I updated PHP and MySQL…
    Then I noticed that it wasn’t showing for the Members Gallery [Sub-pages]

  • Keymaster
    (BuddyDev Team)
    Posts: 24593
    Brajesh Singh on #9458

    Hi Abe,
    your configuration seems fine to me.
    I am not sure what might have caused it. Can you please provide me temporary admin access to your dev site?

    Thank you
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved