Comments (7)
I know you stated you've tried with the develop branch, but can you open the file /includes/class/SQL.php and verify this line of code is specifying PDO::ATTR_PERSISTENT => false
(the actual line number might be slightly different depending on whether you are in sync with recent commits).
I've been testing SQLite compatibility recently and I discovered that this persistent mode causes errors whenever the schema is modified by a query.
from chyrp-lite.
I deleted all testing instances afterwards, but now I'm now running 3b136e9, in which I can still reproduce the problem. PDO::ATTR_PERSISTENT => false
is there.
I forgot to mention that all tests were done using SQLite.
from chyrp-lite.
That's an odd one. Clearly the error is being misreported because if the sessions table didn't exist the problem would occur consistently. My hunch is that this error is the result of some other intermittent connection problem PDO is having. Difficult to diagnose unless I can reproduce it. What version of PHP are you using?
from chyrp-lite.
PHP 5.6.17-3
pdo_sqlite 3.10.2
from the Debian stretch repos.
I will see how it goes using MySQL and let you know.
Edit: nothing, couldn't reproduce with MySQL.
from chyrp-lite.
Thanks for testing. I'll dedicate some more time to poking SQLite before the next release. Perhaps I can reproduce the problem.
from chyrp-lite.
I think it has to do with the DB path. I ignored the "full path" message and provided only the name because I saw that the DB was created in the root of my project anyway.
Now, if I do pass the full (writable) path, this error is gone.
It seems that 2 different locations are being referenced as the DB path. The right one, which exists and feeds most of the page, and the broken one causing the error. From what I read, SQLite creates a missing database file silently, which would explain the no such table: sessions
message.
from chyrp-lite.
That's great news. I'm glad to have the mystery solved. ^_^
from chyrp-lite.
Related Issues (20)
- Posts author HOT 1
- iframe height HOT 2
- Feature Request - Support for icon libraries HOT 8
- Cannot activate account HOT 15
- I cannot see the "likes" column in manage posts HOT 2
- nonstandard spacing around equals sign in chyrplite.net home page HOT 3
- Blog translation HOT 4
- Apache2: Content Encoding Error HOT 1
- Chyrp is Too Wide for my Screen Display HOT 3
- Plugin: Send blog entries to a PubSub nodes HOT 17
- Feature Request: Keep your name/email/website information when commenting instead of always asking HOT 2
- Serving RSS feed as text instead of attachment/download HOT 3
- Site Showing English and French (Only Set for English) HOT 6
- Feature Request: Custom slug for tags HOT 2
- Search multiple keywords results in empty HOT 6
- Feature request: keep the `Category` and `Tags` when switching between tabs when writing a blog HOT 1
- Failed to rename tag which contains Asian characters HOT 6
- Hyperlink issue HOT 2
- Call to undefined function filter_var() HOT 3
- install/upgrade.php should be deleted? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chyrp-lite.