Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Duong

    (@basiduong)

    I updated the plugin to latest version 1.6.

    I see a typo in utility.php line 955:
    !(defined('DISALLOW_FILE_DODS') && DISALLOW_FILE_MODS))

    About slow on comments:

    That is my mistake when configure NGINX. I had limit requests rate when post comment.

    I will follow some your suggest.
    Thanks you.

    Thread Starter Duong

    (@basiduong)

    Hello,

    For the WP_PLUGIN_URL:
    I use custom WP_CONTENT_URL : domain.com/content
    and WP_CONTENT_DIR is /www/domain.com/content

    So my WP_PLUGIN_URL will be: domain.com/content/plugins

    But your plugin still use /wp-content/plugins
    It will missing plugin JS, CSS
    http://domain.com/content/plugins/sqlite-integration/js/sqlite.min.js
    http://domain.com/content/plugins/sqlite-integration/styles/style.min.css
    I have to edit line 50 in sqlite-integration.php
    to: define('SQLiteUrl', WP_PLUGIN_URL . '/' . SQLiteDir);

    For the DISALLOW_FILE_EDIT:
    It will better security if the plugin check it “true” then not show the edit code:
    Edit Initial File (wp-content/db.php)

    For slow when posting comments:
    The respond time of wp-comments-post.php measured by Chrome Dev tool and disable all WP plugin. The ping from my location to my server is : 250ms. I use DigitalOcean hosting.

    I known sqlite slower when writing to DB file. The slow could not by your plugin, I will need more investigation.

    I have a question:
    How many times the database file is open/read (by php fopen) per request? It base on numbers of sql query ?

    Thanks for your support.

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