• Resolved aeternal

    (@aeternal)


    So I’ve seen a couple of other posts in this forum with users noting that the Crawler Watch Status shows a year of 1970. The recommendation was to clear the wp-content/litespeed/crawler directory of all files and run a manual crawl. I’ve done this and also set the duration to a short time of 100 seconds. This is what the status says.

    Start watching…
    31 Dec 1969 19:00:00 Size: 6707 Crawler: #1 Position: 1 Threads: 0 Status: crawling, prepare running

    Any help would be appreciated. Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    what does it show if you click the manual button twice or thrice after page refreshed ?

    and please provide the report number , you can get it in toolbox -> report -> click “send to LiteSpeed”

    Best regards,

    Thread Starter aeternal

    (@aeternal)

    Report # is QQNQXVCB. When clicking the manual button 2 to 3 times the Watch Status date remains the same. If I delete the meta files and hit the manual button those files aren’t regenerated. Seems to only create the files when the crawler is scheduled to run.

    Plugin Support qtwrk

    (@qtwrk)

    please try , set “crawler interval” from 302400 to shorter time , like 61 or 121

    then wait for 5 minutes , and hit manual button 2/3 times , see how it goes

    Thread Starter aeternal

    (@aeternal)

    I tried your suggestion and the results remain the same. I even took out the custom sitemap URL and deactivated and reactivated the plugin. I will say that on occasion when I hit the manual button I get a critical error message. Refreshing the page however does reload just fine. The error log shows this message “PHP Fatal error: Uncaught Error: Undefined constant “LiteSpeed\CURLOPT_RETURNTRANSFER” in in /public_html/wp-content/plugins/litespeed-cache/src/crawler.cls.php:673. Do you think I might need to verify or install particular PHP extension?

    Plugin Support qtwrk

    (@qtwrk)

    emmmm? no , I don’t think so

    curl is very-widely used extension , and should you have it already , otherwise I suspect you won’t even be able to install wordpress without it

    may I know what is your PHP version ?

    and if you create a php file with code:

    <?php
    $ch = curl_init();
    $options = array(
      CURLOPT_URL => $_SERVER['HTTP_HOST'] ,
      CURLOPT_RETURNTRANSFER => true,
      CURLOPT_HEADER => false,
      CURLOPT_CUSTOMREQUEST => 'GET',
      CURLOPT_FOLLOWLOCATION => true,
      CURLOPT_ENCODING => 'gzip',
      CURLOPT_NOBODY => false,
    );
    curl_setopt_array( $ch, $options );
    $result = curl_exec( $ch );
    var_dump($result);
    curl_close($ch);

    then access it by browser, does it generate any error log ?

    Best regards,

    Thread Starter aeternal

    (@aeternal)

    Currently running PHP 8. I tried 7.4 as well and still no luck. Accessing that file in browser generated a 500 error code. When I checked the log file this is what was said.

    [23-Oct-2021 01:25:44 UTC] PHP Fatal error: Uncaught Error: Call to undefined function curl_init() in /public_html/phptester.php:2
    Stack trace:
    #0 {main}
    thrown in /public_html/phptester.php on line 2

    I really appreciate the help. This is actually a client’s site of mine so I wouldn’t feel comfortable generating any log in information. Plugin works great otherwise and I would love to have the crawler working but if it can’t be resolved through troubleshooting perhaps it might work later down the road with an update.

    Plugin Support qtwrk

    (@qtwrk)

    hmmmm???

    that error looks like you don’t have curl extension ? is that even possible ?

    please try verify it with phpinfo page…

    Thread Starter aeternal

    (@aeternal)

    Wow… I wouldn’t have thought it possible either. Easy Apache says that it was installed but when I checked the phpinfo file you’re right it wasn’t there. So I reinstalled, and now have the correct date. Something must’ve been corrupted I guess. Thanks so much for help!! The crawler is working great now ??

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Crawler Status Shows 1969 Year, no pages crawled’ is closed to new replies.