stokry / wp-sqlite Goto Github PK
View Code? Open in Web Editor NEWWordPress running on an SQLite database
License: Other
WordPress running on an SQLite database
License: Other
I'm receiving this warning on fresh install:
One or more tables required for WooCommerce to work are missing, some features may not work as expected. Missing tables: wp_wc_download_log.
WP: 6.0.1
WC: 6.8.2
Related: aaemnnosttv/wp-sqlite-db#10
Thank you in advance.
I upload the wp-sqlite.zip, unpack it and run the installer.
After logging in with the newly created user account, there is a message shown to update WordPress from version 5.9.3 to 6.3.1.
And shortly after that, WordPress updates itself.
At one point it shows me the message it has to update the WordPress database.
The only way to continue is to click on the button "Update WordPress database".
After clicking them, it shows me an empty message.
When I refresh the page, it shows me again the WordPress database update dialog.
Isn't this just what https://github.com/aaemnnosttv/wp-sqlite-db is (wp-content/db.php)?
I made a diff with diff -ur and saw no more differences.
Btw, you can automate this also with WP-CLI: https://github.com/DanielRuf-archive/run-local-wordpress/blob/main/run-local-wordpress-v2.sh#L39
I added the following at the end of db.php
to fix this -
$GLOBALS['wpdb']->query('PRAGMA journal_mode = wal;');
Putting the wpsqlite.db
in the root is probably a security risk.
I haven't checked what the default position is but by default it should be somewhere else where unauthorised users can't reach it like where MySQL would keep its data.
Protecting it with htaccess also means nothing as htaccess files can be replaced with malicious htaccess easily. It is very easy to hack wordpress.
Hey, great idea you had there!
However, there are lots of "deprecated" warnings on PHP8.1, it would perhaps be a good thing to adapt your code...
Keep up the good work
debug.log
.
Hello, would it be possible to implement sqlite for a roots/bedrock version of Wordpress?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.