• Resolved markc369

    (@markc369)


    Like others, I am getting the errors about not being able to load pages both from the database tab and the toolbox tab of the plugin.

    Example: From Database tab – Select “Expired Transients” Result = “Cannot load litespeed-db_optm.”

    But on refresh, the action seems to have taken place and they are removed – if that helps.

    From toolbox tab – Select “Purge Front Page” Result = “Cannot load litespeed-toolbox.”

    This is the same for everything in these sections.

    I did follow the instructions about disabling everything, but the result was the same.

    I see three litespeed tables in the database:
    wp_litespeed_avatar
    wp_litespeed_url
    wp_litespeed_url_file

    I followed instructions to see if the caching is working and I am getting “hit” not “miss” on the pages so that sees to be fine.

    Checking in cPanel LiteSpeed Web Cache Manager is showing as enabled.

    I did uninstall and reinstall the plugin to see if it would reset anything – but same issues.

    And nothing is broken on the website – which is a relief.

    If you need any further info, then just let me know and I will try to help.

    Thanks.

    The page I need help with: [log in to see the link]

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

    (@qtwrk)

    if you hover the mouse on that button , and wait for the full link shows up as my screenshot , please share that link

    Thread Starter markc369

    (@markc369)

    Thanks for getting back to me.

    Here is the link for the Purge Front Page Button (When I hover over it).

    https://www.cafedelmarydelsol.com/wp-admin/admin.php?page=litespeed-toolbox&post_type=post&LSCWP_CTRL=purge&LSCWP_NONCE=7a20bca604&litespeed_type=purge_frontpage

    The result of clicking on the button is:

    Cannot load litespeed-toolbox.

    When I compare the sample that you sent and my own, I do note that there is an extra query string “post_type=post” which is not in yours – could this be relevant?

    Thank you.

    Plugin Support qtwrk

    (@qtwrk)

    yes , that is the cause

    something (other plugin) added that query string to the URI and it breaks our page

    Thread Starter markc369

    (@markc369)

    Thanks for getting back to me and for letting me know that this is the problem.

    It seems to be being added by the actual them that I am using, rather than another plugin, so I have contacted their support to see what they say.

    If this is something that they cannot / will not change, is there a fix that you might be able to recommend?

    Thanks again for all your help.

    Mark.

    Plugin Support qtwrk

    (@qtwrk)

    
    if (strpos($_SERVER['REQUEST_URI'], "post_type=post") !== false){
        if ( strpos($_SERVER['REQUEST_URI'], "wp-admin/admin.php?page=litespeed") !== false) {
        $tmp = $_SERVER['REQUEST_URI'];
        $tmp = str_replace("post_type=post", "", $tmp);
        echo "<script>location.replace(\"$tmp\");</script>";
        exit();
    }
    }

    add this at top of your wp-config.php , take it as last resort to workaround it …

    Thread Starter markc369

    (@markc369)

    Thank you for getting back to me.

    I will continue to see if the theme provider can provide a fix, but if not, then I will consider your suggested fix.

    Or I might have to opt for another plugin – don’t really want to waste more time. ??

    Many thanks and really appreciate your help.

    Mark.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Cannot load litespeed-toolbox.’ is closed to new replies.