Comments (6)
@bnomei Could you please post this as a new issue. It's hard to keep track of closed issues and I think mixing up topics a bit. Thank you 🙏
decided to post final findings here since the issue is resolved for me now.
from kirby.
I tried a lot but cannot reproduce the issue. May be need more information about your enviorement.
from kirby.
Closing for now. Feel free post new replicate info when you find more clues 👍
from kirby.
osx 14.1.2, laravel herd, php8.2
did not verify in live production server.
i have a tab with sections of pages and if i keep clicking the tab head "articles" or if i navigate to the page it hapend seemingly at random
that the sections fail to load
the responses for repeated clicking of the tab "articles" look like this
- the current panel view get redirected to something like http://XXX.test/api/site/sections/articles_drafts?page=1
{"status":"error","message":"Unauthenticated","code":401,"exception":"Kirby\\Exception\\AuthException","key":"error.auth","file":"..\/kirby\/config\/api\/authentication.php","line":15,"details":[],"route":"site\/sections\/([a-zA-Z0-9\\.\\-_%= \\+\\@\\(\\)]+)"}
- or rarely a 30 sec php timeout even though only 2 seconds have passed.
- or a could not write to file (could not trace which file since tracing all f::writes until i could reproduce was too much for ray.app)
from kirby.
@bnomei Could you please post this as a new issue. It's hard to keep track of closed issues and I think mixing up topics a bit. Thank you 🙏
from kirby.
the sections themself are simple and each extending this one only changing the status
base
headline: Articles
type: pages
layout: list
image: false
parent: site.find('articles')
one section
articles_drafts:
label: Drafts (hidden)
extends: sections/articles
status: drafts
changing the section type from pages to files or info does not prevent the issue from appearing. nor does removing all other tabs and fields from the site blueprint fix it.
an totally empty site blueprint (yielding the info section in the panel) does successfully avoid the issue.
a single to level fields:
definition seems to avoid the issue as well.
a long time later digging code...
i think i found it. classical dev error. seems like i had a site()->index() call deep down in my code on the route:after hook with $final === true
and that applied to the multiple requests in the panel. like 5 for refreshing that one view. thus the heavy load and the php fpm stopping processes and causing errors.
from kirby.
Related Issues (20)
- When you click on an image in a structure the drawer doesn't close as expected
- When editing a block and closing the drawer by click outside drawer, the block won't focus anymore
- [4.1.0][Panel] Tab emoji icon not working
- Layout > Block with Fields Preview > Blocks produces weird styling HOT 1
- Layout > Block with Fields Preview > Blocks produces weird styling
- [Panel] - Bug with date field when included in a structure field
- Sticky <thead> bar of plug-ins-list HOT 1
- Html tags are not removed when the block type is changed. HOT 3
- Writer: non-breaking spaces cause endless "Revert" state HOT 10
- Small typo in German translation HOT 1
- Kirby 4 New Link-Field not showing all files from a page HOT 1
- Inconsistent behaviour with where clause in database when parameter is integer HOT 6
- Markdown does not allow nested list within ordered list HOT 1
- Dialogs: props not reactive
- createTable only supports a limited set of column types
- Table layout has super wide column for thumbnail and status at smaller width HOT 1
- License details table not visible in dialog
- hook 'user.changeRole:after' fails when args are named differently HOT 1
- Date/time field: unexpected results for arbitrary formats HOT 6
- Translation of custom panel menu labels
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kirby.