Saving Failed on collection, form & singleton

Hello, I’m a total noobie when it comes to Cockpit, so this might be rookie mistake somewhere.

I’ve setup Cockpit on apache2 server (php 7.1, sqlite3). I’ve managed to install it and the setup all worked fine. But when I tried to create a collection I get a “Saving failed” error and a 404 in the console. /collections/save_collection 404 (Not Found)

On form and singleton creation I also get “saving failed” but a 200 in the console with the response “result: false”

Thanks in advanced.