bnomei / kirby3-autoid

Automatic unique ID for Pages, Files and Structures including performant helpers to retrieve them. Bonus: Tiny-URL.
https://forum.getkirby.com/t/kirby3-autoid-plugin/23572
MIT License
80 stars 8 forks source link

Minimal SQLite library version #85

Open janherman opened 2 years ago

janherman commented 2 years ago

Hi! This is more of a question than an issue, but I was wondering if there is a minimum required version of SQLite library for Autoid to work? I have a website on shared hosting, so my options to change anything are limited. The hosting has PHP 7.4 and SQLite 3.6.20. Everything works fine up until I add Autoid to plugin folder. Depending on the Autoid version the site either breaks completely, or throws an error when saving content in the panel.

I tried it on localhost with the same version of PHP and I managed to get it working (even though not with the latest Autoid, but 2.7.7). The only difference seems to be the SQLite version, so I suspect it could be the culprit.

I would be really grateful if someone could point me in the right direction.

bnomei commented 1 year ago

autoid should have very low requirements on sqlite version. you should be fine even with older ones.

in autoid 3.8.1 in required php 8.0 as minimum requirement (by compiling it that way). maybe thats your issue. i failed to push that to the composer.json file but will do as soon as i find time.