Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter maxkardanets

    (@maxkardanets)

    Hi Mikko,

    Yes, the problem was with the database user who didn’t have permission to create tables.

    Thanks for the solution.

    Thread Starter maxkardanets

    (@maxkardanets)

    Hi Mikko,

    Thanks for the answer.

    I added the following code:

    function test_relevanssi_log($restriction) {
    	error_log('==='. PHP_EOL . $restriction['mysql'] . PHP_EOL, 3, $_SERVER['DOCUMENT_ROOT'] .'/relevanssi_log.txt');
      return $restriction;
    }
    add_filter('relevanssi_indexing_restriction', 'test_relevanssi_log');

    And this is what I got:

    ===
    
    ===
    
    ===
    
    ===
    
    ===
    
    ===
    
    ===
    
    ===
    
    ===
    
    ===
     AND post.post_type IN ('post', 'page', 'attraction-guideline', 'user-manual', 'products', 'general', 'teams', 'wfm', 'development', 'guest-guidelines', 'partner-guidelines', 'senior-guidelines', 'guest-manual', 'partner-manual') 
    ===
    
    ===
     AND post.post_type IN ('post', 'page', 'attraction-guideline', 'user-manual', 'products', 'general', 'teams', 'wfm', 'development', 'guest-guidelines', 'partner-guidelines', 'senior-guidelines', 'guest-manual', 'partner-manual') 
    ===
    
    ===
    
    ===
    
    ===
    
    ===
    
    ===
    
    ===
    
    ===
    
    ===
    
    ===

    Plugin indexing settings page in admin panel: https://prnt.sc/1kma146

    Thread Starter maxkardanets

    (@maxkardanets)

    Hi Adam,

    Thanks for the answer.

    Yes, by “timeout” I mean links that are marked by the plugin as “Timeout” in the “Broken” section.

    Our site uses a proxy (WP_PROXY_* constants with proxy credentials).

    The plugin works well for external links (many links with “200 OK” status), which means that the plugin has access to the global internet.
    But the plugin marks all internal links as “Timeout”.

    I wrote a simple CURL script to make sure that the problem is not on a server-side php-curl and everything is really OK with it (custom CURL script returns content instantly with no timeout).

    Check log (“Timeout” status for 100% of internal links):

    Log: Operation timed out after 30001 milliseconds with 0 out of 0 bytes received [Error #28]
    === (No response) ===
    
    Response headers
    ================
    Request headers
    ================
    CONNECT <<<My Site>>>:443 HTTP/1.1
    Host: <<<My Site>>>:443
    Proxy-Authorization: Basic Og==
    User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36
    Proxy-Connection: Keep-Alive
    Connection: close
    
    (Most likely the connection timed out or the domain doesn't exist.)
    Link is broken.

    I have extensive skills in PHP and WP, maybe you can advise additional options for solving this problem?

    Thank you.

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