Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter amart41

    (@amart41)

    Alright, so I tried a few things and still no luck. I turned the “work with CDN” setting on. I also tried disabling the WPEngine CDN, and disabling the WPEngine Caching function. Images are still not saving in the cache folder.

    Thread Starter amart41

    (@amart41)

    Oh awesome thanks man, I’ll give it a shot.

    Thread Starter amart41

    (@amart41)

    The website is Wikimotive.com, and the plugin is currently live here is the diagnostics print out:

    Web Server

    Apache
    Document Root

    /nas/wp/www/sites/wikimotive2
    PHP

    5.5.9-1ubuntu4.13
    PHP Time Limit

    3600
    PHP Memory Limit

    256M
    PHP Post Max Size

    100M
    PHP Upload Max Size

    50M
    PHP Max Input Vars

    1000
    PHP Display Errors

    No
    PHP Error Log

    /var/log/apache2/wikimotive2.error.log
    MySQL

    5.6.25-73.1-log
    MySQL Ext/mysqli

    Yes
    MySQL Table Prefix

    wp_
    MySQL DB Charset

    utf8
    WP

    4.2.5
    WP Multisite

    Yes
    WP Debug Mode

    No
    WP Site url

    http://wikimotive.com
    WP WP Home url

    http://wikimotive.com
    WP Permalinks

    /blog/%postname%/
    WP home path

    /nas/wp/www/cluster-42329/wikimotive2/
    WP content dir

    /nas/wp/www/cluster-42329/wikimotive2/wp-content
    WP plugin dir

    /nas/wp/www/cluster-42329/wikimotive2/wp-content/plugins
    WP content url

    http://wikimotive.com/wp-content
    WP plugin url

    http://wikimotive.com/wp-content/plugins
    WP Locale

    en_US
    WP Memory Limit

    64M
    WP Max Upload Size

    3.91mb
    WP Active plugins

    Contact Form by BestWebSoft v.3.94 by BestWebSoft
    WP Network active plugins

    v. by
    v. by
    v. by
    v. by
    v. by
    v. by
    v. by
    v. by
    v. by
    v. by
    v. by
    v. by
    v. by
    v. by
    v. by
    v. by
    v. by
    v. by
    v. by
    v. by
    v. by
    v. by
    v. by
    v. by
    v. by
    v. by
    v. by
    v. by
    v. by
    v. by
    v. by
    v. by
    v. by
    WP MU plugins

    WP Engine System v.2.2.7 by WP Engine
    No FSP v.0.1 by WP Engine
    Force Strong Passwords – WPE Edition v.1.6.4 by Jason Cosper
    Stop long comments v.0.0.4 by WPEngine

    Thread Starter amart41

    (@amart41)

    Sorry it’s taken so long for me to reply to this Dave, we’ve been in a holding pattern with this client and I only just had the opportunity to try this out. Unfortunately I’m still not getting a random order. I tried putting in specific id #’s rather than pulling the whole category I want but that didn’t work either. Here’s my code again:

    [mla_gallery attachment_category=home-banner-images orderby=rand mla_alt_shortcode=gallery type=default style=no-strip fx=fade slideshow_height=267 columns=3 thumb_width=75 thumb_height=75 thumbnail_size=thumbnail slide_size=thumbnail timeout=5000 speed=1000]

    Thread Starter amart41

    (@amart41)

    Awesome thanks for your help so far.

    Thread Starter amart41

    (@amart41)

    Ok so I’ve gotten some interesting results. For one I couldn’t get any debug out put with the slideshow on so I removed that. I was hopeful that removing that might fix the random problem but unfortunately it didn’t.

    Once I got the debug output it was quite long. Not sure what to make of it all but I did notice that in one of the outputs the orderby line was ORDER BY RAND() DESC.

    Is it possible that using the do_shortcode() function is having an adverse effect because that is how I’m implementing it in my theme outside of the post.

    this is my code:
    echo do_shortcode(‘[mla_gallery mla_debug=\’true\’ attachment_category=\’home-banner-images\’ type=\’default\’ style=\’no-strip\’ fx=\’fade\’ slideshow_height=\’267\’ columns=\’3\’ thumb_width=\’75\’ thumb_height=\’75\’ thumbnail_size=\’thumbnail\’ slide_size=\’thumbnail\’ timeout=\’5000\’ speed=\’1000\’ orderby=\’rand\’ ]’);

    and this is the debug output:

    mla_debug WHERE filter = ‘ AND ( wp_term_relationships.term_taxonomy_id IN (7) ) AND (wp_posts.post_mime_type LIKE \’image/%\’) AND wp_posts.post_type = \’attachment\’ AND ((wp_posts.post_status = \’inherit\’) OR (wp_posts.post_status = \’inherit\’ AND (p2.post_status = \’inherit\’)))’

    mla_debug modified WHERE filter = ‘ AND ( wp_term_relationships.term_taxonomy_id IN (7) ) AND (wp_posts.post_mime_type LIKE \’image/%\’) AND wp_posts.post_type = \’attachment\’ AND ((wp_posts.post_status = \’inherit\’) OR (wp_posts.post_status = \’inherit\’ AND (p2.post_status = \’inherit\’)))’

    mla_debug query = array ( ‘attachment_category’ => ‘home-banner-images’, ‘orderby’ => ‘rand’, ‘post_type’ => ‘attachment’, ‘post_status’ => ‘inherit’, ‘post_mime_type’ => ‘image’, ‘nopaging’ => true, ‘ignore_sticky_posts’ => true, ‘no_found_rows’ => true, )
    mla_debug request = ‘SELECT wp_posts.* FROM wp_posts INNER JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id) LEFT JOIN wp_posts AS p2 ON (wp_posts.post_parent = p2.ID) WHERE 1=1 AND ( wp_term_relationships.term_taxonomy_id IN (7) ) AND (wp_posts.post_mime_type LIKE \’image/%\’) AND wp_posts.post_type = \’attachment\’ AND ((wp_posts.post_status = \’inherit\’) OR (wp_posts.post_status = \’inherit\’ AND (p2.post_status = \’inherit\’))) GROUP BY wp_posts.ID ORDER BY RAND() DESC ‘

    mla_debug query_vars = array ( ‘attachment_category’ => ‘home-banner-images’, ‘orderby’ => ‘rand’, ‘post_type’ => ‘attachment’, ‘post_status’ => ‘inherit’, ‘post_mime_type’ => ‘image’, ‘nopaging’ => true, ‘ignore_sticky_posts’ => true, ‘no_found_rows’ => true, ‘error’ => ”, ‘m’ => 0, ‘p’ => 0, ‘post_parent’ => ”, ‘subpost’ => ”, ‘subpost_id’ => ”, ‘attachment’ => ”, ‘attachment_id’ => 0, ‘name’ => ”, ‘static’ => ”, ‘pagename’ => ”, ‘page_id’ => 0, ‘second’ => ”, ‘minute’ => ”, ‘hour’ => ”, ‘day’ => 0, ‘monthnum’ => 0, ‘year’ => 0, ‘w’ => 0, ‘category_name’ => ”, ‘tag’ => ”, ‘cat’ => ”, ‘tag_id’ => ”, ‘author_name’ => ”, ‘feed’ => ”, ‘tb’ => ”, ‘paged’ => 0, ‘comments_popup’ => ”, ‘meta_key’ => ”, ‘meta_value’ => ”, ‘preview’ => ”, ‘s’ => ”, ‘sentence’ => ”, ‘fields’ => ”, ‘menu_order’ => ”, ‘category__in’ => array ( ), ‘category__not_in’ => array ( ), ‘category__and’ => array ( ), ‘post__in’ => array ( ), ‘post__not_in’ => array ( ), ‘tag__in’ => array ( ), ‘tag__not_in’ => array ( ), ‘tag__and’ => array ( ), ‘tag_slug__in’ => array ( ), ‘tag_slug__and’ => array ( ), ‘suppress_filters’ => false, ‘cache_results’ => false, ‘update_post_term_cache’ => true, ‘update_post_meta_cache’ => true, ‘posts_per_page’ => 10, ‘comments_per_page’ => ’50’, ‘taxonomy’ => ‘attachment_category’, ‘term’ => ‘home-banner-images’, ‘order’ => ‘DESC’, )

Viewing 6 replies - 1 through 6 (of 6 total)