# Content in Panel (randomly) not saving; user logged out or cannot log out without refreshing

**URL:** <https://forum.getkirby.com/t/content-in-panel-randomly-not-saving-user-logged-out-or-cannot-log-out-without-refreshing/13577>\
**Category:** Questions\
**Tags:** v3\
**Created:** [March 28, 2019, 2:56pm UTC](https://forum.getkirby.com/t/content-in-panel-randomly-not-saving-user-logged-out-or-cannot-log-out-without-refreshing/13577 "2019-03-28T14:56:07Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Oli1](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/oli1/32/14419_2.png) [@Oli1](https://forum.getkirby.com/u/Oli1)\
**Post date:** [March 28, 2019, 2:56pm UTC](https://forum.getkirby.com/t/content-in-panel-randomly-not-saving-user-logged-out-or-cannot-log-out-without-refreshing/13577/1 "2019-03-28T14:56:07Z")

</div>

Today, I have uploaded a Kirby site to my development server. All seems to be fine expect of the siteoptions. No matter what I want to change, nothing happens … is there anything I can do against it? Is this cause it’s now online but I haven’t entered my license code yet? Or can this be anything other?

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [March 28, 2019, 3:24pm UTC](https://forum.getkirby.com/t/content-in-panel-randomly-not-saving-user-logged-out-or-cannot-log-out-without-refreshing/13577/2 "2019-03-28T15:24:03Z")

</div>

To get this right: When you save anything in a standard page via the Panel, that works fine. Only changes to site.txt are not stored? Or what do you mean when you say “siteoptions”?

---

<div class="post-metadata">

**Author:** ![Oli1](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/oli1/32/14419_2.png) [@Oli1](https://forum.getkirby.com/u/Oli1)\
**Post date:** [March 28, 2019, 3:43pm UTC](https://forum.getkirby.com/t/content-in-panel-randomly-not-saving-user-logged-out-or-cannot-log-out-without-refreshing/13577/3 "2019-03-28T15:43:53Z")

</div>

Tested also in other browser, but there I everytime get logged out when I hit refresh … in both consoles, there is this error:

`Quellübergreifende (Cross-Origin) Anfrage blockiert: Die Gleiche-Quelle-Regel verbietet das Lesen der externen Ressource auf http://localhost:3123/socket.io/?EIO=3&amp;transport=polling&amp;t=Md4xNdT. (Grund: CORS-Anschlag schlug fehl).[Weitere Informationen]`

And sometimes the siteoptions (yes, site.txt) are working, sometimes not …

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [March 28, 2019, 3:46pm UTC](https://forum.getkirby.com/t/content-in-panel-randomly-not-saving-user-logged-out-or-cannot-log-out-without-refreshing/13577/4 "2019-03-28T15:46:28Z")

</div>

Why is there a request to a localhost resource?

---

<div class="post-metadata">

**Author:** ![Oli1](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/oli1/32/14419_2.png) [@Oli1](https://forum.getkirby.com/u/Oli1)\
**Post date:** [March 28, 2019, 3:47pm UTC](https://forum.getkirby.com/t/content-in-panel-randomly-not-saving-user-logged-out-or-cannot-log-out-without-refreshing/13577/5 "2019-03-28T15:47:48Z")

</div>

I have no idea … I have seen now, that in media/plugins/ there are generated files, .index.css and .index.js

Everytime I delete they come back.

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [March 28, 2019, 3:48pm UTC](https://forum.getkirby.com/t/content-in-panel-randomly-not-saving-user-logged-out-or-cannot-log-out-without-refreshing/13577/6 "2019-03-28T15:48:41Z")

</div>

Guess you are using plugins? That would explain why you get those files.

Have you tried to delete session files from `site/sessions`?

---

<div class="post-metadata">

**Author:** ![Oli1](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/oli1/32/14419_2.png) [@Oli1](https://forum.getkirby.com/u/Oli1)\
**Post date:** [March 28, 2019, 3:53pm UTC](https://forum.getkirby.com/t/content-in-panel-randomly-not-saving-user-logged-out-or-cannot-log-out-without-refreshing/13577/7 "2019-03-28T15:53:06Z")

</div>

Yes, but I have all of them deleted … sessions also deleted

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [March 28, 2019, 3:54pm UTC](https://forum.getkirby.com/t/content-in-panel-randomly-not-saving-user-logged-out-or-cannot-log-out-without-refreshing/13577/8 "2019-03-28T15:54:51Z")

</div>

Is there anything in those index.css and index.js files or are they empty?

---

<div class="post-metadata">

**Author:** ![Oli1](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/oli1/32/14419_2.png) [@Oli1](https://forum.getkirby.com/u/Oli1)\
**Post date:** [March 28, 2019, 3:56pm UTC](https://forum.getkirby.com/t/content-in-panel-randomly-not-saving-user-logged-out-or-cannot-log-out-without-refreshing/13577/9 "2019-03-28T15:56:26Z")

</div>

Now tested and they aren’t created anymore. No matter, the Panel still doesn’t work ☹ also some files are broken and the panel shows pages, that doesn’t exist anymore as I delted them directly on the server.

 ![33](https://europe1.discourse-cdn.com/flex017/uploads/getkirby/original/2X/f/fff1f58b140dea0882330557d81ea073efcfcc40.png)

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [March 28, 2019, 3:57pm UTC](https://forum.getkirby.com/t/content-in-panel-randomly-not-saving-user-logged-out-or-cannot-log-out-without-refreshing/13577/10 "2019-03-28T15:57:05Z")

</div>

A caching problem? Have you cleared the cache directory? Maybe there’s also server-side caching active?

---

<div class="post-metadata">

**Author:** ![Oli1](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/oli1/32/14419_2.png) [@Oli1](https://forum.getkirby.com/u/Oli1)\
**Post date:** [March 28, 2019, 3:58pm UTC](https://forum.getkirby.com/t/content-in-panel-randomly-not-saving-user-logged-out-or-cannot-log-out-without-refreshing/13577/11 "2019-03-28T15:58:13Z")

</div>

How to find this out? Over php info?

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [March 28, 2019, 4:07pm UTC](https://forum.getkirby.com/t/content-in-panel-randomly-not-saving-user-logged-out-or-cannot-log-out-without-refreshing/13577/12 "2019-03-28T16:07:44Z")

</div>

Well, I’d check phpinfo yes, But it might also be something in the server settings.

But I’d still be interested to know where that [socket.io](http://socket.io) call is coming from. Is that from some sort of build process?

Can you send me a link to the site?

---

<div class="post-metadata">

**Author:** ![Oli1](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/oli1/32/14419_2.png) [@Oli1](https://forum.getkirby.com/u/Oli1)\
**Post date:** [March 28, 2019, 4:33pm UTC](https://forum.getkirby.com/t/content-in-panel-randomly-not-saving-user-logged-out-or-cannot-log-out-without-refreshing/13577/13 "2019-03-28T16:33:34Z")

</div>

Tested several scenarios, seems a bug in Kirby …

Firefox: panel has cached Version of the panel  
Chrome: panel looks weel but everytime I hit refresh I get logged out  
Edge: all working fine

No AdBlocks or similar active

Edit: [socket.io](http://socket.io) is gone since I deleted the plugins. (XML sitemap)

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [March 28, 2019, 4:41pm UTC](https://forum.getkirby.com/t/content-in-panel-randomly-not-saving-user-logged-out-or-cannot-log-out-without-refreshing/13577/14 "2019-03-28T16:41:39Z")

</div>

What version are you using?

---

<div class="post-metadata">

**Author:** ![Oli1](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/oli1/32/14419_2.png) [@Oli1](https://forum.getkirby.com/u/Oli1)\
**Post date:** [March 28, 2019, 4:41pm UTC](https://forum.getkirby.com/t/content-in-panel-randomly-not-saving-user-logged-out-or-cannot-log-out-without-refreshing/13577/15 "2019-03-28T16:41:48Z")

</div>

3.1.1 …

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [March 28, 2019, 4:42pm UTC](https://forum.getkirby.com/t/content-in-panel-randomly-not-saving-user-logged-out-or-cannot-log-out-without-refreshing/13577/16 "2019-03-28T16:42:13Z")

</div>

But everything worked fine in your local dev environment?

---

<div class="post-metadata">

**Author:** ![Oli1](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/oli1/32/14419_2.png) [@Oli1](https://forum.getkirby.com/u/Oli1)\
**Post date:** [March 28, 2019, 4:44pm UTC](https://forum.getkirby.com/t/content-in-panel-randomly-not-saving-user-logged-out-or-cannot-log-out-without-refreshing/13577/17 "2019-03-28T16:44:22Z")

</div>

Yes … but it’s default environment, working same way as WP, Joomla and more. And several K2 Instances runs also on this Server with exact the same configuration. And it’s only the panel that’s not working fine. The frontend works as expected.

Phoning also since 1 hour with my hoster and we currently can’t find a solution which is wrong. We host at Hetzner

Edit: is the panel cached completely?

Edit: it only appears in the main page of Kirby

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [March 28, 2019, 5:14pm UTC](https://forum.getkirby.com/t/content-in-panel-randomly-not-saving-user-logged-out-or-cannot-log-out-without-refreshing/13577/18 "2019-03-28T17:14:10Z")

</div>

Could you upload a fresh Starterkit and check if you get the same error? The Panel works for me both locally and on a remote server.

---

<div class="post-metadata">

**Author:** ![Oli1](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/oli1/32/14419_2.png) [@Oli1](https://forum.getkirby.com/u/Oli1)\
**Post date:** [March 28, 2019, 5:16pm UTC](https://forum.getkirby.com/t/content-in-panel-randomly-not-saving-user-logged-out-or-cannot-log-out-without-refreshing/13577/19 "2019-03-28T17:16:27Z")

</div>

Fresh Starterkit also fails … there is some kind of caching active but only for the panel, nothing else. I send you the Server Config via PM

---

<div class="post-metadata">

**Author:** ![Oli1](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/oli1/32/14419_2.png) [@Oli1](https://forum.getkirby.com/u/Oli1)\
**Post date:** [March 29, 2019, 8:24am UTC](https://forum.getkirby.com/t/content-in-panel-randomly-not-saving-user-logged-out-or-cannot-log-out-without-refreshing/13577/20 "2019-03-29T08:24:24Z")

</div>

@bastianallgeier seems like this is a really hard bug in the panel … we doesn’t know what to do, Kirby will not work on our servers!

[Next page](https://forum.getkirby.com/t/content-in-panel-randomly-not-saving-user-logged-out-or-cannot-log-out-without-refreshing/13577.md?page=2)
