Hello, I am not sure if this is just a bug or another problem. But on one page in my panel I am not able to add any text or file. It get immediately deleted as soon as I am trying to add content.
Here is a video of my problem:
Hello, I am not sure if this is just a bug or another problem. But on one page in my panel I am not able to add any text or file. It get immediately deleted as soon as I am trying to add content.
Here is a video of my problem:
Could you post the blueprint please?
My blueprint looks like this:
title: Press
status:
draft: true
listed: true
options:
url: true
columns:
- width: 1/2
sections:
files:
headline: Files
type: files
layout: list
- width: 1/2
fields:
metadescription:
label: meta description
type: textarea
Thanks, that looks good. Are you using any Panel plugins or custom Panel code anywhere? Anything special in your config? You say all other pages work fine, do you have any other pages with this particular blueprint?
I think nothing special, no plugins or custom code. My config is also simple. It looks like this:
<?php
return [
'panel' => [
'install' => true,
'slug' => 'secretname'
]
];
My other blueprints are kind of similiar, but not identical
Have you tried to delete the page and recreate it again via the Panel? Do you get any errors in the browser console?
Oh just saw that there was an invisible file in the content folder of this page called “.lock” … you know how this was created?
Yes, please remove that file and check if it works then. Kirby creates these files to lock a page when you start editing, so that other editors can’t edit the page at the same time. Looks like something has gone wrong and the .lock
file wasn’t deleted. If you don’t need the content locking feature, you can disable it in your config.
Nice. Yes, I deleted it and its working now. Good to know that this exists. Thanks for your help
Could you please tell me which Kirby version you are currently using? I’m about to create a bug issue but would need some more information.