# Missing images and fields in panel

**URL:** <https://forum.getkirby.com/t/missing-images-and-fields-in-panel/9694>\
**Category:** Questions\
**Tags:** v2\
**Created:** [February 12, 2018, 8:58pm UTC](https://forum.getkirby.com/t/missing-images-and-fields-in-panel/9694 "2018-02-12T20:58:11Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![\_gareth\_j](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/_gareth_j/32/4694_2.png) [@\_gareth\_j](https://forum.getkirby.com/u/_gareth_j)\
**Post date:** [February 12, 2018, 8:58pm UTC](https://forum.getkirby.com/t/missing-images-and-fields-in-panel/9694/1 "2018-02-12T20:58:11Z")

</div>

Hi,

I have a strange problem, where on some of pages all fields are missing, the front end shows the correct content, but the backend has different files attached and no fields. There is nothing flagged in debug, any ideas what might cause this?

---

<div class="post-metadata">

**Author:** ![jimbobrjames](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/jimbobrjames/32/5802_2.png) [@jimbobrjames](https://forum.getkirby.com/u/jimbobrjames)\
**Post date:** [February 12, 2018, 9:06pm UTC](https://forum.getkirby.com/t/missing-images-and-fields-in-panel/9694/2 "2018-02-12T21:06:56Z")

</div>

Is there anything common about the pages this happens with? Same blueprint for example?

---

<div class="post-metadata">

**Author:** ![\_gareth\_j](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/_gareth_j/32/4694_2.png) [@\_gareth\_j](https://forum.getkirby.com/u/_gareth_j)\
**Post date:** [February 12, 2018, 9:07pm UTC](https://forum.getkirby.com/t/missing-images-and-fields-in-panel/9694/3 "2018-02-12T21:07:49Z")

</div>

yes, all same blueprint, but some are ok. How does kirby associate the page to the content folder ? it looks to me like the page is not picking the correct folder.

---

<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:** [February 12, 2018, 9:15pm UTC](https://forum.getkirby.com/t/missing-images-and-fields-in-panel/9694/4 "2018-02-12T21:15:13Z")

</div>

Are there any stray text files in those folders maybe?

The missing fields sound like the Panel picks the wrong blueprint but that doesn’t really explain the wrong files…🤔

Do you happen to have the same page folders in your file systems, i.e. once with prepended number and once without for some reason?

---

<div class="post-metadata">

**Author:** ![jimbobrjames](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/jimbobrjames/32/5802_2.png) [@jimbobrjames](https://forum.getkirby.com/u/jimbobrjames)\
**Post date:** [February 12, 2018, 9:18pm UTC](https://forum.getkirby.com/t/missing-images-and-fields-in-panel/9694/5 "2018-02-12T21:18:53Z")

</div>

Log out and in again 🙂 Maybe its temporary session weirdness.

We are assuming you are working locally on a local dev server. Is that the case or is this on a live public web server?

If its local, do you have anything that might interfere with the files? Antivirus… automated backups… anything that might touch the files at the same time as kirby? I’m guessing that might upset it, but I’ve never experienced it myself.

---

<div class="post-metadata">

**Author:** ![\_gareth\_j](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/_gareth_j/32/4694_2.png) [@\_gareth\_j](https://forum.getkirby.com/u/_gareth_j)\
**Post date:** [February 12, 2018, 9:27pm UTC](https://forum.getkirby.com/t/missing-images-and-fields-in-panel/9694/6 "2018-02-12T21:27:05Z")

</div>

This is on a live staging server the client is using, I think i must have messed up moving from dev to live. There are extra folders in the content folder, i guess where the client has added content and then i have upload old content.

---

<div class="post-metadata">

**Author:** ![\_gareth\_j](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/_gareth_j/32/4694_2.png) [@\_gareth\_j](https://forum.getkirby.com/u/_gareth_j)\
**Post date:** [February 12, 2018, 9:27pm UTC](https://forum.getkirby.com/t/missing-images-and-fields-in-panel/9694/7 "2018-02-12T21:27:39Z")

</div>

> [@texnixe](#):
>
> Do you happen to have the same page folders in your file systems, i.e. once with prepended number and once without for some reason?

yes! this is exactly what i have!

---

<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:** [February 12, 2018, 9:28pm UTC](https://forum.getkirby.com/t/missing-images-and-fields-in-panel/9694/8 "2018-02-12T21:28:37Z")

</div>

Then your problem should be solved once you sort that out, I think! 🙂

---

<div class="post-metadata">

**Author:** ![jimbobrjames](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/jimbobrjames/32/5802_2.png) [@jimbobrjames](https://forum.getkirby.com/u/jimbobrjames)\
**Post date:** [February 12, 2018, 9:45pm UTC](https://forum.getkirby.com/t/missing-images-and-fields-in-panel/9694/9 "2018-02-12T21:45:29Z")

</div>

Consider using rSync to pull and push from the server, in combination with source control. That way this wont happen again 🙂

I made a bash script for this, which can be run easily from NPM scripts. See this [post](https://forum.getkirby.com/t/correctly-exclude-files-from-rsync/9307/3?u=jimbobrjames) and this [post](https://forum.getkirby.com/t/correctly-exclude-files-from-rsync/9307/4?u=jimbobrjames). It will even simulate process so you can see what will change without actually doing it. Be aware that rSync will over write files. It’s best used in conjunction with source control so can roll back if you need too.

Alternatively, consider [Kirby Autogit](https://github.com/pedroborges/kirby-autogit) plugin, which will push content from live server to a repo.

---

<div class="post-metadata">

**Author:** ![\_gareth\_j](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/_gareth_j/32/4694_2.png) [@\_gareth\_j](https://forum.getkirby.com/u/_gareth_j)\
**Post date:** [February 12, 2018, 10:21pm UTC](https://forum.getkirby.com/t/missing-images-and-fields-in-panel/9694/10 "2018-02-12T22:21:59Z")

</div>

hmm… this has not solved it. I reset the site with my localhost copy and he can break the page every time he drags files to the upload sidebar. It works fine for me.

---

<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:** [February 12, 2018, 10:34pm UTC](https://forum.getkirby.com/t/missing-images-and-fields-in-panel/9694/11 "2018-02-12T22:34:14Z")

</div>

What exactly happens when the user uploads files?

---

<div class="post-metadata">

**Author:** ![\_gareth\_j](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/_gareth_j/32/4694_2.png) [@\_gareth\_j](https://forum.getkirby.com/u/_gareth_j)\
**Post date:** [February 12, 2018, 10:35pm UTC](https://forum.getkirby.com/t/missing-images-and-fields-in-panel/9694/12 "2018-02-12T22:35:08Z")

</div>

everything right of panel sidebar disappears, image upload fine into the content folder, .txt looks good.

---

<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:** [February 12, 2018, 10:36pm UTC](https://forum.getkirby.com/t/missing-images-and-fields-in-panel/9694/13 "2018-02-12T22:36:43Z")

</div>

Any Javascript errors in the console? Anything extraordinary in the network tab?

You mean, it only happens when the user uploads images, but not if you yourself upload images to the same installation?

If that is the case, it might have to do with the users browser, maybe extensions interfering?

---

<div class="post-metadata">

**Author:** ![\_gareth\_j](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/_gareth_j/32/4694_2.png) [@\_gareth\_j](https://forum.getkirby.com/u/_gareth_j)\
**Post date:** [February 12, 2018, 10:39pm UTC](https://forum.getkirby.com/t/missing-images-and-fields-in-panel/9694/14 "2018-02-12T22:39:55Z")

</div>

no error anywhere - whats really odd is it did not happen to me, until i used the exact same image as him.

---

<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:** [February 12, 2018, 10:44pm UTC](https://forum.getkirby.com/t/missing-images-and-fields-in-panel/9694/15 "2018-02-12T22:44:05Z")

</div>

Hm, the only thing that comes close is this issue: [Invalid JPEG Marker causes Panel to crash](https://forum.getkirby.com/t/invalid-jpeg-marker-causes-panel-to-crash/9072)

But there we have at least a PHP error…

Would you mind to test if the error persists with Kirby 2.5.9 RC-1 (the version with the new SimpleImage class)?

---

<div class="post-metadata">

**Author:** ![\_gareth\_j](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/_gareth_j/32/4694_2.png) [@\_gareth\_j](https://forum.getkirby.com/u/_gareth_j)\
**Post date:** [February 12, 2018, 11:02pm UTC](https://forum.getkirby.com/t/missing-images-and-fields-in-panel/9694/16 "2018-02-12T23:02:51Z")

</div>

same problem with 2.5.9 RC1 - does sound like the invalid JPEG marker thread.

---

<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:** [February 12, 2018, 11:07pm UTC](https://forum.getkirby.com/t/missing-images-and-fields-in-panel/9694/17 "2018-02-12T23:07:13Z")

</div>

Was worth a try, maybe send the image to @lukasbestle for debugging (re. this issue in the Panel: [https://github.com/getkirby/panel/issues/1122](https://github.com/getkirby/panel/issues/1122)). Does this happen with this single image only or with multiple images?

---

<div class="post-metadata">

**Author:** ![\_gareth\_j](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/_gareth_j/32/4694_2.png) [@\_gareth\_j](https://forum.getkirby.com/u/_gareth_j)\
**Post date:** [February 12, 2018, 11:14pm UTC](https://forum.getkirby.com/t/missing-images-and-fields-in-panel/9694/18 "2018-02-12T23:14:27Z")

</div>

It’s a few images

Many thanks for the help, I will get on that issue.

---

<div class="post-metadata">

**Author:** ![distantnative](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/distantnative/32/11319_2.png) [@distantnative](https://forum.getkirby.com/u/distantnative)\
**Post date:** [February 6, 2025, 5:30pm UTC](https://forum.getkirby.com/t/missing-images-and-fields-in-panel/9694/19 "2025-02-06T17:30:04Z")

</div>

Archived on February 6, 2025, 5:30pm UTC


