Forum Replies Created

Viewing 15 replies - 31 through 45 (of 57 total)
  • Thread Starter SoN9ne

    (@son9ne)

    I actually do use define WPINC. The issue is: ABSPATH . WPINC. I would have to add traversing to the constant which is not ideal, especially since I lock down open_basedir. I think I may have a solution to work for this. Thanks for the feedback.

    Thread Starter SoN9ne

    (@son9ne)

    I am not talking about CDN functionality, I am referring to Origin Push. Given this is a part of W3TC, I do believe this should be supported.

    This requires Access Keys which is considered bad practice. How about you allow these to be empty so that we can use roles, as this is best practices.

    • This reply was modified 6 years, 6 months ago by SoN9ne.
    Thread Starter SoN9ne

    (@son9ne)

    Ok, this actually is a caching issue… hmm, that is a big issue and I may have to remove this plugin then…

    Your question is a bit confusing.. you say replication is not working. This is clearly stated on the plugin page… Please understand what you are installing.

    HyperDB does not provide replication services. That is done by configuring MySQL servers for replication. HyperDB can then be configured to use these servers appropriately, e.g. by connecting to master servers to perform write queries.

    If the issue is with Replication, your RDS may be misconfigured.

    Now if you are saying your site is not connecting to the READER, then try raising the value of the timeout. I raised mine to be 0.3

    • This reply was modified 6 years, 7 months ago by SoN9ne.
    Forum: Reviews
    In reply to: [HyperDB] Useless plugin.

    Title should be: Useless Review

    Clearly you did not “followed all the steps mentioned in the installation”. This plugin does not activate. It’s a config and you drop a file in place. How about you try again and give a review that shows you can read. Your review deserves 0 stars…

    From their readme (which you clearly never read)

    
    == Installation ==
    
    Nothing goes in the plugins directory.
    
    1. Enter a configuration in <code>db-config.php</code>.
    
    2. Deploy <code>db-config.php</code> in the directory that holds <code>wp-config.php</code>. This may be the WordPress root or one level above. It may also be anywhere else the web server can see it; in this case, define <code>DB_CONFIG_FILE</code> in <code>wp-config.php</code>.
    
    3. Deploy <code>db.php</code> to the <code>/wp-content/</code> directory. Simply placing this file activates it. To deactivate it, move it from that location or move the config file.
    
    Any value of <code>WP_USE_MULTIPLE_DB</code> will be ignored by HyperDB.
    
    • This reply was modified 6 years, 7 months ago by SoN9ne.
    • This reply was modified 6 years, 7 months ago by SoN9ne.

    To fix this, use the http_request_args filter. What you want to do is force sslverify to false.

    In my class, I use this:

    
    add_filter('http_request_args', array($this, 'curlArgs'));
    

    Then you can see the method here.

    
        public function curlArgs($r, $url) {
            $r['sslverify'] = false;
            return $r;
        }
    

    WordPress uses the WP_Http object for requests so you just want to override the SSL Check since you know this is safe (as it’s your local dev) I have the same issues and this solved it.

    Thread Starter SoN9ne

    (@son9ne)

    If you do want to associate to someone but cannot use the drop down,you can use javascript to select for you:
    jQuery("select[name='user_map[0]']").val(1); // Where 1 is the user ID I want to associate

    • This reply was modified 6 years, 10 months ago by SoN9ne.
    • This reply was modified 6 years, 10 months ago by SoN9ne.
    Forum: Plugins
    In reply to: [WP Encrypt] error

    Thanks!

    • This reply was modified 7 years, 2 months ago by SoN9ne.

    I’m glad I read this post. It is not clear that this plugin is using a third-party service. I would expect this to connect directly to Facebook or any other social network. It is not obvious that this this was using a third-party service for this to work. I do not want to use a third-party service. I want to connect directly to the social network. This post prevented me from making a serious mistake. Thanks to the OP for this ticket. I stand by the 1 star rating due to it not being clear what this plugin is.

    WordPress should make SaaS solutions more obvious. This is the biggest issue with plugins today.

    • This reply was modified 7 years, 2 months ago by SoN9ne.

    Out of sync again. Could you please update github? I’d like to help with development.

    Thread Starter SoN9ne

    (@son9ne)

    When I attempted to activate it again, it seems to work the second time. Very strange. Not sure how comfortable I am with it in this state.

    Thread Starter SoN9ne

    (@son9ne)

    This is on a vanilla WordPress with only WooCommerce installed. Default themes.

    Thread Starter SoN9ne

    (@son9ne)

    It should also be noted, you should add an ajax loader image. It’s impossible to tell if the click did anything.

    I also fixed your query in convert.php.

    
            $fulltextIndex = $wpdb->get_results("SELECT
    			table_schema,
    			table_name
    			FROM information_schema.statistics
    			WHERE index_type = 'FULLTEXT'
    			AND table_name = ".'$row->table_name');
    

    Should be:

    
            $fulltextIndex = $wpdb->get_results(
                    $wpdb->prepare("SELECT
    			table_schema,
    			table_name
    			FROM information_schema.statistics
    			WHERE index_type = 'FULLTEXT'
    			AND table_name = %s",
                $row->table_name
                )
            );
    

    Otherwise '$row->table_name' will always be literally '$row->table_name' not the table name.

    • This reply was modified 8 years ago by SoN9ne.

    I can confirm this. Visual or text tabs do not toggle due to this plugin

    Thanks!

    You can turn off debug or you can force the function to return false. I prefer the latter as it still allows you to have the debug on when in Dev.

Viewing 15 replies - 31 through 45 (of 57 total)