based on this guide Content from a database | Kirby CMS i try to store content in a database. I’ve used exactly the example from the guide, but I’m unable to create new entries via panel, no matter if mySQL or SQLite.
Editing and delelting works as expected.
Can someone point me to the right direction?
Thanks in advance
Chris
Hi Christian, hm, I wonder if the data types are correct? Do you get any specific errors? Might make sense to try and print the last error. At least that’s the common reason why it fails.
I just set up a test with a fresh Starterkit and inserting works for me without any issues (but I run into issues when trying to change the slug). Well, I know this sort of answer doesn’t help you at all…
Do you use Ray (then you could install the plugin)? Or xDebug? Or try to log using error_log(), then check your PHP error log
Hi Sonja,
the error_log doesn’t show an error. I really do not know where to look anymore.
I’ve downloaded a fresh starterkit and used the db columns you mentioned above. The behavior ist the same. Deleting and editing works, creating new entries fails.
My test environment is a laravel valet (with nginx) on a mac. Did you test with Mysql or SQLite? I’ve tried both and none of them is working.
Maybe you could send me a mysql-dump or a sqlite-file of your test? It can actually only be a database issue.