Duong
Forum Replies Created
-
Forum: Plugins
In reply to: [SQLite Integration] Need respect wp-config.phpI 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.Forum: Plugins
In reply to: [SQLite Integration] Need respect wp-config.phpHello,
For the WP_PLUGIN_URL:
I use custom WP_CONTENT_URL : domain.com/content
and WP_CONTENT_DIR is /www/domain.com/contentSo 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.